SDL_SINT64_C(3)

SDL_SINT64_C3

Append the 64 bit integer suffix to a signed integer literal.

Usage

#include "SDL3/SDL.h"

#define SDL_SINT64_C(c) c ## LL /* or whatever the current compiler uses. */

Header file

Defined in SDL3/SDL_stdinc.h

Overview

This helps compilers that might believe a integer literal larger than 0xFFFFFFFF is overflowing a 32-bit value. Use SDL_SINT64_C(0xFFFFFFFF1) instead of 0xFFFFFFFF1 by itself.

Availability

This macro is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.