SDL_MIXER_VERSION(3)

πŸ“¦
version 3.2.4 Β· 2 versions
, in fedora 44

✨ NAME ✨

okay bestie, say hi to SDL_MIXER_VERSION πŸ’– she's the macro that hands you the current version number of the SDL_mixer headers, fr fr. no cap, that's literally her whole job. πŸŽ€


🌸 SYNOPSIS 🌸

you pull her in like this, periodt:

#include <SDL3_mixer/SDL_mixer.h>

#define SDL_MIXER_VERSION SDL_VERSIONNUM(SDL_MIXER_MAJOR_VERSION, SDL_MIXER_MINOR_VERSION, SDL_MIXER_MICRO_VERSION)

that second line is the whole vibe: SDL_MIXER_VERSION gets defined as SDL_VERSIONNUM(SDL_MIXER_MAJOR_VERSION, SDL_MIXER_MINOR_VERSION, SDL_MIXER_MICRO_VERSION), so it's stacking the major, minor and micro pieces together into one iconic number. πŸ’…


πŸ¦‹ AVAILABILITY πŸ¦‹

she's been serving since SDL_mixer 3.0.0 ✨ so if you're on anything older, this macro is not gonna show up for you, sorry bestie 😭


πŸ’œ SEE ALSO πŸ’œ


lowkey important: this whole page lives under the SDL_mixer3 FUNCTIONS manual, so you know exactly where you are in the docs 🌈

aaaand that's a wrap, bestie 🫢 this gorgeous page came from πŸŽ€ SDL_mixer πŸŽ€, version 3.2.4, and it's filed under SDL_MIXER_VERSION(3) β€” slay, no cap, bye πŸ’–βœ¨

πŸ“¦ where this page comes from