Function swift_runtime_sys::root::swift::swift_weakTakeStrong

source ยท
pub unsafe extern "C" fn swift_weakTakeStrong(
    ref_: *mut WeakReference,
) -> *mut HeapObject
Expand description

Load a value from a weak reference as if by swift_weakLoadStrong, but leaving the reference in an uninitialized state.

\param ref - never null \return can be null