SDL_RETURN_CAPABILITY - Man Page

Wrapper around Clang thread safety analysis annotations.

Header File

Defined in SDL3/SDL_mutex.h

Synopsis

#include "SDL3/SDL.h"

#define SDL_RETURN_CAPABILITY(x) .BI SDL_THREAD_ANNOTATION_ATTRIBUTE__(lock_returned(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