Hi,
> Subject: Re: [PATCH v3 4/7] qom: add description field in ObjectProperty
> struct
>
> Il 27/09/2014 07:13, arei.gong...@huawei.com ha scritto:
> > +void object_property_set_description(Object *obj, const char *name,
> > + const char *description, Error
>
Il 27/09/2014 07:13, arei.gong...@huawei.com ha scritto:
> +void object_property_set_description(Object *obj, const char *name,
> + const char *description, Error **errp)
> +{
> +ObjectProperty *op;
> +
> +op = object_property_find(obj, name, errp);
> +
From: Gonglei
The descriptions can serve as documentation in the code,
and they can be used to provide better help.
Cc: Paolo Bonzini
Cc: Michael S. Tsirkin
Cc: Markus Armbruster
Signed-off-by: Gonglei
---
include/qom/object.h | 15 +++
qom/object.c | 14 ++