Wiki Page Content

Revision 2 as of 2010-08-29 20:12:39

Clear message

SDL_VERSIONNUM

Use this macro to convert separate version components into a single numeric value.

Syntax

SDL_VERSIONNUM(X, Y, Z)

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

Code Examples

You can add your code example here

Remarks

This assumes that there will never be more than 100 patchlevels.

  • Example: SDL_VERSIONNUM(1,2,3) -> (1203)


CategoryAPI, CategoryVersion

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit