SDL_PRIs64(3)

πŸ’– SDL_PRIs64(3) β€” from the SDL3 FUNCTIONS manual πŸ’–

okay bestie, welcome to the manual page for SDL_PRIs64. It's a macro. It's cute. It's giving printf energy. Let's go. ✨


πŸŽ€ NAME πŸŽ€

SDL_PRIs64 β€” a printf-formatting string for an Sint64 value. That's the whole job, and she does it flawlessly. πŸ’…


✨ SYNOPSIS ✨

okay so you get it in your code like this, no cap:

#include <SDL3/SDL_stdinc.h>

#define SDL_PRIs64 "lld"

πŸ¦‹ DESCRIPTION πŸ¦‹

Use it like this, bestie:

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

Like, the way that % and the macro and the string all hold hands? Obsessed. πŸ˜­πŸ’– It's the printf-formatting string for an Sint64 value, so you pop it into your format string and let it slay.


🌸 AVAILABILITY 🌸

This macro is available since SDL 3.2.0. Periodt. πŸ‘‘


β€” with love from the Simple Directmedia Layer girlies πŸ’– SDL 3.4.18, page SDL_PRIs64(3), and the footer didn't give a date so I'm not making one up, fr fr. 🫢

πŸ“¦ where this page comes from