al_realloc(3alleg5)
π al_realloc π
okay bestie, welcome to the Allegro 5 API page for al_realloc β it's short, it's sweet, and it's lowkey iconic. this is page 3alleg5 of the manual, iykyk πΈ
β¨ NAME β¨
al_realloc β Allegro 5 API, the reallocation girlie π
π SYNOPSIS π
#include <allegro5/allegro.h>
#define al_realloc(p, n) \
(al_realloc_with_context((p), (n), __LINE__, __FILE__, __func__))
π¦ DESCRIPTION π¦
so like, it's realloc() from the C standard library, but the implementation can be overridden. that's the whole vibe. the way that it just... does what realloc does but with a glow-up. π
π«Ά heads up bestie: this is a macro. not a function, a macro. not me stating the obvious but it MATTERS, fr fr.
π SEE ALSO π
and that's the page, bestie π tysm for reading, this was brought to you by the Allegro reference manual, al_realloc(3alleg5), mwah ππ
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms