SDL_FUNCTION(3)

SDL_FUNCTION3

A macro that reports the current function being compiled.

Usage

#include "SDL3/SDL.h"

#define SDL_FUNCTION __FUNCTION__

Header file

Defined in SDL3/SDL_assert.h

Overview

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

Availability

This macro is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.