aboutsummaryrefslogtreecommitdiffstats
path: root/binding/gdbus/obex_phonebookaccess1_interface.c
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-01-29 01:37:33 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-01-29 01:37:33 -0800
commit54bc2c77b9b2dffd9c4bc1a2b51c199252d5d575 (patch)
tree2fec1ba43055b84590f0e730830f60f25ee742c5 /binding/gdbus/obex_phonebookaccess1_interface.c
parentdb55cecfdfb91b5ef94b790003dd8d2b7dae8563 (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/gdbus/obex_phonebookaccess1_interface.c')
-rw-r--r--binding/gdbus/obex_phonebookaccess1_interface.c73
1 files changed, 37 insertions, 36 deletions
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