Allegro 5 api
#include <allegro5/allegro.h> void *al_realloc_with_context(void *ptr, size_t n, int line, const char *file, const char *func)
This calls realloc() from the Allegro library (this matters on Windows), unless overridden with al_set_memory_interface(3alleg5),
Generally you should use the al_realloc(3alleg5) macro.