SDL_PRILLd(3)

SDL_PRILLd(3) β€” okay bestie, this one is from the SDL3 FUNCTIONS manual and it's literally just a tiny macro that knows how to format a long long. No cap. πŸ’…

✨ NAME ✨

  • SDL_PRILLd β€” a printf-formatting string for a long long value. 🫢

πŸŽ€ SYNOPSIS πŸŽ€

#include <SDL3/SDL_stdinc.h>

#define SDL_PRILLd SDL_PRILL_PREFIX "d"

🌸 DESCRIPTION 🌸

Use it like this, bestie:

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

That's the whole move: you drop SDL_PRILLd into your format string when you're dealing with a long long value. ✨

πŸ’« AVAILABILITY πŸ’«

This macro is available since SDL 3.2.0. Periodt. πŸ”₯


cute sign-off time: this page comes from Simple Directmedia Layer, version SDL 3.4.18, and it's the SDL_PRILLd(3) page. There's no date in the footer, just those deets. πŸ’–βœ¨

πŸ“¦ where this page comes from