sdlClearError function

void sdlClearError()

Clear any previous error message for this thread.

\since This function is available since SDL 2.0.0.

\sa SDL_GetError \sa SDL_SetError

extern DECLSPEC void SDLCALL SDL_ClearError(void)

Implementation

void sdlClearError() {
  final sdlClearErrorLookupFunction = libSdl2
      .lookupFunction<Void Function(), void Function()>('SDL_ClearError');
  return sdlClearErrorLookupFunction();
}