GLib.mem_set_vtable
Description: Reference for GLib.mem_set_vtable

### Function

# GLibmem_set_vtable

deprecated: 2.46

#### Declaration [src]

    void
    g_mem_set_vtable (
      GMemVTable* vtable
    )

#### Description [src]

This function used to let you override the memory allocation function. 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.

Deprecated since: 2.46

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

#### Parameters

`vtable`

  Type: `GMemVTable`

  Table of memory allocation routines.

  The data is owned by the caller of the function.