SDL_VERSIONNUM_MINOR(3)
SDL_VERSIONNUM_MINOR(3) π
okay so bestie, this is the page from the SDL3 FUNCTIONS manual. It's about a macro called SDL_VERSIONNUM_MINOR and it's lowkey iconic.
β¨ NAME β¨
SDL_VERSIONNUM_MINOR β this macro extracts the minor version from a version number. periodt.
π SYNOPSIS π
#include <SDL3/SDL_version.h>
#define SDL_VERSIONNUM_MINOR(version) (((version) / 1000) % 1000)
π DESCRIPTION π
1002003 becomes 2. That's it. That's the whole vibe.
πΈ MACRO PARAMETERS πΈ
versionβ the version number.
π§ THREAD SAFETY π§
It is safe to call this macro from any thread. no cap, you can call it from any thread. π
β AVAILABILITY β
This macro is available since SDL 3.2.0. iconic.
source/version sign-off: Simple Directmedia Layer, SDL 3.4.18. date: not printed on this page, so I'm not inventing one, bestie. SDL_VERSIONNUM_MINOR(3) out. π«Ά
π¦ 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