pub unsafe extern "C" fn object_property_add_alias(
    obj: *mut Object,
    name: *const c_char,
    target_obj: *mut Object,
    target_name: *const c_char,
    errp: *mut *mut Error
)
Expand description

object_property_add_alias: @obj: the object to add a property to @name: the name of the property @target_obj: the object to forward property access to @target_name: the name of the property on the forwarded object @errp: if an error occurs, a pointer to an area to store the error

Add an alias for a property on an object. This function will add a property of the same type as the forwarded property.

The caller must ensure that @target_obj stays alive as long as this property exists. In the case of a child object or an alias on the same object this will be the case. For aliases to other objects the caller is responsible for taking a reference.