Wiki Page Content

Differences between revisions 23 and 24
Revision 23 as of 2012-02-02 23:37:02
Size: 1727
Editor: JonasThiem
Comment: Replacing 1.3.0 with 2.0.0
Revision 24 as of 2013-10-12 19:06:03
Size: 1745
Comment: Fixed search to exclude the right pages.
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:
##<<FullSearchCached(category:CategoryEnum CategoryVersion -SGEnumerations)>> ##<<FullSearchCached(category:CategoryEnum CategoryVersion -title:SGEnumerations)>>
Line 32: Line 32:
<<FullSearchCached(category:CategoryStruct CategoryVersion -SGStructures)>> <<FullSearchCached(category:CategoryStruct CategoryVersion -title:SGStructures)>>
Line 35: Line 35:
<<FullSearchCached(category:CategoryVersion -CategoryStruct -CategoryEnum -SGFunctions)>> <<FullSearchCached(category:CategoryVersion -CategoryStruct -CategoryEnum -title: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 2.0.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 2000

SDL_revision.h must be included in your program explicitly if you want to use the SDL_REVISION constant.

Structures

Functions


CategoryCategory

None: CategoryVersion (last edited 2016-03-27 21:54:16 by PhilippWiesemann)

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