Function swift_runtime_sys::root::swift::swift_weakLoadStrong
source ยท pub unsafe extern "C" fn swift_weakLoadStrong(
ref_: *mut WeakReference,
) -> *mut HeapObject
Expand description
Load a value from a weak reference. If the current value is a non-null object that has begun deallocation, returns null; otherwise, retains the object before returning.
\param ref - never null \return can be null