[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 01/21] qom: documentation addition
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 01/21] qom: documentation addition |
Date: |
Wed, 2 May 2012 13:30:53 +0200 |
Signed-off-by: Paolo Bonzini <address@hidden>
---
include/qemu/object.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/qemu/object.h b/include/qemu/object.h
index ca1649c..d315dfa 100644
--- a/include/qemu/object.h
+++ b/include/qemu/object.h
@@ -555,6 +555,12 @@ ObjectClass *object_class_dynamic_cast(ObjectClass *klass,
*/
const char *object_class_get_name(ObjectClass *klass);
+/**
+ * object_class_by_name:
+ * @typename: The QOM typename to obtain the class for.
+ *
+ * Returns: The class for @typename.
+ */
ObjectClass *object_class_by_name(const char *typename);
void object_class_foreach(void (*fn)(ObjectClass *klass, void *opaque),
--
1.7.9.3