78
78
typedef struct _DBusGMethodInfo DBusGMethodInfo;
81
* Object typically generated by dbus-binding-tool that
82
* @function: C method to invoke
83
* @marshaller: Marshaller to invoke method
84
* @data_offset: Offset into the introspection data
86
* Object typically generated by #dbus-binding-tool that
82
87
* stores a mapping from introspection data to a
83
88
* function pointer for a C method to be invoked.
85
90
struct _DBusGMethodInfo
87
GCallback function; /**< C method to invoke */
88
GClosureMarshal marshaller; /**< Marshaller to invoke method */
89
int data_offset; /**< Offset into the introspection data */
93
GClosureMarshal marshaller;
93
* Introspection data for a GObject, normally autogenerated by
94
* a tool such as dbus-binding-tool.
99
* @format_version: Allows us to change the rest of this struct
100
* by adding DBusGObjectInfo2, DBusGObjectInfo3, etc.
101
* @method_infos: Array of method pointers
102
* @n_method_infos: Length of the infos array
103
* @data: Introspection data
104
* @exported_signals: Exported signals
105
* @exported_properties: Exported properties
107
* Introspection data for a #GObject, normally autogenerated by
108
* a tool such as #dbus-binding-tool.
96
110
struct _DBusGObjectInfo
98
int format_version; /**< Allows us to change the rest of this struct
99
* by adding DBusGObjectInfo2, DBusGObjectInfo3, etc.
101
const DBusGMethodInfo *method_infos; /**< Array of method pointers */
102
int n_method_infos; /**< Length of the infos array */
103
const char *data; /**< Introspection data */
104
const char *exported_signals; /**< Exported signals */
105
const char *exported_properties; /**< Exported properties */
114
const DBusGMethodInfo *method_infos;
117
const char *exported_signals;
118
const char *exported_properties;
108
121
void dbus_g_object_type_install_info (GType object_type,