aboutsummaryrefslogtreecommitdiff
path: root/include/qom
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-09-10 18:15:19 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-30 19:11:36 +0200
commit11e1c3addf12a964d785cc72153f0d2acc5f6fc9 (patch)
treea3e028dda8cc51843a725960b1e0b6058fe57d6b /include/qom
parent1827c35b6bde98a0f8e4f09b03d3a6dd3bbf37a2 (diff)
downloadqemu-11e1c3addf12a964d785cc72153f0d2acc5f6fc9.zip
qemu-11e1c3addf12a964d785cc72153f0d2acc5f6fc9.tar.gz
qemu-11e1c3addf12a964d785cc72153f0d2acc5f6fc9.tar.bz2
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 77e6887..dd8f449 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;
};