|
Size: 798
Comment: create page, add content (Wed Mar 10 ver)
|
Size: 930
Comment: update content - add include
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 16: | Line 15: |
| ^Returns^ ,,This is ,,an arbitrary string (a hash value, ,,actually,,), and is only useful in comparing against other revisions. It is NOT an incrementing number. <<Color2(green,Should this be listed in the Remarks instead or also?)>> |
Returns an arbitrary string, uniquely identifying the exact revision of the SDL library in use. |
| Line 26: | Line 23: |
| ''You can add useful comments here'' | <<Include(SDL_REVISION, , , from="Start Include here.", to="##End Include here")>> 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. |
| Line 29: | Line 28: |
| .[[SDL_GetVersion]] |
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. It is only useful in comparing against other revisions, it is NOT an incrementing number.
