SDL_PRILL_PREFIX - Man Page

A printf-formatting string prefix for a longlong value.

Header File

Defined in SDL3/SDL_stdinc.h

Synopsis

#include "SDL3/SDL.h"

#define SDL_PRILL_PREFIX ll"

Description

This is just the prefix! You probably actually want

SDL_PRILLd , SDL_PRILLu ,

SDL_PRILLx , or SDL_PRILLX
instead.

Use it like this:

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

Availability

This macro is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS