SDL_MINOR_VERSION(3)
π SDL_MINOR_VERSION π
okay bestie, we're diving into the SDL3 functions era and this one is literally the tiniest little macro with the biggest main character energy β¨ it lives in SDL_MINOR_VERSION(3), and yes, that's your girl π
πΈ NAME πΈ
SDL_MINOR_VERSION β the current minor version of the SDL headers, no cap π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_version.h>
#define SDL_MINOR_VERSION 4
like. that's it. that's the whole vibe π¦
π DESCRIPTION π
okay so listen β SDL_MINOR_VERSION is the number in the middle of your SDL version. if this were SDL version 3.2.1, this value would be 2. the middle one. the minor one. the one that gets skipped over at parties π
it's giving "sandwiched between the major and the patch" fr fr.
π«Ά AVAILABILITY π«Ά
this macro is available since SDL 3.2.0 π so if you're on anything older, bestie, you're lowkey out of luck π
β heads up: this is a compile-time macro from the headers themselves, so it tells you what version you're building against, not some runtime situation. read the headers, trust the headers π
and that's the whole page!! stay slay, check your version numbers, and remember: the minor version matters even when nobody claps for it πβ¨
Simple Directmedia Layer β this page is from SDL 3.4.18 π (yes, minor version 4, we see you π) and it's the SDL_MINOR_VERSION(3) man page, signing off like the icon it is πΈπ
π¦
π¦ 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