Function sdl2_sys::SDL_TLSGet

source ·
pub unsafe extern "C" fn SDL_TLSGet(id: SDL_TLSID) -> *mut c_void
Expand description

\brief Get the value associated with a thread local storage ID for the current thread.

\param id The thread local storage ID

\return The value associated with the ID for the current thread, or NULL if no value has been set.

\sa SDL_TLSCreate() \sa SDL_TLSSet()