Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2011-02-18 18:01:24
Size: 930
Editor: SheenaSmith
Comment: update content - add include
Revision 7 as of 2011-02-18 18:04:17
Size: 839
Editor: SheenaSmith
Comment: update content - w/ Sam
Deletions are marked like this. Additions are marked like this.
Line 25: Line 25:
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]].  It is only useful in comparing against other revisions, it is NOT an incrementing number. 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]].

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)

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