DOKK / manpages / debian 13 / libsdl3-doc / SDL_FUNCTION.3.en
SDL_FUNCTION(3) SDL3 FUNCTIONS SDL_FUNCTION(3)

SDL_FUNCTION - A macro that reports the current function being compiled.

Defined in SDL3/SDL_assert.h

#include "SDL3/SDL.h"
#define SDL_FUNCTION __FUNCTION__

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

This macro is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer