mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 07:11:34 +00:00
same as last
This commit is contained in:
parent
2c91fb8df7
commit
063a4cabcf
3 changed files with 4 additions and 4 deletions
|
@ -793,7 +793,7 @@ void G_SpawnEntitiesFromString( void );
|
|||
* \param string String to copy.
|
||||
* \return Copy of the string.
|
||||
*/
|
||||
char* G_NewString( const char* string );
|
||||
/*@shared@*/ /*@null@*/ char* G_NewString( /*@null@*/ const char* string );
|
||||
|
||||
//
|
||||
// g_cmds.c
|
||||
|
@ -2237,7 +2237,7 @@ void ThrowWeapon( gentity_t* ent, char* txt );
|
|||
*
|
||||
* \param size Amount of memory to allocate.
|
||||
*/
|
||||
void* G_Alloc( int size );
|
||||
/*@shared@*/ /*@null@*/ void* G_Alloc( int size );
|
||||
|
||||
/**
|
||||
* Init memory pool.
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
static char memoryPool[POOLSIZE];
|
||||
static int allocPoint;
|
||||
|
||||
/*@shared@*/ /*@null@*/ void *G_Alloc( int size ) {
|
||||
void *G_Alloc( int size ) {
|
||||
char *p;
|
||||
|
||||
if ( g_debugAlloc.integer ) {
|
||||
|
|
|
@ -512,7 +512,7 @@ Builds a copy of the string, translating \n to real linefeeds
|
|||
so message texts can be multi-line
|
||||
=============
|
||||
*/
|
||||
/*@shared@*/ /*@null@*/ char *G_NewString( /*@null@*/ const char *string ) {
|
||||
char *G_NewString( const char *string ) {
|
||||
char *newb, *new_p;
|
||||
int i,l;
|
||||
|
||||
|
|
Loading…
Reference in a new issue