mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
1827c35b6b
commit
11e1c3addf
|
@ -520,7 +520,7 @@ typedef void (ObjectFree)(void *obj);
|
||||||
*/
|
*/
|
||||||
struct ObjectClass
|
struct ObjectClass
|
||||||
{
|
{
|
||||||
/*< private >*/
|
/* private: */
|
||||||
Type type;
|
Type type;
|
||||||
GSList *interfaces;
|
GSList *interfaces;
|
||||||
|
|
||||||
|
@ -546,7 +546,7 @@ struct ObjectClass
|
||||||
*/
|
*/
|
||||||
struct Object
|
struct Object
|
||||||
{
|
{
|
||||||
/*< private >*/
|
/* private: */
|
||||||
ObjectClass *class;
|
ObjectClass *class;
|
||||||
ObjectFree *free;
|
ObjectFree *free;
|
||||||
GHashTable *properties;
|
GHashTable *properties;
|
||||||
|
@ -908,7 +908,7 @@ struct InterfaceInfo {
|
||||||
struct InterfaceClass
|
struct InterfaceClass
|
||||||
{
|
{
|
||||||
ObjectClass parent_class;
|
ObjectClass parent_class;
|
||||||
/*< private >*/
|
/* private: */
|
||||||
ObjectClass *concrete_class;
|
ObjectClass *concrete_class;
|
||||||
Type interface_type;
|
Type interface_type;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue