Module version
Available on crate feature
dep_sdl3
only.Expand description
Functionality to query the current SDL version, both as headers the app was compiled against, and a library the app is linked to.
Constants§
- SDL_
MAJOR_ VERSION - The current major version of SDL headers.
- SDL_
MICRO_ VERSION - The current micro (or patchlevel) version of the SDL headers.
- SDL_
MINOR_ VERSION - The current minor version of the SDL headers.
- SDL_
VERSION - This is the version number macro for the current SDL version.
Functions§
- SDL_
GetRevision ⚠ - Get the code revision of SDL that is linked against your program.
- SDL_
GetVersion ⚠ - Get the version of SDL that is linked against your program.
- SDL_
VERSIONNUM - This macro turns the version numbers into a numeric value.
- SDL_
VERSIONNUM_ MAJOR - This macro extracts the major version from a version number
- SDL_
VERSIONNUM_ MICRO - This macro extracts the micro version from a version number
- SDL_
VERSIONNUM_ MINOR - This macro extracts the minor version from a version number
- SDL_
VERSION_ ATLEAST - This macro will evaluate to true if compiled with SDL at least X.Y.Z.