Remove SDL_RESTRICT in favor of doc comments

This commit is contained in:
Carl Åstholm
2024-09-09 18:34:29 +02:00
committed by Sam Lantinga
parent 731939fca1
commit d6caf2abe7
3 changed files with 1 additions and 12 deletions

View File

@@ -225,13 +225,3 @@
#define SDL_ALLOC_SIZE2(p1, p2)
#endif
#endif /* SDL_ALLOC_SIZE2 not defined */
#ifndef SDL_RESTRICT
#if defined(__GNUC__)
#define SDL_RESTRICT __restrict__
#elif defined(_MSC_VER)
#define SDL_RESTRICT __restrict
#else
#define SDL_RESTRICT
#endif
#endif