al_malloc man page

al_malloc — Allegro 5 API

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.

See Also

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

Referenced By

al_calloc(3), al_create_sample(3), al_free(3), al_get_clipboard_text(3), al_malloc_with_context(3), al_realloc(3).

Allegro reference manual