SDL_REQUIRES(3)
πΈ NAME πΈ
okay so bestie, welcome to SDL_REQUIRES(3) β that's the page name, and it lives in the SDL3 FUNCTIONS manual, periodt. π
SDL_REQUIRES is literally just a wrapper around Clang thread safety analysis annotations. that's the whole vibe. no cap. β¨
π SYNOPSIS π
#include <SDL3/SDL_mutex.h>
#define SDL_REQUIRES(x) \
SDL_THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(x))
π DESCRIPTION π
so like, the actual deep lore? pls see https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#mutex-h β that's where the real explanation is at, bestie. go read it, it's giving "mutex h" section energy. π¦
π AVAILABILITY π
this macro has been available since SDL 3.2.0, so if you're on anything olderβ¦ not me being dramatic but you're lowkey missing out π. it's been here since SDL 3.2.0, fr fr. π
mwah π this whole page came from <strong>Simple Directmedia Layer</strong>, version <strong>SDL 3.4.18</strong> β that's the source and the version, and yeah, that's the sign-off. stay slaying, bestie π«Άβ¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms