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