al_malloc(3)

al_malloc3

Allegro 5 api

Usage

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

Overview

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

This is a macro.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.