Sync SDL3 wiki -> header
This commit is contained in:
@@ -494,8 +494,7 @@ extern SDL_DECLSPEC void * SDLCALL SDL_GetTLS(SDL_TLSID id);
|
|||||||
/**
|
/**
|
||||||
* The callback used to cleanup data passed to SDL_SetTLS.
|
* The callback used to cleanup data passed to SDL_SetTLS.
|
||||||
*
|
*
|
||||||
* This is called when a thread exits, to allow an app to
|
* This is called when a thread exits, to allow an app to free any resources.
|
||||||
* free any resources.
|
|
||||||
*
|
*
|
||||||
* \param value a pointer previously handed to SDL_SetTLS.
|
* \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
|
* Note that replacing a value from a previous call to this function on the
|
||||||
* same thread does _not_ call the previous value's destructor!
|
* same thread does _not_ call the previous value's destructor!
|
||||||
*
|
*
|
||||||
* `destructor` can be NULL; it is assumed that `value` does not need
|
* `destructor` can be NULL; it is assumed that `value` does not need to be
|
||||||
* to be cleaned up if so.
|
* cleaned up if so.
|
||||||
*
|
*
|
||||||
* \param id the thread local storage ID
|
* \param id the thread local storage ID
|
||||||
* \param value the value to associate with the ID for the current thread
|
* \param value the value to associate with the ID for the current thread
|
||||||
|
|||||||
Reference in New Issue
Block a user