mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 06:43:53 -06:00
object: rename link "child" to "target"
A child property is a different kind of property. Let's use "target" for the link target. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200110153039.1379601-14-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
8770bafdc9
commit
36854207f0
2 changed files with 14 additions and 14 deletions
|
@ -1528,7 +1528,7 @@ void object_property_allow_set_link(const Object *, const char *,
|
|||
* @obj: the object to add a property to
|
||||
* @name: the name of the property
|
||||
* @type: the qobj type of the link
|
||||
* @child: a pointer to where the link object reference is stored
|
||||
* @targetp: a pointer to where the link object reference is stored
|
||||
* @check: callback to veto setting or NULL if the property is read-only
|
||||
* @flags: additional options for the link
|
||||
* @errp: if an error occurs, a pointer to an area to store the error
|
||||
|
@ -1553,7 +1553,7 @@ void object_property_allow_set_link(const Object *, const char *,
|
|||
* modified.
|
||||
*/
|
||||
void object_property_add_link(Object *obj, const char *name,
|
||||
const char *type, Object **child,
|
||||
const char *type, Object **targetp,
|
||||
void (*check)(const Object *obj, const char *name,
|
||||
Object *val, Error **errp),
|
||||
ObjectPropertyLinkFlags flags,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue