GLib.MemVTable¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
calloc |
r |
function to use for allocating zero-filled memory. |
|
free |
r |
function to use to free memory. |
|
malloc |
r |
function to use for allocating memory. |
|
realloc |
r |
function to use for reallocating memory. |
|
try_malloc |
r |
function to use for allocating memory without a default error handler. |
|
try_realloc |
r |
function to use for reallocating memory without a default error handler. |
Methods¶
None
Details¶
- class GLib.MemVTable¶
A set of functions used to perform memory allocation. The same
GLib.MemVTable
must be used for all allocations in the same program; a call toGLib.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.