logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Availability

       This macro is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                                    SDL_RESTRICT(3)

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.

Name

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

Synopsis

#include<SDL3/SDL_begin_code.h>#defineSDL_RESTRICT__restrict__

See Also