diff src/SDL.c @ 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 388c5a2daeac
line wrap: on
line diff
--- a/src/SDL.c	Sat Jan 03 21:01:02 2009 +0000
+++ b/src/SDL.c	Sun Jan 04 05:08:12 2009 +0000
@@ -296,6 +296,13 @@
     SDL_VERSION(ver);
 }
 
+/* Get the library source revision */
+int
+SDL_GetRevision()
+{
+    SDL_REVISION;
+}
+
 #if defined(__OS2__)
 /* Building for OS/2 */
 #ifdef __WATCOMC__