SYNOPSIS

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

DESCRIPTION

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

This is a macro.

RELATED TO al_malloc…

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