SDL_GetError()
Syntax
const char* _SDL_GetError(void);
Description
Get the last error message from SDL.
Details
This function returns a string containing the last error message generated by SDL functions. The returned string is valid until the next call to an SDL function that generates an error.
Returns
- A pointer to a string containing the last error message, or an empty string if there is no error.
The actual implementation is in SDL_GetError.s. This is a wrapper function.