Small stuph.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@297 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1ba53e017e
commit
5fbe74b582
31 changed files with 884 additions and 528 deletions
|
@ -107,6 +107,7 @@ int Z_Allocated(void);
|
|||
void *BZ_Malloc(int size);
|
||||
void *BZF_Malloc(int size);
|
||||
void *BZ_Realloc(void *ptr, int size);
|
||||
void *BZ_NamedRealloc(void *ptr, int size, char *, int);
|
||||
void BZ_Free(void *ptr);
|
||||
|
||||
#ifdef NAMEDMALLOCS
|
||||
|
@ -114,6 +115,8 @@ void BZ_Free(void *ptr);
|
|||
|
||||
|
||||
#define Z_Malloc(size) Z_MallocNamed(size, __FILE__, __LINE__)
|
||||
|
||||
#define BZ_Realloc(ptr, size) BZ_NamedRealloc(ptr, size, __FILE__, __LINE__)
|
||||
#endif
|
||||
|
||||
void *Hunk_Alloc (int size); // returns 0 filled memory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue