Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2012-07-30 07:35:05
Size: 709
Editor: pallavnawani
Comment: Added Return Value info for SDL_GetPlatform()
Revision 3 as of 2013-08-07 21:01:33
Size: 678
Editor: Sam Lantinga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 24: Line 23:
Try to get a standard set of platform defines.

''You can add useful comments here''
Here are the names returned for some supported platforms:
 * Windows
 * Mac OS X
 * Linux
 * iOS
 * Android

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

Here are the names returned for some supported platforms:

  • Windows
  • Mac OS X
  • Linux
  • iOS
  • Android


CategoryAPI, CategoryPlatform

None: SDL_GetPlatform (last edited 2013-10-27 22:22:18 by PhilippWiesemann)

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