This is new wiki software and old wiki content. It's a work in progress!
Here's the explanation.
Be gentle, report bugs, leave feedback on pages, or just edit them yourself! Thanks!

SDL Wiki

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

Remarks

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

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

SDL_COMPILEDVERSION
SDL_VERSION_ATLEAST

CategoryAPI, CategoryVersion


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.