Skip to content

GLib.MemVTable

record (struct)

A set of functions used to perform memory allocation. The same MemVTable must be used for all allocations in the same program; a call to 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.

Properties

malloc

malloc: Any  # read/write

realloc

realloc: Any  # read/write

free

free: Any  # read/write

calloc

calloc: Any  # read/write

try_malloc

try_malloc: Any  # read/write

try_realloc

try_realloc: Any  # read/write