sdl.error

SDL Error Handling

Members

Functions

SDL_ClearError
bool SDL_ClearError()

Clear any previous error message for this thread.

SDL_GetError
const(char)* SDL_GetError()

Retrieve a message about the last error that occurred on the current thread.

SDL_OutOfMemory
bool SDL_OutOfMemory()

Set an error indicating that memory allocation failed.

SDL_SetError
bool SDL_SetError(const(char)* fmt, ...)

Set the SDL error message for the current thread.

See Also

Meta

License

Subject to the terms of the Zlib License, as written in the LICENSE file.

Authors

Luna Nielsen