Mercurial > sdl-ios-xcode
comparison include/SDL_version.h @ 4419:5e7e1f1a4056
Changed revision details to be a string (an hg changeset) instead of an int.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 28 Feb 2010 02:07:40 -0500 |
parents | f7b03b6838cb |
children | 3b5f4b3a69e1 |
comparison
equal
deleted
inserted
replaced
4418:be1929ccaa3d | 4419:5e7e1f1a4056 |
---|---|
137 */ | 137 */ |
138 extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver); | 138 extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver); |
139 | 139 |
140 /** | 140 /** |
141 * \brief Get the code revision of SDL that is linked against your program. | 141 * \brief Get the code revision of SDL that is linked against your program. |
142 * | |
143 * This is an arbitrary string (a hash value, actually), and is only useful | |
144 * in comparing against other revisions. It is NOT an incrementing number. | |
142 */ | 145 */ |
143 extern DECLSPEC int SDLCALL SDL_GetRevision(void); | 146 extern DECLSPEC const char *SDLCALL SDL_GetRevision(void); |
144 | 147 |
145 /* Ends C function definitions when using C++ */ | 148 /* Ends C function definitions when using C++ */ |
146 #ifdef __cplusplus | 149 #ifdef __cplusplus |
147 /* *INDENT-OFF* */ | 150 /* *INDENT-OFF* */ |
148 } | 151 } |