|
@@ -112,12 +112,11 @@ typedef struct SDL_version |
|
|
|
|
|
/** |
|
|
* \brief Get the version of SDL that is linked against your program. |
|
|
* |
|
|
* If you are using a shared library (DLL) version of SDL, then it is |
|
|
* possible that it will be different than the version you compiled against. |
|
|
* |
|
|
* This is a real function; the macro SDL_VERSION() tells you what version |
|
|
* of SDL you compiled against: |
|
|
* If you are linking to SDL dynamically, then it is possible that the |
|
|
* current version will be different than the version you compiled against. |
|
|
* This function returns the current version, while SDL_VERSION() is a |
|
|
* macro that tells you what version you compiled with. |
|
|
* |
|
|
* \code |
|
|
* SDL_version compiled; |
|
@@ -140,8 +139,9 @@ 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. |
|
|
* Returns an arbitrary string (a hash value) uniquely identifying the |
|
|
* exact revision of the SDL library in use, and is only useful in comparing |
|
|
* against other revisions. It is NOT an incrementing number. |
|
|
*/ |
|
|
extern DECLSPEC const char *SDLCALL SDL_GetRevision(void); |
|
|
|
|
|