gobj_get_allocators()
#
Retrieves the current memory allocation function pointers used by the system.
Prototype
void gobj_get_allocators(
sys_malloc_fn_t *malloc_func,
sys_realloc_fn_t *realloc_func,
sys_calloc_fn_t *calloc_func,
sys_free_fn_t *free_func
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
Pointer to store the current |
|
|
Pointer to store the current |
|
|
Pointer to store the current |
|
|
Pointer to store the current |
Return Value
None.
Notes
This function allows retrieving the function pointers for memory allocation routines, which can be useful for debugging or replacing the default memory management functions.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples