Wiki Page Content

SDL_GetRevision

Use this function to get the code revision of SDL that is linked against your program.

Syntax

const char* SDL_GetRevision(void)

Return Value

Returns an arbitrary string, uniquely identifying the exact revision of the SDL library in use.

Code Examples

You can add your code example here

Remarks

The revision is a string including sequential revision number that is incremented with each commit, and a hash of the last code change.

  • Example: hg-5344:94189aa89b54

This value is the revision of the code you are linked with and may be different from the code you are compiling with, which is found in the constant SDL_REVISION.


CategoryAPI, CategoryVersion

None: SDL_GetRevision (last edited 2011-02-18 18:04:17 by SheenaSmith)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit