mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
public: reimplement COM_TrimSpace, add it to crtlib, add tests for it
This commit is contained in:
@@ -103,6 +103,7 @@ const char *COM_FileWithoutPath( const char *in );
|
||||
void COM_StripExtension( char *path );
|
||||
void COM_RemoveLineFeed( char *str, size_t bufsize );
|
||||
void COM_PathSlashFix( char *path );
|
||||
void COM_TrimSpace( char *dst, const char *src, size_t size );
|
||||
|
||||
// returns true on empty or NULL string, false otherwise
|
||||
#define COM_StringEmpty( string ) (( string )[0] ? false : true )
|
||||
|
||||
Reference in New Issue
Block a user