Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2010-04-12 23:21:57
Size: 204
Editor: SheenaSmith
Comment: minor correction
Revision 3 as of 2010-05-06 20:05:47
Size: 1661
Editor: SheenaSmith
Comment: add introduction
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
||<tablewidth="100%"style="color: rgb(255, 0, 0); text-align: center;">DRAFT ||
Line 7: Line 8:
''-or-''
=== Querying SDL Version (SDL_version.h) ===

These functions are used to collect or display information about the version of SDL that is currently being used by the program.

 . The version number 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<<BR>>
 ''Example:'' 1.3.0

{i} There are four (4) macros <<Color2(green,Create a link to a resource that describes macros)>> that apply to this header.

 * [[SDL_VERSION]]
  * This macro gathers information from SDL_MAJOR_VERSION, SDL_MINOR_VERSION, AND SDL_PATCHLEVEL (#defines) and fills the structure [[SDL_version]] with that information.
 * [[SDL_version#Related_Minor_Macros|SDL_VERSIONNUM]]
  * A minor macro that converts version numbers into a numeric value.
 * [[SDL_version#Related_Minor_Macros|SDL_COMPILEDVERSION]]
  * A minor macro that produces the current SDL version number (major.minor.patchlevel)
 * [[SDL_version#Related_Minor_Macros|SDL_VERSION_ATLEAST]]
  * A minor macro that confirms whether a program was compiled with a version no older than the specified version.

== Functions ==
''-or-''
=== Functions ===

DRAFT

Querying SDL Version (SDL_version.h)

-or-

Querying SDL Version (SDL_version.h)

These functions are used to collect or display information about the version of SDL that is currently being used by the program.

  • The version number 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: 1.3.0

{i} There are four (4) macros green

that apply to this header.

  • SDL_VERSION

    • This macro gathers information from SDL_MAJOR_VERSION, SDL_MINOR_VERSION, AND SDL_PATCHLEVEL (#defines) and fills the structure SDL_version with that information.

  • SDL_VERSIONNUM

    • A minor macro that converts version numbers into a numeric value.
  • SDL_COMPILEDVERSION

    • A minor macro that produces the current SDL version number (major.minor.patchlevel)
  • SDL_VERSION_ATLEAST

    • A minor macro that confirms whether a program was compiled with a version no older than the specified version.

Functions

-or-

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