Function sdl2_sys::SDL_AtomicSetPtr
source · pub unsafe extern "C" fn SDL_AtomicSetPtr(
a: *mut *mut c_void,
v: *mut c_void,
) -> *mut c_void
Expand description
Set a pointer to a value atomically.
Note: If you don’t know what this function is for, you shouldn’t use it!
\param a a pointer to a pointer \param v the desired pointer value \returns the previous value of the pointer.
\since This function is available since SDL 2.0.2.
\sa SDL_AtomicCASPtr \sa SDL_AtomicGetPtr