- calloc
void* function(size_t nBlocks, size_t nBlockBytes) calloc;
- free
void function(void* mem) free;
- malloc
void* function(size_t nBytes) malloc;
- realloc
void* function(void* mem, size_t nBytes) realloc;
- tryMalloc
void* function(size_t nBytes) tryMalloc;
- tryRealloc
void* function(void* mem, size_t nBytes) tryRealloc;
A set of functions used to perform memory allocation. The same GMemVTable must be used for all allocations in the same program; a call to g_mem_set_vtable(), if it exists, should be prior to any use of GLib.
This functions related to this has been deprecated in 2.46, and no longer work.