mirror of https://github.com/UberGames/rpgxEF.git
same as last
This commit is contained in:
parent
2c91fb8df7
commit
063a4cabcf
|
@ -793,7 +793,7 @@ void G_SpawnEntitiesFromString( void );
|
||||||
* \param string String to copy.
|
* \param string String to copy.
|
||||||
* \return Copy of the string.
|
* \return Copy of the string.
|
||||||
*/
|
*/
|
||||||
char* G_NewString( const char* string );
|
/*@shared@*/ /*@null@*/ char* G_NewString( /*@null@*/ const char* string );
|
||||||
|
|
||||||
//
|
//
|
||||||
// g_cmds.c
|
// g_cmds.c
|
||||||
|
@ -2237,7 +2237,7 @@ void ThrowWeapon( gentity_t* ent, char* txt );
|
||||||
*
|
*
|
||||||
* \param size Amount of memory to allocate.
|
* \param size Amount of memory to allocate.
|
||||||
*/
|
*/
|
||||||
void* G_Alloc( int size );
|
/*@shared@*/ /*@null@*/ void* G_Alloc( int size );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Init memory pool.
|
* Init memory pool.
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
static char memoryPool[POOLSIZE];
|
static char memoryPool[POOLSIZE];
|
||||||
static int allocPoint;
|
static int allocPoint;
|
||||||
|
|
||||||
/*@shared@*/ /*@null@*/ void *G_Alloc( int size ) {
|
void *G_Alloc( int size ) {
|
||||||
char *p;
|
char *p;
|
||||||
|
|
||||||
if ( g_debugAlloc.integer ) {
|
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
|
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;
|
char *newb, *new_p;
|
||||||
int i,l;
|
int i,l;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue