###### (This is the documentation for SDL3, which is the current stable version. [SDL2](https://wiki.libsdl.org/SDL2/) was the previous version!) # SDL_RESTRICT A macro to tag a pointer variable, to help with pointer aliasing. ## Header File Defined in [](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_begin_code.h) ## Syntax ```c #define SDL_RESTRICT __restrict__ ``` ## Remarks 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. ## Version This macro is available since SDL 3.1.3. ---- [CategoryAPI](CategoryAPI), [CategoryAPIMacro](CategoryAPIMacro), [CategoryBeginCode](CategoryBeginCode)