Man page - sdl_assert_shared_capability(3)

Packages contains this manual

Manual

SDL_ASSERT_SHARED_CAPABILITY

NAME
HEADER FILE
SYNOPSIS
DESCRIPTION
AVAILABILITY

NAME

SDL_ASSERT_SHARED_CAPABILITY - Wrapper around Clang thread safety analysis annotations.

HEADER FILE

Defined in SDL3/SDL_mutex.h

SYNOPSIS

#include "SDL3/SDL.h"

#define SDL_ASSERT_SHARED_CAPABILITY(x) .BI SDL_THREAD_ANNOTATION_ATTRIBUTE__(assert_shared_capability(x))

DESCRIPTION

Please see https://clang.llvm.org/docs/ThreadSafetyAnalysis.html#mutex-h

AVAILABILITY

This macro is available since SDL 3.2.0.