SDL_GUARDED_BY - Man Page
Wrapper around Clang thread safety analysis annotations.
Header File
Defined in SDL3/SDL_mutex.h
Synopsis
#include "SDL3/SDL.h" #define SDL_GUARDED_BY(x) .BI SDL_THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
Description
Please see https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#mutex-h
Availability
This macro is available since SDL 3.2.0.
Info
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS