Make the current revision number available

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403444
This commit is contained in:
Sam Lantinga 2009-01-04 05:08:12 +00:00
parent 1a8812eeb6
commit 0fde9f06da
6 changed files with 73 additions and 10 deletions

View file

@ -30,6 +30,7 @@
#define _SDL_version_h
#include "SDL_stdinc.h"
#include "SDL_revision.h"
#include "begin_code.h"
/* Set up for C function definitions, even when using C++ */
@ -131,6 +132,12 @@ typedef struct SDL_version
*/
extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver);
/**
* \fn int SDL_GetRevision()
* \brief Get the code revision of SDL that is linked against your program.
*/
extern DECLSPEC int SDLCALL SDL_GetRevision();
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
/* *INDENT-OFF* */