Small chunks are allocated via walloc(),
#include "common.h"
Go to the source code of this file.
Defines | |
| #define | HFREE_NULL(p) |
Functions | |
| void * | halloc (size_t size) WARN_UNUSED_RESULT G_GNUC_MALLOC |
| void * | halloc0 (size_t size) WARN_UNUSED_RESULT G_GNUC_MALLOC |
| void | hfree (void *ptr) |
| void * | hrealloc (void *old, size_t size) WARN_UNUSED_RESULT G_GNUC_MALLOC |
| void | halloc_init (void) |
| void | hdestroy (void) |
| size_t | halloc_bytes_allocated (void) |
| size_t | halloc_chunks_allocated (void) |
|
|
Value: G_STMT_START { \
if (p) { \
hfree(p); \
p = NULL; \
} \
} G_STMT_END
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
1.3.9.1