Helium
|
Customisation of allocators if desired. More...
#include "he.h"
Go to the source code of this file.
Functions | |
he_return_code_t | he_set_allocators (he_malloc_t malloc, he_calloc_t calloc, he_realloc_t realloc, he_free_t free) |
Set allocators for use by libhelium. More... | |
void * | he_internal_malloc (size_t size) |
void * | he_internal_calloc (size_t nmemb, size_t size) |
void * | he_internal_realloc (void *ptr, size_t size) |
void | he_internal_free (void *ptr) |
Customisation of allocators if desired.
he_return_code_t he_set_allocators | ( | he_malloc_t | malloc, |
he_calloc_t | calloc, | ||
he_realloc_t | realloc, | ||
he_free_t | free | ||
) |
Set allocators for use by libhelium.
malloc | A function that conforms to the signature of malloc(3) |
calloc | A function that conforms to the signature of calloc(3) |
realloc | A function that conforms to the signature of realloc(3) |
free | A function that conforms to the signature of free(3) |