typedef typedefG_BEGIN_DECLS struct _GMemVTable | GMemVTable |
IMPORT_C void | g_free | ( | gpointer | mem | ) |
IMPORT_C void | g_mem_set_vtable | ( | GMemVTable * | vtable | ) |
IMPORT_C gboolean | g_mem_is_system_malloc | ( | void | ) |
g_mem_is_system_malloc
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().
Return value: if TRUE, malloc() and g_malloc() can be mixed.
IMPORT_C gboolean * | _g_mem_gc_friendly | ( | void | ) |
GLIB_VAR gboolean | g_mem_gc_friendly |
IMPORT_C GMemVTable ** | _glib_mem_profiler_table | ( | void | ) |
GLIB_VAR GMemVTable * | glib_mem_profiler_table |
IMPORT_C void | g_mem_profile | ( | void | ) |
typedef struct _GAllocator | GAllocator |
typedef struct _GMemChunk | GMemChunk |
IMPORT_C void | g_mem_chunk_destroy | ( | GMemChunk * | mem_chunk | ) |
IMPORT_C void | g_mem_chunk_clean | ( | GMemChunk * | mem_chunk | ) |
IMPORT_C void | g_mem_chunk_reset | ( | GMemChunk * | mem_chunk | ) |
IMPORT_C void | g_mem_chunk_print | ( | GMemChunk * | mem_chunk | ) |
IMPORT_C void | g_mem_chunk_info | ( | void | ) |
IMPORT_C void | g_blow_chunks | ( | void | ) |
IMPORT_C GAllocator * | g_allocator_new | ( | const gchar * | name, |
guint | n_preallocs | |||
) |