diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-01-29 01:37:33 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-01-29 01:37:33 -0800 |
commit | 54bc2c77b9b2dffd9c4bc1a2b51c199252d5d575 (patch) | |
tree | 2fec1ba43055b84590f0e730830f60f25ee742c5 /binding | |
parent | db55cecfdfb91b5ef94b790003dd8d2b7dae8563 (diff) |
binding: bluetooth-pbap: remove compiler warnings
Remove compiler warnings on gdbus generated code by regenerating
with gdbus-codegen 2.56.3
Change-Id: I1a5f136873a44a09cb0cc2b13aa273a38f5d45e4
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding')
-rw-r--r-- | binding/gdbus/freedesktop_dbus_properties_interface.c | 49 | ||||
-rw-r--r-- | binding/gdbus/freedesktop_dbus_properties_interface.h | 5 | ||||
-rw-r--r-- | binding/gdbus/obex_client1_interface.c | 73 | ||||
-rw-r--r-- | binding/gdbus/obex_client1_interface.h | 5 | ||||
-rw-r--r-- | binding/gdbus/obex_phonebookaccess1_interface.c | 73 | ||||
-rw-r--r-- | binding/gdbus/obex_phonebookaccess1_interface.h | 5 | ||||
-rw-r--r-- | binding/gdbus/obex_session1_interface.c | 41 | ||||
-rw-r--r-- | binding/gdbus/obex_session1_interface.h | 5 | ||||
-rw-r--r-- | binding/gdbus/obex_transfer1_interface.c | 49 | ||||
-rw-r--r-- | binding/gdbus/obex_transfer1_interface.h | 5 |
10 files changed, 160 insertions, 150 deletions
diff --git a/binding/gdbus/freedesktop_dbus_properties_interface.c b/binding/gdbus/freedesktop_dbus_properties_interface.c index add3a51..f34495c 100644 --- a/binding/gdbus/freedesktop_dbus_properties_interface.c +++ b/binding/gdbus/freedesktop_dbus_properties_interface.c @@ -1,7 +1,8 @@ /* - * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. + * Generated by gdbus-codegen 2.56.3. DO NOT EDIT. * - * The license of this code is the same as for the source it was derived from. + * The license of this code is the same as for the D-Bus interface description + * it was derived from. */ #ifdef HAVE_CONFIG_H @@ -418,7 +419,7 @@ org_freedesktop_dbus_properties_interface_info (void) /** * org_freedesktop_dbus_properties_override_properties: - * @klass: The class structure for a #GObject<!-- -->-derived class. + * @klass: The class structure for a #GObject derived class. * @property_id_begin: The property id to assign to the first overridden property. * * Overrides all #GObject properties in the #OrgFreedesktopDBusProperties interface for a concrete class. @@ -452,7 +453,7 @@ org_freedesktop_dbus_properties_override_properties (GObjectClass *klass, guint */ typedef OrgFreedesktopDBusPropertiesIface OrgFreedesktopDBusPropertiesInterface; -G_DEFINE_INTERFACE (OrgFreedesktopDBusProperties, org_freedesktop_dbus_properties, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (OrgFreedesktopDBusProperties, org_freedesktop_dbus_properties, G_TYPE_OBJECT) static void org_freedesktop_dbus_properties_default_init (OrgFreedesktopDBusPropertiesIface *iface) @@ -578,7 +579,7 @@ org_freedesktop_dbus_properties_emit_properties_changed ( * @proxy: A #OrgFreedesktopDBusPropertiesProxy. * @arg_interface_name: Argument to pass with the method invocation. * @arg_property_name: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -645,7 +646,7 @@ _out: * @arg_interface_name: Argument to pass with the method invocation. * @arg_property_name: Argument to pass with the method invocation. * @out_value: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-DBus-Properties.Get">Get()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -687,7 +688,7 @@ _out: * org_freedesktop_dbus_properties_call_get_all: * @proxy: A #OrgFreedesktopDBusPropertiesProxy. * @arg_interface_name: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -751,7 +752,7 @@ _out: * @proxy: A #OrgFreedesktopDBusPropertiesProxy. * @arg_interface_name: Argument to pass with the method invocation. * @out_properties: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-DBus-Properties.GetAll">GetAll()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -793,7 +794,7 @@ _out: * @arg_interface_name: Argument to pass with the method invocation. * @arg_property_name: Argument to pass with the method invocation. * @arg_value: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -859,7 +860,7 @@ _out: * @arg_interface_name: Argument to pass with the method invocation. * @arg_property_name: Argument to pass with the method invocation. * @arg_value: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-DBus-Properties.Set">Set()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -982,11 +983,11 @@ static void org_freedesktop_dbus_properties_proxy_iface_init (OrgFreedesktopDBus #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgFreedesktopDBusPropertiesProxy, org_freedesktop_dbus_properties_proxy, G_TYPE_DBUS_PROXY, G_ADD_PRIVATE (OrgFreedesktopDBusPropertiesProxy) - G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_proxy_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgFreedesktopDBusPropertiesProxy, org_freedesktop_dbus_properties_proxy, G_TYPE_DBUS_PROXY, - G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_proxy_iface_init)) #endif static void @@ -1023,8 +1024,8 @@ org_freedesktop_dbus_properties_proxy_g_signal (GDBusProxy *proxy, GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; - guint n; + gsize num_params; + gsize n; guint signal_id; info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_freedesktop_dbus_properties_interface_info.parent_struct, signal_name); if (info == NULL) @@ -1124,9 +1125,9 @@ org_freedesktop_dbus_properties_proxy_iface_init (OrgFreedesktopDBusPropertiesIf * org_freedesktop_dbus_properties_proxy_new: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -1179,9 +1180,9 @@ org_freedesktop_dbus_properties_proxy_new_finish ( * org_freedesktop_dbus_properties_proxy_new_sync: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-DBus-Properties.top_of_page">org.freedesktop.DBus.Properties</link>. See g_dbus_proxy_new_sync() for more details. @@ -1216,7 +1217,7 @@ org_freedesktop_dbus_properties_proxy_new_sync ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -1271,7 +1272,7 @@ org_freedesktop_dbus_properties_proxy_new_for_bus_finish ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Like org_freedesktop_dbus_properties_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. @@ -1340,9 +1341,9 @@ _org_freedesktop_dbus_properties_skeleton_handle_method_call ( GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; + gsize num_params; guint num_extra; - guint n; + gsize n; guint signal_id; GValue return_value = G_VALUE_INIT; info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); @@ -1544,11 +1545,11 @@ static void org_freedesktop_dbus_properties_skeleton_iface_init (OrgFreedesktopD #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgFreedesktopDBusPropertiesSkeleton, org_freedesktop_dbus_properties_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, G_ADD_PRIVATE (OrgFreedesktopDBusPropertiesSkeleton) - G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_skeleton_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgFreedesktopDBusPropertiesSkeleton, org_freedesktop_dbus_properties_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, - G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_FREEDESKTOP_DBUS_PROPERTIES, org_freedesktop_dbus_properties_skeleton_iface_init)) #endif static void diff --git a/binding/gdbus/freedesktop_dbus_properties_interface.h b/binding/gdbus/freedesktop_dbus_properties_interface.h index f1bb44f..eb94c6b 100644 --- a/binding/gdbus/freedesktop_dbus_properties_interface.h +++ b/binding/gdbus/freedesktop_dbus_properties_interface.h @@ -1,7 +1,8 @@ /* - * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. + * Generated by gdbus-codegen 2.56.3. DO NOT EDIT. * - * The license of this code is the same as for the source it was derived from. + * The license of this code is the same as for the D-Bus interface description + * it was derived from. */ #ifndef __FREEDESKTOP_DBUS_PROPERTIES_INTERFACE_H__ diff --git a/binding/gdbus/obex_client1_interface.c b/binding/gdbus/obex_client1_interface.c index f58513d..87271d6 100644 --- a/binding/gdbus/obex_client1_interface.c +++ b/binding/gdbus/obex_client1_interface.c @@ -1,7 +1,8 @@ /* - * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. + * Generated by gdbus-codegen 2.56.3. DO NOT EDIT. * - * The license of this code is the same as for the source it was derived from. + * The license of this code is the same as for the D-Bus interface description + * it was derived from. */ #ifdef HAVE_CONFIG_H @@ -288,7 +289,7 @@ org_bluez_obex_client1_interface_info (void) /** * org_bluez_obex_client1_override_properties: - * @klass: The class structure for a #GObject<!-- -->-derived class. + * @klass: The class structure for a #GObject derived class. * @property_id_begin: The property id to assign to the first overridden property. * * Overrides all #GObject properties in the #OrgBluezObexClient1 interface for a concrete class. @@ -320,7 +321,7 @@ org_bluez_obex_client1_override_properties (GObjectClass *klass, guint property_ */ typedef OrgBluezObexClient1Iface OrgBluezObexClient1Interface; -G_DEFINE_INTERFACE (OrgBluezObexClient1, org_bluez_obex_client1, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (OrgBluezObexClient1, org_bluez_obex_client1, G_TYPE_OBJECT) static void org_bluez_obex_client1_default_init (OrgBluezObexClient1Iface *iface) @@ -380,7 +381,7 @@ org_bluez_obex_client1_default_init (OrgBluezObexClient1Iface *iface) * @proxy: A #OrgBluezObexClient1Proxy. * @arg_destination: Argument to pass with the method invocation. * @arg_args: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -447,7 +448,7 @@ _out: * @arg_destination: Argument to pass with the method invocation. * @arg_args: Argument to pass with the method invocation. * @out_session: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-Client1.CreateSession">CreateSession()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -489,7 +490,7 @@ _out: * org_bluez_obex_client1_call_remove_session: * @proxy: A #OrgBluezObexClient1Proxy. * @arg_session: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -549,7 +550,7 @@ _out: * org_bluez_obex_client1_call_remove_session_sync: * @proxy: A #OrgBluezObexClient1Proxy. * @arg_session: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-Client1.RemoveSession">RemoveSession()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -647,11 +648,11 @@ static void org_bluez_obex_client1_proxy_iface_init (OrgBluezObexClient1Iface *i #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgBluezObexClient1Proxy, org_bluez_obex_client1_proxy, G_TYPE_DBUS_PROXY, G_ADD_PRIVATE (OrgBluezObexClient1Proxy) - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_proxy_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgBluezObexClient1Proxy, org_bluez_obex_client1_proxy, G_TYPE_DBUS_PROXY, - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_proxy_iface_init)) #endif static void @@ -688,8 +689,8 @@ org_bluez_obex_client1_proxy_g_signal (GDBusProxy *proxy, GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; - guint n; + gsize num_params; + gsize n; guint signal_id; info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_bluez_obex_client1_interface_info.parent_struct, signal_name); if (info == NULL) @@ -789,9 +790,9 @@ org_bluez_obex_client1_proxy_iface_init (OrgBluezObexClient1Iface *iface) * org_bluez_obex_client1_proxy_new: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -844,9 +845,9 @@ org_bluez_obex_client1_proxy_new_finish ( * org_bluez_obex_client1_proxy_new_sync: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-bluez-obex-Client1.top_of_page">org.bluez.obex.Client1</link>. See g_dbus_proxy_new_sync() for more details. @@ -881,7 +882,7 @@ org_bluez_obex_client1_proxy_new_sync ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -936,7 +937,7 @@ org_bluez_obex_client1_proxy_new_for_bus_finish ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Like org_bluez_obex_client1_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. @@ -1005,9 +1006,9 @@ _org_bluez_obex_client1_skeleton_handle_method_call ( GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; + gsize num_params; guint num_extra; - guint n; + gsize n; guint signal_id; GValue return_value = G_VALUE_INIT; info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); @@ -1181,11 +1182,11 @@ static void org_bluez_obex_client1_skeleton_iface_init (OrgBluezObexClient1Iface #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgBluezObexClient1Skeleton, org_bluez_obex_client1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, G_ADD_PRIVATE (OrgBluezObexClient1Skeleton) - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_skeleton_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgBluezObexClient1Skeleton, org_bluez_obex_client1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_CLIENT1, org_bluez_obex_client1_skeleton_iface_init)) #endif static void @@ -1278,7 +1279,7 @@ org_bluez_obex_client1_skeleton_new (void) */ typedef ObjectIface ObjectInterface; -G_DEFINE_INTERFACE_WITH_CODE (Object, object, G_TYPE_OBJECT, g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_DBUS_OBJECT)); +G_DEFINE_INTERFACE_WITH_CODE (Object, object, G_TYPE_OBJECT, g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_DBUS_OBJECT);) static void object_default_init (ObjectIface *iface) @@ -1372,7 +1373,7 @@ object_proxy__g_dbus_object_iface_init (GDBusObjectIface *iface) G_DEFINE_TYPE_WITH_CODE (ObjectProxy, object_proxy, G_TYPE_DBUS_OBJECT_PROXY, G_IMPLEMENT_INTERFACE (TYPE_OBJECT, object_proxy__object_iface_init) - G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_proxy__g_dbus_object_iface_init)); + G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_proxy__g_dbus_object_iface_init)) static void object_proxy_init (ObjectProxy *object G_GNUC_UNUSED) @@ -1467,7 +1468,7 @@ object_skeleton__g_dbus_object_iface_init (GDBusObjectIface *iface) G_DEFINE_TYPE_WITH_CODE (ObjectSkeleton, object_skeleton, G_TYPE_DBUS_OBJECT_SKELETON, G_IMPLEMENT_INTERFACE (TYPE_OBJECT, object_skeleton__object_iface_init) - G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_skeleton__g_dbus_object_iface_init)); + G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_skeleton__g_dbus_object_iface_init)) static void object_skeleton_init (ObjectSkeleton *object G_GNUC_UNUSED) @@ -1555,7 +1556,7 @@ object_skeleton_new (const gchar *object_path) /** * object_skeleton_set_org_bluez_obex_client1: * @object: A #ObjectSkeleton. - * @interface_: (allow-none): A #OrgBluezObexClient1 or %NULL to clear the interface. + * @interface_: (nullable): A #OrgBluezObexClient1 or %NULL to clear the interface. * * Sets the #OrgBluezObexClient1 instance for the D-Bus interface <link linkend="gdbus-interface-org-bluez-obex-Client1.top_of_page">org.bluez.obex.Client1</link> on @object. */ @@ -1591,7 +1592,7 @@ void object_skeleton_set_org_bluez_obex_client1 (ObjectSkeleton *object, OrgBlue * Class structure for #ObjectManagerClient. */ -G_DEFINE_TYPE (ObjectManagerClient, object_manager_client, G_TYPE_DBUS_OBJECT_MANAGER_CLIENT); +G_DEFINE_TYPE (ObjectManagerClient, object_manager_client, G_TYPE_DBUS_OBJECT_MANAGER_CLIENT) static void object_manager_client_init (ObjectManagerClient *manager G_GNUC_UNUSED) @@ -1607,12 +1608,12 @@ object_manager_client_class_init (ObjectManagerClientClass *klass G_GNUC_UNUSED) * object_manager_client_get_proxy_type: * @manager: A #GDBusObjectManagerClient. * @object_path: The object path of the remote object (unused). - * @interface_name: (allow-none): Interface name of the remote object or %NULL to get the object proxy #GType. + * @interface_name: (nullable): Interface name of the remote object or %NULL to get the object proxy #GType. * @user_data: User data (unused). * - * A #GDBusProxyTypeFunc that maps @interface_name to the generated #GDBusObjectProxy<!-- -->- and #GDBusProxy<!-- -->-derived types. + * A #GDBusProxyTypeFunc that maps @interface_name to the generated #GDBusObjectProxy derived and #GDBusProxy derived types. * - * Returns: A #GDBusProxy<!-- -->-derived #GType if @interface_name is not %NULL, otherwise the #GType for #ObjectProxy. + * Returns: A #GDBusProxy derived #GType if @interface_name is not %NULL, otherwise the #GType for #ObjectProxy. */ GType object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager G_GNUC_UNUSED, const gchar *object_path G_GNUC_UNUSED, const gchar *interface_name, gpointer user_data G_GNUC_UNUSED) @@ -1639,9 +1640,9 @@ object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager G_GNUC_U * object_manager_client_new: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -1694,9 +1695,9 @@ object_manager_client_new_finish ( * object_manager_client_new_sync: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Synchronously creates #GDBusObjectManagerClient using object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details. @@ -1731,7 +1732,7 @@ object_manager_client_new_sync ( * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -1786,7 +1787,7 @@ object_manager_client_new_for_bus_finish ( * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Like object_manager_client_new_sync() but takes a #GBusType instead of a #GDBusConnection. diff --git a/binding/gdbus/obex_client1_interface.h b/binding/gdbus/obex_client1_interface.h index 09772a6..3a31593 100644 --- a/binding/gdbus/obex_client1_interface.h +++ b/binding/gdbus/obex_client1_interface.h @@ -1,7 +1,8 @@ /* - * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. + * Generated by gdbus-codegen 2.56.3. DO NOT EDIT. * - * The license of this code is the same as for the source it was derived from. + * The license of this code is the same as for the D-Bus interface description + * it was derived from. */ #ifndef __OBEX_CLIENT1_INTERFACE_H__ diff --git a/binding/gdbus/obex_phonebookaccess1_interface.c b/binding/gdbus/obex_phonebookaccess1_interface.c index 24178bc..33e9ccc 100644 --- a/binding/gdbus/obex_phonebookaccess1_interface.c +++ b/binding/gdbus/obex_phonebookaccess1_interface.c @@ -1,7 +1,8 @@ /* - * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. + * Generated by gdbus-codegen 2.56.3. DO NOT EDIT. * - * The license of this code is the same as for the source it was derived from. + * The license of this code is the same as for the D-Bus interface description + * it was derived from. */ #ifdef HAVE_CONFIG_H @@ -667,7 +668,7 @@ org_bluez_obex_phonebook_access1_interface_info (void) /** * org_bluez_obex_phonebook_access1_override_properties: - * @klass: The class structure for a #GObject<!-- -->-derived class. + * @klass: The class structure for a #GObject derived class. * @property_id_begin: The property id to assign to the first overridden property. * * Overrides all #GObject properties in the #OrgBluezObexPhonebookAccess1 interface for a concrete class. @@ -715,7 +716,7 @@ org_bluez_obex_phonebook_access1_override_properties (GObjectClass *klass, guint */ typedef OrgBluezObexPhonebookAccess1Iface OrgBluezObexPhonebookAccess1Interface; -G_DEFINE_INTERFACE (OrgBluezObexPhonebookAccess1, org_bluez_obex_phonebook_access1, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (OrgBluezObexPhonebookAccess1, org_bluez_obex_phonebook_access1, G_TYPE_OBJECT) static void org_bluez_obex_phonebook_access1_default_init (OrgBluezObexPhonebookAccess1Iface *iface) @@ -1196,7 +1197,7 @@ org_bluez_obex_phonebook_access1_set_fixed_image_size (OrgBluezObexPhonebookAcce * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. * @arg_location: Argument to pass with the method invocation. * @arg_phonebook: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -1259,7 +1260,7 @@ _out: * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. * @arg_location: Argument to pass with the method invocation. * @arg_phonebook: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Select">Select()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1300,7 +1301,7 @@ _out: * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. * @arg_targetfile: Argument to pass with the method invocation. * @arg_filters: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -1371,7 +1372,7 @@ _out: * @arg_filters: Argument to pass with the method invocation. * @out_transfer: (out): Return location for return parameter or %NULL to ignore. * @out_properties: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.PullAll">PullAll()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1417,7 +1418,7 @@ _out: * @arg_vcard: Argument to pass with the method invocation. * @arg_targetfile: Argument to pass with the method invocation. * @arg_filters: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -1491,7 +1492,7 @@ _out: * @arg_filters: Argument to pass with the method invocation. * @out_transfer: (out): Return location for return parameter or %NULL to ignore. * @out_properties: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Pull">Pull()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1537,7 +1538,7 @@ _out: * org_bluez_obex_phonebook_access1_call_list: * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. * @arg_filters: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -1601,7 +1602,7 @@ _out: * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. * @arg_filters: Argument to pass with the method invocation. * @out_vcard_listing: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.List">List()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1643,7 +1644,7 @@ _out: * @arg_field: Argument to pass with the method invocation. * @arg_value: Argument to pass with the method invocation. * @arg_filters: Argument to pass with the method invocation. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -1713,7 +1714,7 @@ _out: * @arg_value: Argument to pass with the method invocation. * @arg_filters: Argument to pass with the method invocation. * @out_vcard_listing: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Search">Search()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1756,7 +1757,7 @@ _out: /** * org_bluez_obex_phonebook_access1_call_get_size: * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -1817,7 +1818,7 @@ _out: * org_bluez_obex_phonebook_access1_call_get_size_sync: * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. * @out_size: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.GetSize">GetSize()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1854,7 +1855,7 @@ _out: /** * org_bluez_obex_phonebook_access1_call_list_filter_fields: * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -1884,7 +1885,7 @@ org_bluez_obex_phonebook_access1_call_list_filter_fields ( /** * org_bluez_obex_phonebook_access1_call_list_filter_fields_finish: * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. - * @out_fields: (out): Return location for return parameter or %NULL to ignore. + * @out_fields: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_bluez_obex_phonebook_access1_call_list_filter_fields(). * @error: Return location for error or %NULL. * @@ -1914,8 +1915,8 @@ _out: /** * org_bluez_obex_phonebook_access1_call_list_filter_fields_sync: * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. - * @out_fields: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @out_fields: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.ListFilterFields">ListFilterFields()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -1952,7 +1953,7 @@ _out: /** * org_bluez_obex_phonebook_access1_call_update_version: * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -2009,7 +2010,7 @@ _out: /** * org_bluez_obex_phonebook_access1_call_update_version_sync: * @proxy: A #OrgBluezObexPhonebookAccess1Proxy. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.UpdateVersion">UpdateVersion()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -2234,11 +2235,11 @@ static void org_bluez_obex_phonebook_access1_proxy_iface_init (OrgBluezObexPhone #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgBluezObexPhonebookAccess1Proxy, org_bluez_obex_phonebook_access1_proxy, G_TYPE_DBUS_PROXY, G_ADD_PRIVATE (OrgBluezObexPhonebookAccess1Proxy) - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_proxy_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgBluezObexPhonebookAccess1Proxy, org_bluez_obex_phonebook_access1_proxy, G_TYPE_DBUS_PROXY, - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_proxy_iface_init)) #endif static void @@ -2326,8 +2327,8 @@ org_bluez_obex_phonebook_access1_proxy_g_signal (GDBusProxy *proxy, GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; - guint n; + gsize num_params; + gsize n; guint signal_id; info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_bluez_obex_phonebook_access1_interface_info.parent_struct, signal_name); if (info == NULL) @@ -2509,9 +2510,9 @@ org_bluez_obex_phonebook_access1_proxy_iface_init (OrgBluezObexPhonebookAccess1I * org_bluez_obex_phonebook_access1_proxy_new: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -2564,9 +2565,9 @@ org_bluez_obex_phonebook_access1_proxy_new_finish ( * org_bluez_obex_phonebook_access1_proxy_new_sync: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-bluez-obex-PhonebookAccess1.top_of_page">org.bluez.obex.PhonebookAccess1</link>. See g_dbus_proxy_new_sync() for more details. @@ -2601,7 +2602,7 @@ org_bluez_obex_phonebook_access1_proxy_new_sync ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -2656,7 +2657,7 @@ org_bluez_obex_phonebook_access1_proxy_new_for_bus_finish ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Like org_bluez_obex_phonebook_access1_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. @@ -2725,9 +2726,9 @@ _org_bluez_obex_phonebook_access1_skeleton_handle_method_call ( GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; + gsize num_params; guint num_extra; - guint n; + gsize n; guint signal_id; GValue return_value = G_VALUE_INIT; info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); @@ -2917,11 +2918,11 @@ static void org_bluez_obex_phonebook_access1_skeleton_iface_init (OrgBluezObexPh #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgBluezObexPhonebookAccess1Skeleton, org_bluez_obex_phonebook_access1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, G_ADD_PRIVATE (OrgBluezObexPhonebookAccess1Skeleton) - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_skeleton_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgBluezObexPhonebookAccess1Skeleton, org_bluez_obex_phonebook_access1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_skeleton_iface_init)) #endif static void diff --git a/binding/gdbus/obex_phonebookaccess1_interface.h b/binding/gdbus/obex_phonebookaccess1_interface.h index f7c6921..04c5def 100644 --- a/binding/gdbus/obex_phonebookaccess1_interface.h +++ b/binding/gdbus/obex_phonebookaccess1_interface.h @@ -1,7 +1,8 @@ /* - * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. + * Generated by gdbus-codegen 2.56.3. DO NOT EDIT. * - * The license of this code is the same as for the source it was derived from. + * The license of this code is the same as for the D-Bus interface description + * it was derived from. */ #ifndef __OBEX_PHONEBOOKACCESS1_INTERFACE_H__ diff --git a/binding/gdbus/obex_session1_interface.c b/binding/gdbus/obex_session1_interface.c index 62476a3..eb556f3 100644 --- a/binding/gdbus/obex_session1_interface.c +++ b/binding/gdbus/obex_session1_interface.c @@ -1,7 +1,8 @@ /* - * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. + * Generated by gdbus-codegen 2.56.3. DO NOT EDIT. * - * The license of this code is the same as for the source it was derived from. + * The license of this code is the same as for the D-Bus interface description + * it was derived from. */ #ifdef HAVE_CONFIG_H @@ -289,7 +290,7 @@ org_bluez_obex_session1_interface_info (void) /** * org_bluez_obex_session1_override_properties: - * @klass: The class structure for a #GObject<!-- -->-derived class. + * @klass: The class structure for a #GObject derived class. * @property_id_begin: The property id to assign to the first overridden property. * * Overrides all #GObject properties in the #OrgBluezObexSession1 interface for a concrete class. @@ -328,7 +329,7 @@ org_bluez_obex_session1_override_properties (GObjectClass *klass, guint property */ typedef OrgBluezObexSession1Iface OrgBluezObexSession1Interface; -G_DEFINE_INTERFACE (OrgBluezObexSession1, org_bluez_obex_session1, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (OrgBluezObexSession1, org_bluez_obex_session1, G_TYPE_OBJECT) static void org_bluez_obex_session1_default_init (OrgBluezObexSession1Iface *iface) @@ -582,7 +583,7 @@ org_bluez_obex_session1_set_target (OrgBluezObexSession1 *object, const gchar *v /** * org_bluez_obex_session1_call_get_capabilities: * @proxy: A #OrgBluezObexSession1Proxy. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -643,7 +644,7 @@ _out: * org_bluez_obex_session1_call_get_capabilities_sync: * @proxy: A #OrgBluezObexSession1Proxy. * @out_capabilities: (out): Return location for return parameter or %NULL to ignore. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-Session1.GetCapabilities">GetCapabilities()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -723,11 +724,11 @@ static void org_bluez_obex_session1_proxy_iface_init (OrgBluezObexSession1Iface #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgBluezObexSession1Proxy, org_bluez_obex_session1_proxy, G_TYPE_DBUS_PROXY, G_ADD_PRIVATE (OrgBluezObexSession1Proxy) - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_proxy_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgBluezObexSession1Proxy, org_bluez_obex_session1_proxy, G_TYPE_DBUS_PROXY, - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_proxy_iface_init)) #endif static void @@ -815,8 +816,8 @@ org_bluez_obex_session1_proxy_g_signal (GDBusProxy *proxy, GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; - guint n; + gsize num_params; + gsize n; guint signal_id; info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_bluez_obex_session1_interface_info.parent_struct, signal_name); if (info == NULL) @@ -982,9 +983,9 @@ org_bluez_obex_session1_proxy_iface_init (OrgBluezObexSession1Iface *iface) * org_bluez_obex_session1_proxy_new: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -1037,9 +1038,9 @@ org_bluez_obex_session1_proxy_new_finish ( * org_bluez_obex_session1_proxy_new_sync: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-bluez-obex-Session1.top_of_page">org.bluez.obex.Session1</link>. See g_dbus_proxy_new_sync() for more details. @@ -1074,7 +1075,7 @@ org_bluez_obex_session1_proxy_new_sync ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -1129,7 +1130,7 @@ org_bluez_obex_session1_proxy_new_for_bus_finish ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Like org_bluez_obex_session1_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. @@ -1198,9 +1199,9 @@ _org_bluez_obex_session1_skeleton_handle_method_call ( GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; + gsize num_params; guint num_extra; - guint n; + gsize n; guint signal_id; GValue return_value = G_VALUE_INIT; info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); @@ -1390,11 +1391,11 @@ static void org_bluez_obex_session1_skeleton_iface_init (OrgBluezObexSession1Ifa #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgBluezObexSession1Skeleton, org_bluez_obex_session1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, G_ADD_PRIVATE (OrgBluezObexSession1Skeleton) - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_skeleton_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgBluezObexSession1Skeleton, org_bluez_obex_session1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_SESSION1, org_bluez_obex_session1_skeleton_iface_init)) #endif static void diff --git a/binding/gdbus/obex_session1_interface.h b/binding/gdbus/obex_session1_interface.h index da8b957..289ade8 100644 --- a/binding/gdbus/obex_session1_interface.h +++ b/binding/gdbus/obex_session1_interface.h @@ -1,7 +1,8 @@ /* - * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. + * Generated by gdbus-codegen 2.56.3. DO NOT EDIT. * - * The license of this code is the same as for the source it was derived from. + * The license of this code is the same as for the D-Bus interface description + * it was derived from. */ #ifndef __OBEX_SESSION1_INTERFACE_H__ diff --git a/binding/gdbus/obex_transfer1_interface.c b/binding/gdbus/obex_transfer1_interface.c index 4df5323..191e9bf 100644 --- a/binding/gdbus/obex_transfer1_interface.c +++ b/binding/gdbus/obex_transfer1_interface.c @@ -1,7 +1,8 @@ /* - * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. + * Generated by gdbus-codegen 2.56.3. DO NOT EDIT. * - * The license of this code is the same as for the source it was derived from. + * The license of this code is the same as for the D-Bus interface description + * it was derived from. */ #ifdef HAVE_CONFIG_H @@ -239,7 +240,7 @@ org_bluez_obex_transfer1_interface_info (void) /** * org_bluez_obex_transfer1_override_properties: - * @klass: The class structure for a #GObject<!-- -->-derived class. + * @klass: The class structure for a #GObject derived class. * @property_id_begin: The property id to assign to the first overridden property. * * Overrides all #GObject properties in the #OrgBluezObexTransfer1 interface for a concrete class. @@ -272,7 +273,7 @@ org_bluez_obex_transfer1_override_properties (GObjectClass *klass, guint propert */ typedef OrgBluezObexTransfer1Iface OrgBluezObexTransfer1Interface; -G_DEFINE_INTERFACE (OrgBluezObexTransfer1, org_bluez_obex_transfer1, G_TYPE_OBJECT); +G_DEFINE_INTERFACE (OrgBluezObexTransfer1, org_bluez_obex_transfer1, G_TYPE_OBJECT) static void org_bluez_obex_transfer1_default_init (OrgBluezObexTransfer1Iface *iface) @@ -349,7 +350,7 @@ org_bluez_obex_transfer1_default_init (OrgBluezObexTransfer1Iface *iface) /** * org_bluez_obex_transfer1_call_cancel: * @proxy: A #OrgBluezObexTransfer1Proxy. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -406,7 +407,7 @@ _out: /** * org_bluez_obex_transfer1_call_cancel_sync: * @proxy: A #OrgBluezObexTransfer1Proxy. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-Transfer1.Cancel">Cancel()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -441,7 +442,7 @@ _out: /** * org_bluez_obex_transfer1_call_suspend: * @proxy: A #OrgBluezObexTransfer1Proxy. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -498,7 +499,7 @@ _out: /** * org_bluez_obex_transfer1_call_suspend_sync: * @proxy: A #OrgBluezObexTransfer1Proxy. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-Transfer1.Suspend">Suspend()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -533,7 +534,7 @@ _out: /** * org_bluez_obex_transfer1_call_resume: * @proxy: A #OrgBluezObexTransfer1Proxy. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * @@ -590,7 +591,7 @@ _out: /** * org_bluez_obex_transfer1_call_resume_sync: * @proxy: A #OrgBluezObexTransfer1Proxy. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-Transfer1.Resume">Resume()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. @@ -701,11 +702,11 @@ static void org_bluez_obex_transfer1_proxy_iface_init (OrgBluezObexTransfer1Ifac #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgBluezObexTransfer1Proxy, org_bluez_obex_transfer1_proxy, G_TYPE_DBUS_PROXY, G_ADD_PRIVATE (OrgBluezObexTransfer1Proxy) - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_proxy_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgBluezObexTransfer1Proxy, org_bluez_obex_transfer1_proxy, G_TYPE_DBUS_PROXY, - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_proxy_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_proxy_iface_init)) #endif static void @@ -742,8 +743,8 @@ org_bluez_obex_transfer1_proxy_g_signal (GDBusProxy *proxy, GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; - guint n; + gsize num_params; + gsize n; guint signal_id; info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_bluez_obex_transfer1_interface_info.parent_struct, signal_name); if (info == NULL) @@ -843,9 +844,9 @@ org_bluez_obex_transfer1_proxy_iface_init (OrgBluezObexTransfer1Iface *iface) * org_bluez_obex_transfer1_proxy_new: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -898,9 +899,9 @@ org_bluez_obex_transfer1_proxy_new_finish ( * org_bluez_obex_transfer1_proxy_new_sync: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. - * @name: (allow-none): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-bluez-obex-Transfer1.top_of_page">org.bluez.obex.Transfer1</link>. See g_dbus_proxy_new_sync() for more details. @@ -935,7 +936,7 @@ org_bluez_obex_transfer1_proxy_new_sync ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * @@ -990,7 +991,7 @@ org_bluez_obex_transfer1_proxy_new_for_bus_finish ( * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. - * @cancellable: (allow-none): A #GCancellable or %NULL. + * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Like org_bluez_obex_transfer1_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. @@ -1059,9 +1060,9 @@ _org_bluez_obex_transfer1_skeleton_handle_method_call ( GVariantIter iter; GVariant *child; GValue *paramv; - guint num_params; + gsize num_params; guint num_extra; - guint n; + gsize n; guint signal_id; GValue return_value = G_VALUE_INIT; info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); @@ -1235,11 +1236,11 @@ static void org_bluez_obex_transfer1_skeleton_iface_init (OrgBluezObexTransfer1I #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (OrgBluezObexTransfer1Skeleton, org_bluez_obex_transfer1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, G_ADD_PRIVATE (OrgBluezObexTransfer1Skeleton) - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_skeleton_iface_init)) #else G_DEFINE_TYPE_WITH_CODE (OrgBluezObexTransfer1Skeleton, org_bluez_obex_transfer1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, - G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_skeleton_iface_init)); + G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_TRANSFER1, org_bluez_obex_transfer1_skeleton_iface_init)) #endif static void diff --git a/binding/gdbus/obex_transfer1_interface.h b/binding/gdbus/obex_transfer1_interface.h index c152f12..1fdef39 100644 --- a/binding/gdbus/obex_transfer1_interface.h +++ b/binding/gdbus/obex_transfer1_interface.h @@ -1,7 +1,8 @@ /* - * Generated by gdbus-codegen 2.50.3. DO NOT EDIT. + * Generated by gdbus-codegen 2.56.3. DO NOT EDIT. * - * The license of this code is the same as for the source it was derived from. + * The license of this code is the same as for the D-Bus interface description + * it was derived from. */ #ifndef __OBEX_TRANSFER1_INTERFACE_H__ |