SDL_STRINGIFY_ARG(3)

SDL_STRINGIFY_ARG3

Macro useful for building other macros with strings in them.

Usage

#include "SDL3/SDL.h"

#define SDL_STRINGIFY_ARG(arg) #arg

Header file

Defined in SDL3/SDL_stdinc.h

Overview

For example:

#define LOG_ERROR(X) OutputDebugString(SDL_STRINGIFY_ARG(__FUNCTION__) ": " X "0)`

Availability

This macro is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.