|
Size: 633
Comment: remove 'draft' note
|
Size: 646
Comment: Added a simple example with no parameters.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 21: | Line 21: |
| You can add your code example here | SDL_SetError("Something unexpected happened!"); |
SDL_SetError
Use this function to set the SDL error string.
Syntax
void SDL_SetError(const char* fmt,
...)
Function Parameters
fmt |
a printf() style message format string |
... |
additional parameters matching % tokens in the fmt string, if any |
Code Examples
SDL_SetError("Something unexpected happened!");
Remarks
You can add useful comments here
