table of contents
other versions
- testing 3.2.10+ds-1
- unstable 3.2.10+ds-1
- experimental 3.3~git20250806+ds-1
SDL_STRINGIFY_ARG(3) | SDL3 FUNCTIONS | SDL_STRINGIFY_ARG(3) |
NAME¶
SDL_STRINGIFY_ARG - Macro useful for building other macros with strings in them.
SYNOPSIS¶
#include <SDL3/SDL_stdinc.h>
#define SDL_STRINGIFY_ARG(arg) #arg
DESCRIPTION¶
For example:
-
#define LOG_ERROR(X) OutputDebugString(SDL_STRINGIFY_ARG(__FUNCTION__) ": " X "\n")`
MACRO PARAMETERS¶
- arg
- the text to turn into a string literal.
AVAILABILITY¶
This macro is available since SDL 3.2.0.
SDL 3.3.0 | Simple Directmedia Layer |