SDL_Linked_Version

Name

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

Synopsis

#include "SDL.h"
#include "SDL_version.h"

const SDL_version * SDL_Linked_Version(void);

Description

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

Return Value

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

Example

const SDL_version * v = SDL_Linked_Version();

printf("Version: %u.%u.%u", v->major, v->minor, v->patch);

See Also

SDL_version SDL_VERSION

SDL_Linked_VersionCZ (last edited 2008-07-18 12:01:30 by JaroslavGajdosik)