al_get_allegro_image_version(3alleg5)
β¨ NAME β¨
al_get_allegro_image_version β the Allegro 5 API function that tells you which version of the image addon you actually got compiled in π
(hi bestie, this is a page from the Allegro reference manual and we're about to make it make sense π«Ά)
πΈ SYNOPSIS πΈ
#include <allegro5/allegro_image.h>
uint32_t al_get_allegro_image_version(void)
okay so first thing, you gotta #include <allegro5/allegro_image.h> β no include, no function, that's the vibe check and you failed it π. Then you just call it, no arguments, nothing to pass in, she takes zero params and gives you back a uint32_t. iconic behavior honestly π
π¦ DESCRIPTION π¦
So likeβ¦ this one hands you back the compiled version of the addon. That's it. That's the whole job. And she's not doing anything fancy with the format either β it comes back in the exact same format as al_get_allegro_version(3alleg5) does, so if you already know how to read that one, you already know how to read this one. iykyk π
lowkey the important word here is compiled β this is the version that got baked into the build, not some runtime surprise. periodt.
and that's the whole page bestie, she's short and she knows it β¨
cute lil sign-off time π β this came to you courtesy of the Allegro reference manual, the Allegro 5 API era (3alleg5, if we're being precise, and we always are π). mwah, go build something pretty ππ¦πΈ
π¦ 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