mem_set_vtable


Description:

[ Version ( deprecated_since = "2.46" ) ]
public void mem_set_vtable (MemVTable vtable)

Warning: mem_set_vtable is deprecated since 2.46.

This function used to let you override the memory allocation function.

Note:

This function now does nothing. Use other memory profiling tools instead

However, its use was incompatible with the use of global constructors in GLib and GIO, because those use the GLib allocators before main is reached. Therefore this function is now deprecated and is just a stub.

Parameters:

vtable

table of memory allocation routines.


Namespace: GLib
Package: glib-2.0