SDL_GetRevision
Name
SDL_GetRevision -- Get runtime code revision.
Synopsis
#include "SDL_version.h" int SDL_GetRevision (void);
Description
SDL_GetRevision gets the code revision of SDL that is linked against your program.
Return Value
Returns the SVN revision of the SDL library used at runtime.
Example
1 if (SDL_GetRevision() < SDL_REVISION) {
2 printf("Compiled with SDL revision %d, but runtime SDL revision is %d.\n",
3 SDL_REVISION, SDL_GetRevision());
4 }
