include/SDL_version.h
changeset 2982 b64c1d23039b
parent 2859 99210400e8b9
child 2996 972a69e47cd9
     1.1 --- a/include/SDL_version.h	Sat Jan 03 21:01:02 2009 +0000
     1.2 +++ b/include/SDL_version.h	Sun Jan 04 05:08:12 2009 +0000
     1.3 @@ -30,6 +30,7 @@
     1.4  #define _SDL_version_h
     1.5  
     1.6  #include "SDL_stdinc.h"
     1.7 +#include "SDL_revision.h"
     1.8  
     1.9  #include "begin_code.h"
    1.10  /* Set up for C function definitions, even when using C++ */
    1.11 @@ -131,6 +132,12 @@
    1.12   */
    1.13  extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver);
    1.14  
    1.15 +/**
    1.16 + * \fn int SDL_GetRevision()
    1.17 + * \brief Get the code revision of SDL that is linked against your program.
    1.18 + */
    1.19 +extern DECLSPEC int SDLCALL SDL_GetRevision();
    1.20 +
    1.21  /* Ends C function definitions when using C++ */
    1.22  #ifdef __cplusplus
    1.23  /* *INDENT-OFF* */