comparison include/SDL_version.h @ 2982:b64c1d23039b

Make the current revision number available
author Sam Lantinga <slouken@libsdl.org>
date Sun, 04 Jan 2009 05:08:12 +0000
parents 99210400e8b9
children 972a69e47cd9
comparison
equal deleted inserted replaced
2981:4bbb9de56029 2982:b64c1d23039b
28 28
29 #ifndef _SDL_version_h 29 #ifndef _SDL_version_h
30 #define _SDL_version_h 30 #define _SDL_version_h
31 31
32 #include "SDL_stdinc.h" 32 #include "SDL_stdinc.h"
33 #include "SDL_revision.h"
33 34
34 #include "begin_code.h" 35 #include "begin_code.h"
35 /* Set up for C function definitions, even when using C++ */ 36 /* Set up for C function definitions, even when using C++ */
36 #ifdef __cplusplus 37 #ifdef __cplusplus
37 /* *INDENT-OFF* */ 38 /* *INDENT-OFF* */
129 * 130 *
130 * \sa SDL_VERSION 131 * \sa SDL_VERSION
131 */ 132 */
132 extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver); 133 extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver);
133 134
135 /**
136 * \fn int SDL_GetRevision()
137 * \brief Get the code revision of SDL that is linked against your program.
138 */
139 extern DECLSPEC int SDLCALL SDL_GetRevision();
140
134 /* Ends C function definitions when using C++ */ 141 /* Ends C function definitions when using C++ */
135 #ifdef __cplusplus 142 #ifdef __cplusplus
136 /* *INDENT-OFF* */ 143 /* *INDENT-OFF* */
137 } 144 }
138 /* *INDENT-ON* */ 145 /* *INDENT-ON* */