SDL_VERSIONNUM - Man Page
This macro turns the version numbers into a numeric value.
Synopsis
#include <SDL3/SDL_version.h> #define SDL_VERSIONNUM(major, minor, patch) \ ((major) * 1000000 + (minor) * 1000 + (patch))
Description
(1,2,3) becomes 1002003.
Macro Parameters
- major
the major version number.
- minor
the minorversion number.
- patch
the patch version number.
Availability
This macro is available since SDL 3.2.0.
Info
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS