pub type SDL_TLSDestructorCallback = Option<unsafe extern "C" fn(value: *mut c_void)>;Expand description
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.
§Parameters
value: a pointer previously handed toSDL_SetTLS.
§Availability
This datatype is available since SDL 3.2.0.
§See also
Aliased Type§
pub enum SDL_TLSDestructorCallback {
None,
Some(unsafe extern "C" fn(*mut c_void)),
}