al_realloc(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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