mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
public: minor refactoring, mark some more functions as returns_nonnull
This commit is contained in:
@@ -111,13 +111,13 @@ int Q_snprintf( char *buffer, size_t buffersize, const char *format, ... ) FORMA
|
||||
#define Q_strpbrk strpbrk
|
||||
void COM_StripColors( const char *in, char *out );
|
||||
#define Q_memprint( val ) Q_pretifymem( val, 2 )
|
||||
char *Q_pretifymem( float value, int digitsafterdecimal );
|
||||
char *Q_pretifymem( float value, int digitsafterdecimal ) RETURNS_NONNULL;
|
||||
void COM_FileBase( const char *in, char *out, size_t size );
|
||||
const char *COM_FileExtension( const char *in ) RETURNS_NONNULL;
|
||||
void COM_DefaultExtension( char *path, const char *extension, size_t size );
|
||||
void COM_ReplaceExtension( char *path, const char *extension, size_t size );
|
||||
void COM_ExtractFilePath( const char *path, char *dest );
|
||||
const char *COM_FileWithoutPath( const char *in );
|
||||
const char *COM_FileWithoutPath( const char *in ) RETURNS_NONNULL;
|
||||
void COM_StripExtension( char *path );
|
||||
void COM_RemoveLineFeed( char *str, size_t bufsize );
|
||||
void COM_PathSlashFix( char *path );
|
||||
|
||||
Reference in New Issue
Block a user