ALLEGRO_VERSION(3alleg4)

πŸ’– ALLEGRO_VERSION πŸ’–

okay bestie, we're diving into the Allegro manual (the 3alleg4 one, if you're keeping track) and today's main character is ALLEGRO_VERSION. it's a macro. it's a whole vibe. let's go ✨


✨ NAME ✨

ALLEGRO_VERSION β€” it's defined to the major version of Allegro, periodt πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro.h>

#define ALLEGRO_VERSION

like... that's it. that's the whole thing. she's lowkey minimalist πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: ALLEGRO_VERSION is defined to the major version of Allegro. that's the big number, the headliner, the one that walks in first πŸ‘‘

wanna see it in action? say your version number looks like 4.1.16 β€” then this macro would be defined to the integer 4. that's it. just the 4. the .1.16 is not her problem, she's only about the majors πŸ’–

ngl it's giving "just tell me the era, not the whole timeline" and honestly? iconic.

that's the whole page, you ate that 🫢 this lil' beauty lives in the Allegro manual and comes to you courtesy of Allegro version 4.4.3 β€” mwah, go forth and check your version numbers, bestie πŸ’…πŸ’–