The callback used to cleanup data passed to SDL_SetTLS.
Defined in <SDL3/SDL_thread.h>
typedef void (SDLCALL *SDL_TLSDestructorCallback)(void *value);
value | a pointer previously handed to SDL_SetTLS. |
This is called when a thread exits, to allow an app to free any resources.
This datatype is available since SDL 3.1.3.