ALLEGRO_MEMORY_INTERFACE(3)
ALLEGRO_MEMORY_INTERFACE(3) π
πΈ NAME πΈ
ALLEGRO_MEMORY_INTERFACE β the Allegro 5 API, bestie. This page is chilling in the Library Functions Manual. π
β¨ SYNOPSIS β¨
Okay so hereβs the include and the typedef, exactly as they come β no edits, no cap:
#include <allegro5/allegro.h>
typedef struct ALLEGRO_MEMORY_INTERFACE ALLEGRO_MEMORY_INTERFACE;
π¦ DESCRIPTION π¦
This structure has the following fields, and we are literally not skipping a single one:
void *(*mi_malloc)(size_t n, int line, const char *file, const char *func);
void (*mi_free)(void *ptr, int line, const char *file, const char *func);
void *(*mi_realloc)(void *ptr, size_t n, int line, const char *file,
const char *func);
void *(*mi_calloc)(size_t count, size_t n, int line, const char *file,
const char *func);
mi_mallocβ field one of the struct, sitting pretty with that exact signature. β¨mi_freeβ field two, same energy, exact signature preserved. πmi_reallocβ field three, multi-line signature and all, untouched. π¦mi_callocβ field four, exact signature, no edits. π
π₯ SEE ALSO π₯
al_set_memory_interface(3)β go read this one too, bestie. π
Thatβs the whole page, bestie β source/version: Allegro reference manual; page: ALLEGRO_MEMORY_INTERFACE(3); date: not printed on this page. π«Άπ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms