logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_ASSERT_LEVEL - The level of assertion aggressiveness.

Availability

       This macro is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                                SDL_ASSERT_LEVEL(3)

Description

       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 .

Header File

       Defined in SDL3/SDL_assert.h

Name

       SDL_ASSERT_LEVEL - The level of assertion aggressiveness.

Synopsis

#include"SDL3/SDL.h"#defineSDL_ASSERT_LEVELSomeNumberBasedOnVariousFactors

See Also