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

SDL_PRISZx

A printf-formatting string for an size_t value as lower-case hexadecimal.

Header File

Defined in <SDL3/SDL_stdinc.h>

Syntax

#define SDL_PRISZx SDL_PRISZ_PREFIX "x"

Remarks

Use it like this:

SDL_Log("There are %" SDL_PRISZx " bottles of beer on the wall.", bottles);

Version

This macro is available since SDL 3.6.0.


CategoryAPI, CategoryAPIMacro, CategoryStdinc


[ 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.