(This is the documentation for SDL3, which is the current stable version. SDL2 was the previous version!)
SDL_FILE
A macro that reports the current file being compiled.
Defined in <SDL3/SDL_assert.h>
Syntax
#define SDL_FILE __FILE__
Version
This macro is available since SDL 3.1.3.
CategoryAPI, CategoryAPIMacro, CategoryAssert