All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] qom/object.h: remove some child/parent doc
@ 2015-09-04 21:01 ` marcandre.lureau
  0 siblings, 0 replies; 14+ messages in thread
From: marcandre.lureau @ 2015-09-04 21:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Marc-André Lureau

From: Marc-André Lureau <marcandre.lureau@redhat.com>

It looks like this documentation is obsolete: a child object may lookup
its parent stored in the Object struct.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 include/qom/object.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/qom/object.h b/include/qom/object.h
index 2f95ab3..653699f 100644
--- a/include/qom/object.h
+++ b/include/qom/object.h
@@ -1261,9 +1261,6 @@ Object *object_resolve_path_component(Object *parent, const gchar *part);
  * Child properties form the composition tree.  All objects need to be a child
  * of another object.  Objects can only be a child of one object.
  *
- * There is no way for a child to determine what its parent is.  It is not
- * a bidirectional relationship.  This is by design.
- *
  * The value of a child property as a C string will be the child object's
  * canonical path. It can be retrieved using object_property_get_str().
  * The child object itself can be retrieved using object_property_get_link().
-- 
2.4.3



^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-09-11 11:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-04 21:01 [Qemu-trivial] [PATCH] qom/object.h: remove some child/parent doc marcandre.lureau
2015-09-04 21:01 ` [Qemu-devel] " marcandre.lureau
2015-09-04 21:25 ` [Qemu-trivial] " Peter Crosthwaite
2015-09-04 21:25   ` Peter Crosthwaite
2015-09-04 21:42   ` [Qemu-trivial] " Marc-André Lureau
2015-09-04 21:42     ` Marc-André Lureau
2015-09-04 21:53     ` [Qemu-trivial] " Peter Crosthwaite
2015-09-04 21:53       ` Peter Crosthwaite
2015-09-07 15:46 ` [Qemu-trivial] " Andreas Färber
2015-09-07 15:46   ` Andreas Färber
2015-09-11 10:13   ` [Qemu-trivial] " Michael Tokarev
2015-09-11 10:13     ` [Qemu-devel] " Michael Tokarev
2015-09-11 11:14     ` [Qemu-trivial] " Andreas Färber
2015-09-11 11:14       ` [Qemu-devel] " Andreas Färber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.