SDL_GUARDED_BY(3)

✨ NAME ✨

omg hey bestie, welcome to the SDL_GUARDED_BY(3) page from the SDL3 FUNCTIONS manual πŸ’–

SDL_GUARDED_BY β€” a wrapper around Clang thread safety analysis annotations 🫢

✨ SYNOPSIS ✨

#include <SDL3/SDL_mutex.h>

#define SDL_GUARDED_BY(x) \
  SDL_THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))

✨ DESCRIPTION ✨

okay so the whole description is literally: please see https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#mutex-h πŸ’…

✨ AVAILABILITY ✨

This macro is available since SDL 3.2.0 ✨


mwah πŸ’– this iconic page comes from Simple Directmedia Layer, version SDL 3.4.18, for SDL_GUARDED_BY(3) β€” periodt πŸ‘‘

πŸ“¦ where this page comes from