Module error

error.nim

Simple error message routines for SDL.

Procs

proc setError*(fmt: cstring): cint {.
varargs, cdecl, importc: "SDL_SetError", dynlib: SDL2_LIB
.}
setError() unconditionally returns -1.
proc getError*(): cstring {.
cdecl, importc: "SDL_GetError", dynlib: SDL2_LIB
.}
proc clearError*() {.
cdecl, importc: "SDL_ClearError", dynlib: SDL2_LIB
.}