SDL_RESTRICT - Man Page

A macro to tag a pointer variable, to help with pointer aliasing.

Header File

Defined in SDL3/SDL_begin_code.h

Synopsis

#include "SDL3/SDL.h"

#define SDL_RESTRICT __restrict__

Description

A good explanation of the restrict keyword is here:

https://en.wikipedia.org/wiki/Restrict

On compilers without restrict support, this is defined to nothing.

Availability

This macro is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS