DRAFT |
SDL_VERSIONNUM
Use this macro to turn the convert separate version numbers into a single numeric value. green
Contents
Syntax
SDL_VERSIONNUM(X, Y, Z) \
((X)*1000 + (Y)*100 + (Z))
green
Function Parameters
X |
major version; reported in thousands place |
Y |
minor version; reported in hundreds place |
Z |
update version (patchlevel); reported in tens and ones places |
Return Value
green
Code Examples
You can add your code example here
Remarks
This assumes that there will never be more than 100 patchlevels.
Example: (1,2,3) -> (1203)
Related Macros
Related Functions
SDL_GetVersion ???
