|
Size: 623
Comment: update content (from Sam)
|
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 retrieve an SDL error string. | 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 ???
