ALLEGRO_MEMORY_INTERFACE.mi_malloc

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
struct ALLEGRO_MEMORY_INTERFACE
extern (C) nothrow
void* function(size_t, int, const(char)*, const(char)*) mi_malloc;

Meta