pub const SDL_ASSERT_LEVEL: i32 = 1;Expand description
The level of assertion aggressiveness.
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:
- 0: All SDL assertion macros are disabled.
- 1: Release settings:
SDL_assertdisabled,SDL_assert_releaseenabled. - 2: Debug settings:
SDL_assertandSDL_assert_releaseenabled. - 3: Paranoid settings: All SDL assertion macros enabled, including
SDL_assert_paranoid.
ยงAvailability
This macro is available since SDL 3.2.0.