source-engine/utils/classcheck/classcheck_util.h

30 lines
867 B
C
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef CLASSCHECK_UTIL_H
#define CLASSCHECK_UTIL_H
#ifdef _WIN32
#pragma once
#endif
void vprint( int depth, const char *fmt, ... );
void CC_UngetToken( void );
char *CC_ParseToken(char *data);
char *CC_DiscardUntilMatchingCharIncludingNesting( char *input, const char *pairing );
char *CC_RawParseChar( char *input, const char *ch, char *breakchar );
char *CC_ParseUntilEndOfLine( char *input );
extern char com_token[1024];
extern bool com_ignoreinlinecomment;
extern int linesprocessed;
unsigned char *COM_LoadFile( const char *name, int *len);
void COM_FreeFile( unsigned char *buffer );
bool COM_DirectoryExists( const char *dir );
#endif // CLASSCHECK_UTIL_H