Function swift_runtime_sys::root::swift::swift_tryRetain
source ยท pub unsafe extern "C" fn swift_tryRetain(
object: *mut HeapObject,
) -> *mut HeapObject
Expand description
Atomically increments the reference count of an object, unless it has already been destroyed. Returns nil if the object is dead.