Memory.memIsSystemMalloc

Checks whether the allocator used by g_malloc() is the system's malloc implementation. If it returns TRUE memory allocated with malloc() can be used interchangeable with memory allocated using g_malloc(). This function is useful for avoiding an extra copy of allocated memory returned by a non-GLib-based API. A different allocator can be set using g_mem_set_vtable().

class Memory
static
int
memIsSystemMalloc
()

Return Value

Type: int

if TRUE, malloc() and g_malloc() can be mixed.

Meta