|
CAEN Utility
2.0.2
Utilities for CAEN projects
|
Go to the source code of this file.
Macros | |
| #define | c_allocator_freeall_and_return(A, R) (c_allocator_freeall(A), R) |
Functions | |
| 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) |
| 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) |