Changed revision details to be a string (an hg changeset) instead of an int.

This commit is contained in:
Ryan C. Gordon
2010-02-28 02:07:40 -05:00
parent b18efe7e17
commit 0b60050ea1
5 changed files with 11 additions and 15 deletions

View File

@@ -139,8 +139,11 @@ extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver);
/**
* \brief Get the code revision of SDL that is linked against your program.
*
* This is an arbitrary string (a hash value, actually), and is only useful
* in comparing against other revisions. It is NOT an incrementing number.
*/
extern DECLSPEC int SDLCALL SDL_GetRevision(void);
extern DECLSPEC const char *SDLCALL SDL_GetRevision(void);
/* Ends C function definitions when using C++ */
#ifdef __cplusplus