---
name: "SDL_ReportAssertion"
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_ReportAssertion"
---

# SDL\_ReportAssertion(3)

Never call this directly.

## NAME

SDL\_ReportAssertion - Never call this directly.

## HEADER FILE

Defined in SDL3/SDL\_assert.h

## SYNOPSIS

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

**SDL\_AssertState SDL\_ReportAssertion(SDL\_AssertData \*data,**                                 **const char \*func,**                                 **const char \*file, int line);**

## DESCRIPTION

Use the  **SDL\_assert**\
  macros instead.

## FUNCTION PARAMETERS

- *data*

  assert data structure.

- *func*

  function name.

- *file*

  file name.

- *line*

  line number.

## RETURN VALUE

( **SDL\_AssertState** ) Returns assert state.

## THREAD SAFETY

It is safe to call this function from any thread.

## AVAILABILITY

This function is available since SDL 3.2.0.
