Function SDL_TLSGet
pub unsafe extern "C" fn SDL_TLSGet(id: u32) -> *mut c_void
Available on crate feature
dep_sdl2
only.Expand description
Get the current thread’s value associated with a thread local storage ID.
\param id the thread local storage ID \returns the value associated with the ID for the current thread or NULL if no value has been set; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_TLSCreate \sa SDL_TLSSet