logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_VERSIONNUM - This macro turns the version numbers into a numeric value.

Availability

       This macro is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                                  SDL_VERSIONNUM(3)

Description

       (1,2,3) becomes 1002003.

Macro Parameters

major  the major version number.

       minor  the minorversion number.

       patch  the patch version number.

Name

       SDL_VERSIONNUM - This macro turns the version numbers into a numeric value.

Synopsis

#include<SDL3/SDL_version.h>#defineSDL_VERSIONNUM(major,minor,patch)\((major)*1000000+(minor)*1000+(patch))

See Also