DOKK / manpages / debian 10 / allegro5-doc / al_malloc.3alleg5.en
al_malloc(3alleg5) al_malloc(3alleg5)

al_malloc - Allegro 5 API

#include <allegro5/allegro.h>
#define al_malloc(n) \
   (al_malloc_with_context((n), __LINE__, __FILE__, __func__))
    

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

This is a macro.

al_free(3alleg5), al_realloc(3alleg5), al_calloc(3alleg5), al_malloc_with_context(3alleg5), al_set_memory_interface(3alleg5)

Allegro reference manual