|
⇤ ← Revision 1 as of 2010-07-23 18:46:09
Size: 1117
Comment: create page, add content (7/14 changeset 4529)
|
Size: 780
Comment: update content (w/ Sam); remove 'draft' note
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 6: | Line 5: |
| Use this macro to ^determine whether the SDL version compiled against was at least as new as the specified/current??? version^. ''-or-'' Use this macro to confirm whether a program was compiled with a version no older than the specified version. |
Use this macro to determine whether the SDL version compiled against is at least as new as the specified version. |
| Line 16: | Line 11: |
| SDL_VERSION_ATLEAST(X, Y, Z) \ (SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z)) |
SDL_VERSION_ATLEAST(X, Y, Z) |
| Line 26: | Line 20: |
| This macro will evaluate to ,,true,, ^SDL_TRUE^ if compiled with SDL ^version^ at least X.Y.Z. | This macro will evaluate to true if compiled with SDL version at least X.Y.Z. |
| Line 38: | Line 32: |
| .[[SDL_VERSION]] | |
| Line 40: | Line 33: |
== Related Functions == .[[SDL_GetVersion]] ??? |
SDL_VERSION_ATLEAST
Use this macro to determine whether the SDL version compiled against is at least as new as the specified version.
Contents
Syntax
SDL_VERSION_ATLEAST(X, Y, Z)
Function Parameters
X |
major version |
Y |
minor version |
Z |
update version (patchlevel) |
Return Value
This macro will evaluate to true if compiled with SDL version at least X.Y.Z.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
