include/SDL_version.h
changeset 4419 5e7e1f1a4056
parent 3697 f7b03b6838cb
child 4627 3b5f4b3a69e1
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 }