|
Size: 1310
Comment: minor change
|
Size: 1314
Comment: update content - change tip to default
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 8: | Line 8: |
| '''Include File(s):''' [[http://hg.libsdl.org/SDL/file/tip/include/SDL_version.h|SDL_version.h]] | '''Include File(s):''' [[http://hg.libsdl.org/SDL/file/default/include/SDL_version.h|SDL_version.h]] |
Querying SDL Version
Include File(s): SDL_version.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
Structures
