mirror of
https://github.com/yawut/SDL.git
synced 2026-08-24 01:35:39 -05:00
Make the current revision number available
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#define _SDL_version_h
|
||||
|
||||
#include "SDL_stdinc.h"
|
||||
#include "SDL_revision.h"
|
||||
|
||||
#include "begin_code.h"
|
||||
/* Set up for C function definitions, even when using C++ */
|
||||
@@ -131,6 +132,12 @@ typedef struct SDL_version
|
||||
*/
|
||||
extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver);
|
||||
|
||||
/**
|
||||
* \fn int SDL_GetRevision()
|
||||
* \brief Get the code revision of SDL that is linked against your program.
|
||||
*/
|
||||
extern DECLSPEC int SDLCALL SDL_GetRevision();
|
||||
|
||||
/* Ends C function definitions when using C++ */
|
||||
#ifdef __cplusplus
|
||||
/* *INDENT-OFF* */
|
||||
|
||||
Reference in New Issue
Block a user