SDL_PRIu64(3)

πŸ’– SDL_PRIu64(3) β€” SDL3 FUNCTIONS πŸ’–

okay bestie, this is the SDL3 FUNCTIONS page for a tiny but mighty macro. it's giving β€œone job, done flawlessly.” no cap.


✨ NAME ✨

SDL_PRIu64 β€” a printf-formatting string for a Uint64 value. that's literally it. that's the whole assignment. πŸ’…


πŸ“œ SYNOPSIS πŸ“œ

#include <SDL3/SDL_stdinc.h>

#define SDL_PRIu64 "llu"

🫢 DESCRIPTION 🫢

Use it like this:

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

so you're just out here concatenating the format string, and SDL_PRIu64 slides in with the exact right conversion for a Uint64. main character macro behavior, fr fr. 🌈


🌈 AVAILABILITY 🌈

This macro is available since SDL 3.2.0. ✨


πŸ’Œ cute little sign-off: this page came from Simple Directmedia Layer, version SDL 3.4.18, and the footer tag is SDL_PRIu64(3). date? the footer isn't giving us one here, bestie, so we're just gonna vibe with the version and keep it moving. πŸŽ€πŸ’–
πŸ“¦ where this page comes from