GMemVTable

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. malloc () function to use for allocating memory. realloc () function to use for reallocating memory. free () function to use to free memory. calloc () function to use for allocating zero-filled memory. try_malloc () function to use for allocating memory without a default error handler. try_realloc () function to use for reallocating memory without a default error handler.

Members

Variables

calloc
void* function(gsize nBlocks, gsize nBlockBytes) calloc;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
free
void function(void* mem) free;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
malloc
void* function(gsize nBytes) malloc;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
realloc
void* function(void* mem, gsize nBytes) realloc;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tryMalloc
void* function(gsize nBytes) tryMalloc;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
tryRealloc
void* function(void* mem, gsize nBytes) tryRealloc;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta