SDL_ASSERT_LEVEL(3)

SDL_ASSERT_LEVEL3

The level of assertion aggressiveness.

Usage

#include "SDL3/SDL.h"

#define SDL_ASSERT_LEVEL SomeNumberBasedOnVariousFactors

Header file

Defined in SDL3/SDL_assert.h

Overview

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_assert
disabled,

SDL_assert_release
enabled.

• 2: Debug settings: SDL_assert
and

SDL_assert_release
enabled.

• 3: Paranoid settings: All SDL assertion macros enabled, including

SDL_assert_paranoid .

Availability

This macro is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.