SDL_TLSDestructorCallback(3type)

SDL_TLSDestructorCallback3type

The callback used to cleanup data passed to sdl_settls .

Usage

#include "SDL3/SDL.h"

typedef void (SDLCALL *SDL_TLSDestructorCallback)(void *value);

Header file

Defined in SDL3/SDL_thread.h

Overview

This is called when a thread exits, to allow an app to free any resources.

Function parameters

value

a pointer previously handed to SDL_SetTLS .

Availability

This datatype is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.