SDL Wiki

Querying SDL Version

'''Include File(s):''' [http://hg.libsdl.org/SDL/file/default/include/SDL_version.h SDL_version.h], [http://hg.libsdl.org/SDL/file/default/include/SDL_revision.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)

: 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 first version number of SDL 2 was 2000

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

Structures

<<FullSearchCached(category:CategoryStruct CategoryVersion -title:SGStructures)>>

Functions

<<FullSearchCached(category:CategoryVersion -CategoryStruct -CategoryEnum -title:SGFunctions)>>


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.