al_get_allegro_image_version(3alleg5)

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

✨ 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