(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_ASSERT_LEVEL

The level of assertion aggressiveness.

Header File

Defined in <SDL3/SDL_assert.h>

Syntax

#define SDL_ASSERT_LEVEL SomeNumberBasedOnVariousFactors

Remarks

This value changes depending on compiler options and other preprocessor defines.

It is currently one of the following values, but future SDL releases might add more:

Version

This macro is available since SDL 3.0.0.


CategoryAPI, CategoryAPIMacro, CategoryAssert