SDL_version structure

SDL_version -- Simple structure containing version information

Syntax

typedef struct {
    Uint8 major;
    Uint8 minor;
    Uint8 patch;
} SDL_version;

Description

The SDL_version structure is used by the SDL_Linked_Version function and the SDL_VERSION macro. The SDL_Linked_Version function returns the link-time SDL version whereas the SDL_VERSION macro returns the compile-time SDL version.

List of SDL_version structure fields

major

Major version number

minor

Minor version number

patch

Patch version number

See also

SDL_Linked_Version, SDL_VERSION

Requirements

Header

SDL.h

Version

1.2.13

Shared object

libSDL.so

DLL

SDL.dll


CategorySDLGeneral

SDL_version (last edited 2009-04-27 13:43:28 by NeoNeurone)