include/SDL_version.h
changeset 5359 d5fe4ed3a28d
parent 5310 a9945ce48999
child 5535 96594ac5fd1a
equal deleted inserted replaced
5358:5b330ef7b8dd 5359:d5fe4ed3a28d
   142  *  exact revision of the SDL library in use, and is only useful in comparing
   142  *  exact revision of the SDL library in use, and is only useful in comparing
   143  *  against other revisions. It is NOT an incrementing number.
   143  *  against other revisions. It is NOT an incrementing number.
   144  */
   144  */
   145 extern DECLSPEC const char *SDLCALL SDL_GetRevision(void);
   145 extern DECLSPEC const char *SDLCALL SDL_GetRevision(void);
   146 
   146 
       
   147 /**
       
   148  *  \brief Get the revision number of SDL that is linked against your program.
       
   149  *
       
   150  *  Returns a number uniquely identifying the exact revision of the SDL
       
   151  *  library in use. It is an incrementing number based on commits to
       
   152  *  hg.libsdl.org.
       
   153  */
       
   154 extern DECLSPEC int SDLCALL SDL_GetRevisionNumber(void);
       
   155 
       
   156 
   147 /* Ends C function definitions when using C++ */
   157 /* Ends C function definitions when using C++ */
   148 #ifdef __cplusplus
   158 #ifdef __cplusplus
   149 /* *INDENT-OFF* */
   159 /* *INDENT-OFF* */
   150 }
   160 }
   151 /* *INDENT-ON* */
   161 /* *INDENT-ON* */