summaryrefslogtreecommitdiffstats
path: root/include/qom
diff options
context:
space:
mode:
authorEduardo Habkost2020-09-11 00:15:19 +0200
committerPaolo Bonzini2020-09-30 19:11:36 +0200
commit11e1c3addf12a964d785cc72153f0d2acc5f6fc9 (patch)
treea3e028dda8cc51843a725960b1e0b6058fe57d6b /include/qom
parentqom: Document all function parameters in doc comments (diff)
downloadqemu-11e1c3addf12a964d785cc72153f0d2acc5f6fc9.tar.gz
qemu-11e1c3addf12a964d785cc72153f0d2acc5f6fc9.tar.xz
qemu-11e1c3addf12a964d785cc72153f0d2acc5f6fc9.zip
qom: Use kernel-doc private/public tags in structs
Use kernel-doc syntax for indicating private and public struct fields. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20200910221526.10041-3-ehabkost@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qom')
-rw-r--r--include/qom/object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/qom/object.h b/include/qom/object.h
index 77e6887b86..dd8f4496fc 100644
--- a/include/qom/object.h
+++ b/include/qom/object.h
@@ -520,7 +520,7 @@ typedef void (ObjectFree)(void *obj);
*/
struct ObjectClass
{
- /*< private >*/
+ /* private: */
Type type;
GSList *interfaces;
@@ -546,7 +546,7 @@ struct ObjectClass
*/
struct Object
{
- /*< private >*/
+ /* private: */
ObjectClass *class;
ObjectFree *free;
GHashTable *properties;
@@ -908,7 +908,7 @@ struct InterfaceInfo {
struct InterfaceClass
{
ObjectClass parent_class;
- /*< private >*/
+ /* private: */
ObjectClass *concrete_class;
Type interface_type;
};