al_malloc

#define al_malloc(n) \
   (al_malloc_with_context((n), __LINE__, __FILE__, __func__)) 
Introduced in 5.0.0

Like malloc() in the C standard library, but the implementation may be overridden.

This is a macro.

See also: al_free, al_realloc, al_calloc, al_malloc_with_context, al_set_memory_interface


Most helpful discussions:

Other recent discussions: