logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_TLSDestructorCallback - The callback used to cleanup data passed to SDL_SetTLS.

Availability

       This datatype is available since SDL 3.2.0.

Description

       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.

Name

       SDL_TLSDestructorCallback - The callback used to cleanup data passed to SDL_SetTLS.

See Also

SDL_SetTLS(3)

Simple Directmedia Layer                           SDL 3.2.20                   SDL_TLSDestructorCallback(3type)

Synopsis

#include<SDL3/SDL_thread.h>typedefvoid(SDLCALL*SDL_TLSDestructorCallback)(void*value);

See Also