Man page - sdl_function(3)

Packages contas this manual

Manual

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