SDL_MAJOR_VERSION(3)
π SDL_MAJOR_VERSION π
okay bestie, welcome to the SDL_MAJOR_VERSION(3) page from the SDL3 functions corner of the manual πΈ β it's short, it's sweet, it's giving "one single number and a dream" β¨
β¨ NAME β¨
SDL_MAJOR_VERSION β the current major version of the SDL headers, like, the big number, the main character of version strings π
π SYNOPSIS π
#include <SDL3/SDL_version.h>
#define SDL_MAJOR_VERSION 3
that's it. that's the whole thing. no arguments, no return value, just a #define sitting there slaying π
π¦ DESCRIPTION π¦
So here's the vibe check: if this were SDL version 3.2.1, this value would be 3 π
like β major dot minor dot patch, and SDL_MAJOR_VERSION is literally just the first one. the 3. the icon. the moment. no cap π«Ά
β AVAILABILITY β
This macro has been available since SDL 3.2.0 β so if you're on anything older, sorry bestie, she wasn't born yet π
fr fr, that's the entire page. a single number, defined once, doing absolutely the most with the least π§
kisses and compiler hugs, this has been your friendly neighborhood SDL3 manpage, brought to you by Simple Directmedia Layer, version SDL 3.4.18 π bye bestie!! π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms