#include <stdlib.h>
Go to the source code of this file.
|
void | lrtr_set_alloc_functions (void *(*malloc_function)(size_t size), void *(*realloc_function)(void *ptr, size_t size), void(*free_function)(void *ptr)) |
| Sets custom malloc, realloc and free function that is used throughout rtrlib.
|
|
◆ lrtr_set_alloc_functions()
void lrtr_set_alloc_functions |
( |
void *(*)(size_t size) |
malloc_function, |
|
|
void *(*)(void *ptr, size_t size) |
realloc_function, |
|
|
void(*)(void *ptr) |
free_function |
|
) |
| |
Sets custom malloc, realloc and free function that is used throughout rtrlib.
- Parameters
-
[in] | Pointer | to malloc function |
[in] | Pointer | to realloc function |
[in] | Pointer | to free function |