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