Fix docs for D-Bus introspection data structures

Mark structs as boxed types and use /*< public >*/ so the struct
members are properly shown.

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen 2011-06-03 14:39:04 -04:00
parent 723adbc2fe
commit 6d54505b2d
2 changed files with 14 additions and 0 deletions

View File

@ -145,3 +145,10 @@ g_dbus_object_proxy_get_type
g_dbus_object_manager_get_type
g_dbus_object_manager_client_get_type
g_dbus_object_manager_server_get_type
g_dbus_annotation_info_get_type
g_dbus_arg_info_get_type
g_dbus_property_info_get_type
g_dbus_signal_info_get_type
g_dbus_method_info_get_type
g_dbus_interface_info_get_type
g_dbus_node_info_get_type

View File

@ -44,6 +44,7 @@ G_BEGIN_DECLS
*/
struct _GDBusAnnotationInfo
{
/*< public >*/
volatile gint ref_count;
gchar *key;
gchar *value;
@ -63,6 +64,7 @@ struct _GDBusAnnotationInfo
*/
struct _GDBusArgInfo
{
/*< public >*/
volatile gint ref_count;
gchar *name;
gchar *signature;
@ -83,6 +85,7 @@ struct _GDBusArgInfo
*/
struct _GDBusMethodInfo
{
/*< public >*/
volatile gint ref_count;
gchar *name;
GDBusArgInfo **in_args;
@ -103,6 +106,7 @@ struct _GDBusMethodInfo
*/
struct _GDBusSignalInfo
{
/*< public >*/
volatile gint ref_count;
gchar *name;
GDBusArgInfo **args;
@ -123,6 +127,7 @@ struct _GDBusSignalInfo
*/
struct _GDBusPropertyInfo
{
/*< public >*/
volatile gint ref_count;
gchar *name;
gchar *signature;
@ -145,6 +150,7 @@ struct _GDBusPropertyInfo
*/
struct _GDBusInterfaceInfo
{
/*< public >*/
volatile gint ref_count;
gchar *name;
GDBusMethodInfo **methods;
@ -167,6 +173,7 @@ struct _GDBusInterfaceInfo
*/
struct _GDBusNodeInfo
{
/*< public >*/
volatile gint ref_count;
gchar *path;
GDBusInterfaceInfo **interfaces;