---
name: "SDL_FUNCTION"
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_FUNCTION"
---

# SDL\_FUNCTION(3)

A macro that reports the current function being compiled.

## NAME

SDL\_FUNCTION - A macro that reports the current function being compiled.

## HEADER FILE

Defined in SDL3/SDL\_assert.h

## SYNOPSIS

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

**#define SDL\_FUNCTION \_\_FUNCTION\_\_**

## DESCRIPTION

If SDL can't figure how the compiler reports this, it will use "???".

## AVAILABILITY

This macro is available since SDL 3.2.0.
