comet_weak_upgrade

Function comet_weak_upgrade 

Source
#[unsafe(no_mangle)]
pub extern "C" fn comet_weak_upgrade( weak: WeakGcRef, ) -> *mut HeapObjectHeader
Expand description

Upgrade weak ref. If it is still alive then pointer is returned otherwise NULL is returned.