Scroll to navigation

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.

HEADER FILE

Defined in SDL3/SDL_stdinc.h

SYNOPSIS

#include "SDL3/SDL.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.1.3.

SEE ALSO

(3), SDL_SINT64_C(3)

SDL 3.1.6 Simple Directmedia Layer