---
name: "SDL_ASSERT_LEVEL"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_ASSERT_LEVEL"
---

# SDL\_ASSERT\_LEVEL(3)

The level of assertion aggressiveness.

## NAME

SDL\_ASSERT\_LEVEL - The level of assertion aggressiveness.

## HEADER FILE

Defined in SDL3/SDL\_assert.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_ASSERT\_LEVEL SomeNumberBasedOnVariousFactors**

## 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** .

## AVAILABILITY

This macro is available since SDL 3.2.0.
