Function sdl2_sys::SDL_TLSGet
source · pub unsafe extern "C" fn SDL_TLSGet(id: SDL_TLSID) -> *mut c_void
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