Some small documentation fixes
cover Some small documentation fixes
Hey,
I've taken the liberty of rebasing Anthony's gtk-doc patches to verify the documentation I'm adding in the CPU series. Here's some warning fixes that came out of this endeavor.
Two open issues remain:
* Identifier extensions (e.g., #Objects) lead to warnings.
* Some structs are not picked up correctly, such as Object.
Regards,
Andreas
Andreas Färber (2):
qom: Fix typo in Object's documentation
qom: Fix identifiers in documentation
include/qemu/object.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.7
PATCH 1/2 qom: Fix typo in Object's documentation
Fixes a warning from gtk-doc.
--- include/qemu/object.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/qemu/object.h +1 -1
@@ -330,7 +330,7 @@ struct TypeInfo/** * OBJECT_CLASS: -* @class: A derivative of #ObjectClas. +* @class: A derivative of #ObjectClass. * * Converts a class to an #ObjectClass. Since all objects are #Objects, * this function will always succeed.
Signature · 1 line
1.7.7
PATCH 2/2 qom: Fix identifiers in documentation
In reply to Andreas FärberFixes gtk-doc warnings.
--- include/qemu/object.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
include/qemu/object.h +2 -2
@@ -486,7 +486,7 @@ void object_finalize(void *obj);Object *object_dynamic_cast (Object *obj,const char *typename);/** -* @object_dynamic_cast_assert: +* object_dynamic_cast_assert: * * See object_dynamic_cast() for a description of the parameters of this * function. The only difference in behavior is that this function asserts
@@ -730,7 +730,7 @@ void object_property_set(Object *obj, struct Visitor *v, const char *name, struct Error **errp);/** -* @object_property_get_type: +* object_property_get_type: * @obj: the object * @name: the name of the property * @errp: returns an error if this function fails
Signature · 1 line
1.7.7
Anthony Liguori
AppliedQuoted 9 lines · Andreas Färber
Hey,
I've taken the liberty of rebasing Anthony's gtk-doc patches to verify the documentation I'm adding in the CPU series. Here's some warning fixes that came out of this endeavor.
Two open issues remain:
* Identifier extensions (e.g., #Objects) lead to warnings.
* Some structs are not picked up correctly, such as Object.
Applied all. Thanks.
Regards,
Anthony Liguori
Quoted 13 lines
Regards,
AndreasCc Anthony Liguori<[email protected]>Andreas Färber (2):
qom: Fix typo in Object's documentation
qom: Fix identifiers in documentationinclude/qemu/object.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)