Skip to contentSkip to conversation

Some small documentation fixes

PATCH Applied Andreas Färber 2 participants 4 messages Feb 16, 2012 – Feb 17, 2012

lore
Share & tools
lore
#2 lore raw

PATCH 2/2 qom: Fix identifiers in documentation

In reply to Andreas Färber

Fixes gtk-doc warnings.

---
 include/qemu/object.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/qemu/object.h +2 -2
index c871254..5179c0c 100644
@@ -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
#0 lore raw

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

Cc Anthony Liguori <[email protected]>

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
#1 lore raw

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
index 69cc2ab..c871254 100644
@@ -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
#3 lore raw
In reply to Andreas Färber
Quoted 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,
Andreas

Cc Anthony Liguori<[email protected]>

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(-)