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   }

See Also

SDL_GetVersion, SDL_REVISION


CategorySDL13API CategorySDL13APIVersion

SDL-1.3/SDL_GetRevision (last edited 2009-07-27 01:46:02 by KenBull)