Skip to main content

SDL_PRIX32

Constant SDL_PRIX32 

Source
pub const SDL_PRIX32: *const c_char = _; // {alloc24460<imm>: *const i8}
Expand description

A printf-formatting string for a Uint32 value as upper-case hexadecimal.

Use it like this:

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

ยงAvailability

This macro is available since SDL 3.2.0.