[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH] qom/object.h: remove some child/
Re: [Qemu-trivial] [Qemu-devel] [PATCH] qom/object.h: remove some child/parent doc
Fri, 4 Sep 2015 23:42:54 +0200
On Fri, Sep 4, 2015 at 11:25 PM, Peter Crosthwaite
> On Fri, Sep 4, 2015 at 2:01 PM, <address@hidden> wrote:
>> From: Marc-André Lureau <address@hidden>
>> It looks like this documentation is obsolete: a child object may lookup
>> its parent stored in the Object struct.
> Using a function wrapper or direct access to Object structure field?
By direct access to the struct field.
> The latter would indicate they are workarounds. Which legit uses of
> parent identification are you referring to?
I am not saying this is legit or not to use this field, it's just
wrong documentation to me: the relationship is bidirectionnal. That's
one of the few differences with the link<> properties.