Wiki Page Content

Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2010-05-13 04:59:26
Size: 623
Editor: SheenaSmith
Comment: update content (from Sam)
Revision 4 as of 2010-07-21 04:26:13
Size: 809
Editor: SheenaSmith
Comment: update content (w/ Sam)
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
Use this function to retrieve an SDL error string. Use this function to retrieve a message about the last error that occurred.
Line 16: Line 16:
A pointer to (a enum? filled with) information about the specific error that occurred. Returns a message filled with information about the specific error that occurred, or an empty string if there hasn't been an error since the last call to [[SDL_ClearError]]().
Line 24: Line 24:
''You can add useful comments here'' It is possible for multiple errors to occur before calling [[SDL_GetError]](). Only the last error is returned.
Line 27: Line 27:
 .[[SDL_ClearError]] ???  .[[SDL_ClearError]]

DRAFT

SDL_GetError

Use this function to retrieve a message about the last error that occurred.

Syntax

char* SDL_GetError(void)

Return Value

Returns a message filled with information about the specific error that occurred, or an empty string if there hasn't been an error since the last call to SDL_ClearError().

Code Examples

You can add your code example here

Remarks

It is possible for multiple errors to occur before calling SDL_GetError(). Only the last error is returned.


CategoryAPI, CategoryError

None: SDL_GetError (last edited 2016-05-11 20:27:55 by PhilippWiesemann)

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