| SDL_TLSDestructorCallback(3type) | SDL3 DATATYPES | SDL_TLSDestructorCallback(3type) |
SDL_TLSDestructorCallback - The callback used to cleanup data passed to SDL_SetTLS .
Defined in SDL3/SDL_thread.h
#include "SDL3/SDL.h"
typedef void (SDLCALL *SDL_TLSDestructorCallback)(void *value);
This is called when a thread exits, to allow an app to free any resources.
This datatype is available since SDL 3.2.0.
•(3), SDL_SetTLS(3)
| SDL 3.2.10 | Simple Directmedia Layer |