SDL_VERSIONNUM_MAJOR - Man Page
This macro extracts the major version from a version number
Synopsis
#include <SDL3/SDL_version.h> #define SDL_VERSIONNUM_MAJOR(version) ((version) / 1000000)
Description
1002003 becomes 1.
Macro Parameters
- version
the version number.
Availability
This macro is available since SDL 3.2.0.
Info
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS