Go to the source code of this file.
Defines | |
| #define | gi_free(ptr) free(ptr) |
Functions | |
| EXTERN_C_BEGIN LIBGIFT_EXPORT void * | gi_malloc (size_t size) |
| LIBGIFT_EXPORT void * | gi_calloc (size_t nmemb, size_t size) |
| LIBGIFT_EXPORT void * | gi_realloc (void *ptr, size_t size) |
This system is mostly used to produce visual warnings when something goes awry. The caller should still be expected to handle failures gracefully.
|
|
Dummy wrapper for free for symmetry. |
|
||||||||||||
|
Wrapper for calloc which produces warnings when nmemb=0 or size=0. |
|
|
Wrapper for malloc which produces warnings when size=0 and when the allocation fails. |
|
||||||||||||
|
Wrapper for realloc with similar consequences as gi_malloc. |
1.3.7