set_parent_refcount


Description:

public bool set_parent_refcount (int refcount)

Sets the parent_refcount field of CapsFeatures.

This field is used to determine whether a caps features is mutable or not. This function should only be called by code implementing parent objects of CapsFeatures, as described in [the MT refcounting design document](additional/design/MT-refcounting.md).

Parameters:

this

a CapsFeatures

refcount

a pointer to the parent's refcount

Returns:

true if the parent refcount could be set.




2022 vala-language.org