Go to the source code of this file.
|
| c_allocator_t | c_allocator_create () |
| |
| void * | c_allocator_resource_create (c_allocator_t *allocator, c_resource_destroy_function df, void *resource) |
| |
| void * | c_allocator_malloc (c_allocator_t *allocator, size_t size) |
| |
| void * | c_allocator_calloc (c_allocator_t *allocator, size_t nmemb, size_t size) |
| |
| int32_t | c_allocator_error_count (const c_allocator_t *allocator) |
| |
| static int | _resource_comparator (const void *r, const void *d) |
| |
| static void | _allocator_release_or_destroy (c_allocator_t *allocator, void *ptr, bool destroy) |
| |
| void | c_allocator_release (c_allocator_t *allocator, void *ptr) |
| |
| void | c_allocator_clear (c_allocator_t *allocator) |
| |
| void | c_allocator_free (c_allocator_t *allocator, void *ptr) |
| |
| void | c_allocator_freeall (c_allocator_t *allocator) |
| |
◆ _resource_comparator()
| static int _resource_comparator |
( |
const void * |
r, |
|
|
const void * |
d |
|
) |
| |
|
static |
◆ _allocator_release_or_destroy()
| static void _allocator_release_or_destroy |
( |
c_allocator_t * |
allocator, |
|
|
void * |
ptr, |
|
|
bool |
destroy |
|
) |
| |
|
static |