earwax.sdl module¶
Provides function for working with sdl2.
-
exception
earwax.sdl.SdlError¶ Bases:
ExceptionAn error in SDL.
-
earwax.sdl.maybe_raise(value: int) → None¶ Possibly raise
SdlError.Parameters: value – The value of an sdl function.
If this value is
-1, then an error will be raised.
-
earwax.sdl.sdl_raise() → None¶ Raise the most recent SDL error.