Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2010-07-21 04:59:40
Size: 697
Editor: SheenaSmith
Comment: update content (w/ Sam); remove 'draft' note
Revision 5 as of 2011-02-18 17:53:04
Size: 852
Editor: SheenaSmith
Comment: update content - w/ Sam
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
Returns an arbitrary string (a hash value), uniquely identifying the exact revision of the SDL library in use. Returns an arbitrary string (a hash value), uniquely identifying the exact revision of the SDL library in use.  (''Example'': {{{hg-5344:94189aa89b54}}})
Line 23: Line 23:
This value 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. It is only useful in comparing against other revisions, it is NOT an incrementing number.

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 (a hash value), uniquely identifying the exact revision of the SDL library in use. (Example: hg-5344:94189aa89b54)

Code Examples

You can add your code example here

Remarks

This value is the revision of the code you are linked with and may be different from the code you are compiling with. It is only useful in comparing against other revisions, it is NOT an incrementing number.


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