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

# SDL\_AssertData(3type)

Information about an assertion failure.

## NAME

SDL\_AssertData - Information about an assertion failure.

## HEADER FILE

Defined in SDL3/SDL\_assert.h

## SYNOPSIS

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

**typedef struct SDL\_AssertData** **{**     **bool always\_ignore;  /\*\*\< true if app should always continue when assertion is triggered. \*/**     **unsigned int trigger\_count; /\*\*\< Number of times this assertion has been triggered. \*/**     **const char \*condition;  /\*\*\< A string of this assert's test code. \*/**     **const char \*filename;  /\*\*\< The source file where this assert lives. \*/**     **int linenum;  /\*\*\< The line in \`filename\` where this assert lives. \*/**     **const char \*function;  /\*\*\< The name of the function where this assert lives. \*/**     **const struct SDL\_AssertData \*next;  /\*\*\< next item in the linked list. \*/** **} SDL\_AssertData;**

## DESCRIPTION

This structure is filled in with information about a triggered assertion, used by the assertion handler, then added to the assertion report. This is returned as a linked list from

**SDL\_GetAssertionReport** ().

## AVAILABILITY

This struct is available since SDL 3.2.0.
