|
Size: 632
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
|
Size: 724
Comment: update content (w/ Sam)
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 6: | Line 6: |
| Use this function to ^get more information about an error^. | Use this function to retrieve a message about the last error that occurred. |
| 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. |
DRAFT |
SDL_GetError
Use this function to retrieve a message about the last error that occurred.
Syntax
char* SDL_GetError(void)
Return Value
A pointer to (a enum? filled with) information about the specific error that occurred.
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.
Related Functions
SDL_ClearError ???
