table of contents
SDL_UINT64_C(3) | SDL3 FUNCTIONS | SDL_UINT64_C(3) |
NAME¶
SDL_UINT64_C - Append the 64 bit integer suffix to an unsigned integer literal.
SYNOPSIS¶
#include <SDL3/SDL_stdinc.h>
#define SDL_UINT64_C(c) c ## ULL /* or whatever the current compiler uses. */
DESCRIPTION¶
This helps compilers that might believe a integer literal larger than 0xFFFFFFFF is overflowing a 32-bit value. Use SDL_UINT64_C(0xFFFFFFFF1) instead of 0xFFFFFFFF1 by itself.
AVAILABILITY¶
This macro is available since SDL 3.2.0.
SEE ALSO¶
SDL 3.2.14 | Simple Directmedia Layer |