Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_UINT64_C - Append the 64 bit integer suffix to an unsigned integer literal.

Availability

       This macro is available since SDL 3.2.0.

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.

Name

       SDL_UINT64_C - Append the 64 bit integer suffix to an unsigned integer literal.

See Also

SDL_SINT64_C(3)

Simple Directmedia Layer                           SDL 3.2.20                                    SDL_UINT64_C(3)

Synopsis

#include<SDL3/SDL_stdinc.h>#defineSDL_UINT64_C(c)c##ULL/*orwhateverthecurrentcompileruses.*/

See Also