Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
2981:4bbb9de56029 | 2982:b64c1d23039b |
---|---|
292 /* Get the library version number */ | 292 /* Get the library version number */ |
293 void | 293 void |
294 SDL_GetVersion(SDL_version * ver) | 294 SDL_GetVersion(SDL_version * ver) |
295 { | 295 { |
296 SDL_VERSION(ver); | 296 SDL_VERSION(ver); |
297 } | |
298 | |
299 /* Get the library source revision */ | |
300 int | |
301 SDL_GetRevision() | |
302 { | |
303 SDL_REVISION; | |
297 } | 304 } |
298 | 305 |
299 #if defined(__OS2__) | 306 #if defined(__OS2__) |
300 /* Building for OS/2 */ | 307 /* Building for OS/2 */ |
301 #ifdef __WATCOMC__ | 308 #ifdef __WATCOMC__ |