SDL_Linked_Version function

SDL_Linked_Version -- Gets the version of the dynamically linked SDL library

Syntax

const SDL_version* SDL_Linked_Version();

Description

The SDL_Linked_Version function gets the version of the current dynamically linked SDL library and returns a pointer to a SDL_version structure containing the version information.

Parameter

nothing

Return value

Returns a constant pointer to an SDL_version structure containing the version information.

Example

   1 const SDL_version* v = SDL_Linked_Version();
   2 printf("Version: %u.%u.%u", v->major, v->minor, v->patch);

See also

SDL_version, SDL_VERSION

Requirements

Header

SDL.h

Version

1.2.13

Shared object

libSDL.so

DLL

SDL.dll


CategorySDLGeneral

SDL_Linked_Version (last edited 2009-04-27 15:48:48 by NeoNeurone)