SDL_TLSDestructorCallback.3type - Man Page
The callback used to cleanup data passed to SDL_SetTLS .
Header File
Defined in SDL3/SDL_thread.h
Synopsis
#include "SDL3/SDL.h" typedef void (SDLCALL *SDL_TLSDestructorCallback)(void *value);
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 .
Availability
This datatype is available since SDL 3.2.0.
See Also
·(3), SDL_SetTLS(3)
Info
SDL 3.2.2 Simple Directmedia Layer SDL3 DATATYPES