[][src]Function sdl2_sys::SDL_AtomicCASPtr

pub unsafe extern "C" fn SDL_AtomicCASPtr(
    a: *mut *mut c_void,
    oldval: *mut c_void,
    newval: *mut c_void
) -> SDL_bool

\brief Set a pointer to a new value if it is currently an old value.

\return SDL_TRUE if the pointer was set, SDL_FALSE otherwise.

\note If you don't know what this function is for, you shouldn't use it!