Go to the documentation of this file.
19 #ifndef _PICASSO_BACKPORT_H_
20 #define _PICASSO_BACKPORT_H_
44 typedef void* (*ps_malloc_func)(
size_t size);
58 typedef void* (*ps_calloc_func)(
size_t num,
size_t size);
void *(* ps_malloc_func)(size_t size)
Memory allocation function pointer type.
void *(* ps_calloc_func)(size_t num, size_t size)
Memory calloc function pointer type.
int32_t ps_bool
boolean type
struct _ps_memory_funcs ps_memory_funcs
Memory allocator functions structure.
void(* ps_free_func)(void *ptr)
Memory free function pointer type.
Memory allocator functions structure.
PEXPORT ps_bool PICAPI ps_set_memory_functions(const ps_memory_funcs *funcs)
Set global memory allocation functions.
ps_calloc_func mem_calloc