Rename _format to FORMAT_CHECK

This commit is contained in:
Alibek Omarov
2024-11-07 14:24:07 +03:00
parent 43609bc77c
commit d15949d2e8
15 changed files with 48 additions and 48 deletions

View File

@@ -89,10 +89,10 @@ typedef struct ui_enginefuncs_s
const char* (*pfnCmd_Args)( void );
// debug messages (in-menu shows only notify)
void (*Con_Printf)( const char *fmt, ... ) _format( 1 );
void (*Con_DPrintf)( const char *fmt, ... ) _format( 1 );
void (*Con_NPrintf)( int pos, const char *fmt, ... ) _format( 2 );
void (*Con_NXPrintf)( struct con_nprint_s *info, const char *fmt, ... ) _format( 2 );
void (*Con_Printf)( const char *fmt, ... ) FORMAT_CHECK( 1 );
void (*Con_DPrintf)( const char *fmt, ... ) FORMAT_CHECK( 1 );
void (*Con_NPrintf)( int pos, const char *fmt, ... ) FORMAT_CHECK( 2 );
void (*Con_NXPrintf)( struct con_nprint_s *info, const char *fmt, ... ) FORMAT_CHECK( 2 );
// sound handlers
void (*pfnPlayLocalSound)( const char *szSound );
@@ -118,7 +118,7 @@ typedef struct ui_enginefuncs_s
int (*CL_CreateVisibleEntity)( int type, struct cl_entity_s *ent );
// misc handlers
void (*pfnHostError)( const char *szFmt, ... ) _format( 1 );
void (*pfnHostError)( const char *szFmt, ... ) FORMAT_CHECK( 1 );
int (*pfnFileExists)( const char *filename, int gamedironly );
void (*pfnGetGameDir)( char *szGetGameDir );