Function sdl2_sys::SDL_GetDefaultAssertionHandler
source · pub unsafe extern "C" fn SDL_GetDefaultAssertionHandler() -> SDL_AssertionHandler
Expand description
Get the default assertion handler.
This returns the function pointer that is called by default when an assertion is triggered. This is an internal function provided by SDL, that is used for assertions when SDL_SetAssertionHandler() hasn’t been used to provide a different function.
\returns the default SDL_AssertionHandler that is called when an assert triggers.
\since This function is available since SDL 2.0.2.
\sa SDL_GetAssertionHandler