A callback that fires when an SDL assertion fails.
Defined in <SDL3/SDL_assert.h>
data | a pointer to the SDL_AssertData structure corresponding to the current assertion |
userdata | what was passed as userdata to SDL_SetAssertionHandler() |
Returns an SDL_AssertState value indicating how to handle the failure.
This datatype is available since SDL 3.0.0.