same as last

This commit is contained in:
Walter Julius Hennecke 2013-05-24 22:27:00 +02:00
parent 2c91fb8df7
commit 063a4cabcf
3 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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 ) {

View File

@ -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;