Browse Source

public: declare unsafe ParseFile as ParseFileLegacy

pull/2/head
Alibek Omarov 3 years ago committed by a1batross
parent
commit
cce7c7d782
  1. 4
      public/crtlib.h

4
public/crtlib.h

@ -96,8 +96,8 @@ void COM_Hex2String( uint8_t hex, char *str ); @@ -96,8 +96,8 @@ void COM_Hex2String( uint8_t hex, char *str );
#define COM_CheckString( string ) ( ( !string || !*string ) ? 0 : 1 )
#define COM_CheckStringEmpty( string ) ( ( !*string ) ? 0 : 1 )
const char *_COM_ParseFileSafe( const char *data, char *token, const int size, unsigned int flags, int *len );
#define COM_ParseFileSafe( data, token, size ) _COM_ParseFileSafe( data, token, size, 0, NULL )
#define COM_ParseFile( data, token ) COM_ParseFileSafe( data, token, -1 )
#define COM_ParseFile( data, token, size ) _COM_ParseFileSafe( data, token, size, 0, NULL )
#define COM_ParseFileLegacy( data, token ) COM_ParseFileSafe( data, token, INT_MAX )
int matchpattern( const char *in, const char *pattern, qboolean caseinsensitive );
int matchpattern_with_separator( const char *in, const char *pattern, qboolean caseinsensitive, const char *separators, qboolean wildcard_least_one );

Loading…
Cancel
Save