Possible outcomes from a triggered assertion.
Defined in <SDL3/SDL_assert.h>
typedef enum SDL_AssertState
{/**< Retry the assert immediately. */
SDL_ASSERTION_RETRY, /**< Make the debugger trigger a breakpoint. */
SDL_ASSERTION_BREAK, /**< Terminate the program. */
SDL_ASSERTION_ABORT, /**< Ignore the assert. */
SDL_ASSERTION_IGNORE, /**< Ignore the assert from now on. */
SDL_ASSERTION_ALWAYS_IGNORE } SDL_AssertState;
When an enabled assertion triggers, it may call the assertion handler (possibly one provided by the app via SDL_SetAssertionHandler), which will return one of these values, possibly after asking the user.
Then SDL will respond based on this outcome (loop around to retry the condition, try to break in a debugger, kill the program, or ignore the problem).
This enum is available since SDL 3.1.3.