|
Size: 1491
Comment: add revision.h to includes
|
Size: 1709
Comment: add search exclusions for SG pages
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 27: | Line 27: |
| ##Remove this line and the ## below to use this markup if it becomes relevant to this category ##== Enumerations == ##<<FullSearch(category:CategoryEnum CategoryVersion -SGEnumerations)>> |
|
| Line 28: | Line 32: |
| <<FullSearch(category:CategoryStruct CategoryVersion)>> | <<FullSearch(category:CategoryStruct CategoryVersion -SGStructures)>> |
| Line 31: | Line 35: |
<<FullSearch(category:CategoryVersion -CategoryStruct -CategoryEnum)>> |
<<FullSearch(category:CategoryVersion -CategoryStruct -CategoryEnum -SGFunctions)>> |
Querying SDL Version
Include File(s): SDL_version.h, SDL_revision.h
Introduction
These functions are used to collect or display information about the version of SDL that is currently being used by the program or that it was compiled against.
- The version consists of three segments (X.Y.Z)
X = Major Version, which increments with massive changes, additions, and enhancements
Y = Minor Version, which increments with backwards-compatible changes to the major revision
Z = Patchlevel, which increments with fixes to the minor revision
Example: The current version is 1.3.0
- The version may also be reported as a 4-digit numeric value where the thousands place represents the major version, the hundreds place represents the minor version, and the tens and ones places represent the patchlevel (update version).
Example: The current version number is 1300
SDL_revision.h must be included in your program explicitly if you want to use the SDL_REVISION constant.
Structures
