#include <gobjconfig.h>
Functions | |
| void* | Gj_alloc (int size) |
| Allocate a memory block. | |
| void | Gj_free (void* ptr) |
| Free a memory block allocated by Gj_alloc. More... | |
| void* | Gj_realloc (void* ptr, int size) |
| Re-allocate a memory block. | |
| char* | Gj_strdup (char* str) |
| Strdup via Gj_alloc. More... | |
| int | Gj_memory_getAllocatedBlocks () |
| Return the count of allocated blocks. More... | |
|
|
Free a memory block allocated by Gj_alloc. Null pointers as arguments are allowed. |
|
|
Strdup via Gj_alloc. Null pointers as arguments are allowed. |
|
|
Return the count of allocated blocks. Should be 0 at the beginning and at the end of the program. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000