gobj_malloc_func()
#
gobj_malloc_func()
returns the current memory allocation function used by the system.
Prototype
PUBLIC sys_malloc_fn_t gobj_malloc_func(void);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
This function does not take any parameters. |
Return Value
Returns a function pointer of type sys_malloc_fn_t
, which represents the memory allocation function currently in use.
Notes
This function allows retrieval of the memory allocator function, which can be customized using gobj_set_allocators()
.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples