func GetError() (ret string) { ret = C.GoString(C.SDL_GetError()) C.SDL_ClearError() return }
// Clear the current SDL error func ClearError() { GlobalMutex.Lock() C.SDL_ClearError() GlobalMutex.Unlock() }
// ClearError (https://wiki.libsdl.org/SDL_ClearError) func ClearError() { C.SDL_ClearError() }