mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 09:27:39 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
parent
96f2ef77ab
commit
f003461a0b
1 changed files with 3 additions and 4 deletions
|
@ -494,8 +494,7 @@ extern SDL_DECLSPEC void * SDLCALL SDL_GetTLS(SDL_TLSID id);
|
|||
/**
|
||||
* The callback used to cleanup data passed to SDL_SetTLS.
|
||||
*
|
||||
* This is called when a thread exits, to allow an app to
|
||||
* free any resources.
|
||||
* This is called when a thread exits, to allow an app to free any resources.
|
||||
*
|
||||
* \param value a pointer previously handed to SDL_SetTLS.
|
||||
*
|
||||
|
@ -511,8 +510,8 @@ typedef void (SDLCALL *SDL_TLSDestructorCallback)(void *value);
|
|||
* Note that replacing a value from a previous call to this function on the
|
||||
* same thread does _not_ call the previous value's destructor!
|
||||
*
|
||||
* `destructor` can be NULL; it is assumed that `value` does not need
|
||||
* to be cleaned up if so.
|
||||
* `destructor` can be NULL; it is assumed that `value` does not need to be
|
||||
* cleaned up if so.
|
||||
*
|
||||
* \param id the thread local storage ID
|
||||
* \param value the value to associate with the ID for the current thread
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue