|
⇤ ← Revision 1 as of 2010-05-16 07:22:16
Size: 789
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
|
Size: 709
Comment: Added Return Value info for SDL_GetPlatform()
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| Returns the name of the platform. <<Color2(green,What if there is an error? Is that possible?)>> | Returns the name of the platform. If the correct platform name is not available, returns a string beginning with the text "Unknown". |
| Line 26: | Line 26: |
| <<Color2(green,Does this comment and all the code-looking stuff below it in the header belong on this page?)>> |
DRAFT |
SDL_GetPlatform
Use this function to get the name of the platform.
Syntax
const char* SDL_GetPlatform (void)
Return Value
Returns the name of the platform. If the correct platform name is not available, returns a string beginning with the text "Unknown".
Code Examples
You can add your code example here
Remarks
Try to get a standard set of platform defines.
You can add useful comments here
