Function yrs::youtput_read_yweak

source ยท
#[no_mangle]
pub unsafe extern "C" fn youtput_read_yweak(
    val: *const YOutput
) -> *mut Branch
Expand description

Attempts to read the value for a given YOutput pointer as an YWeakRef.

Returns a null pointer in case when a value stored under current YOutput cell is not an YWeakRef. Underlying heap resources are released automatically as part of youtput_destroy destructor.