SDL_TLSDestructorCallback - The callback used to cleanup data passed to SDL_SetTLS.
Contents
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);
