value_decref

Function value_decref 

Source
pub unsafe extern "C" fn value_decref(
    context: *mut c_context,
    value: *mut value,
) -> err
Expand description

@brief Decrement the garbage collector reference counter for the given object @ingroup value

When the counter reaches zero, the nix_value object becomes invalid. The data referenced by nix_value may not be deallocated until the memory garbage collector has run, but deallocation is not guaranteed.

@param[out] context Optional, stores error information @param[in] value The object to stop referencing