SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_FILE

A macro that reports the current file being compiled.

Header File

Defined in <SDL3/SDL_assert.h>

Syntax

#define SDL_FILE    __FILE_NAME__

Remarks

This macro is only defined if it isn't already defined, so to override it (perhaps with something that doesn't provide path information at all, so build machine information doesn't leak into public binaries), apps can define this macro before including SDL.h or SDL_assert.h.

Version

This macro is available since SDL 3.2.0.


CategoryAPI, CategoryAPIMacro, CategoryAssert


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.