ALLEGRO_WIP_VERSION(3alleg4)

πŸ’– ALLEGRO_WIP_VERSION πŸ’–

okay bestie, welcome to the Allegro manual (section 3alleg4, iykyk) β€” this one's a lil macro page and it's literally so short you could read it in a single breath. let's go πŸ¦‹


✨ NAME ✨

ALLEGRO_WIP_VERSION β€” it's defined to the minor version of Allegro, that's the whole vibe πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro.h>

#define ALLEGRO_WIP_VERSION

yes queen, that's it. one include, one define, no arguments, no drama 🌸


πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea: ALLEGRO_WIP_VERSION is defined to the minor version of Allegro. that's it, that's the whole job, and it does it flawlessly fr fr ✨

like, say your version number is 4.1.16 β€” in that case this macro would be defined to the integer 16. not 4, not 1, not the whole string, just the 16, the lil baby number at the end πŸ“

it's giving "the last slice of the version number" and honestly? iconic.

use it when you need to check which minor version you're compiling against and you wanna do it at compile time like a main character 🫢


and that's the whole page, babe β€” no options, no exit statuses, no scary warnings, just one very well-behaved macro doing its one (1) thing πŸ’œ

mwah πŸ’‹ this was the ALLEGRO_WIP_VERSION page from the Allegro manual, manpage section 3alleg4, version 4.4.3 β€” go forth and #define responsibly, bestie 🌈⭐