[libsecret/wip/cdavis/fix-annotations] secret-paths.c: Add annotations for `paths` variable
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsecret/wip/cdavis/fix-annotations] secret-paths.c: Add annotations for `paths` variable
- Date: Mon, 14 Dec 2020 18:56:37 +0000 (UTC)
commit 9d510d5c04d997eb87e8f89e45cf0f59e2fe40e5
Author: Christopher Davis <brainblasted disroot org>
Date: Thu Dec 10 12:31:13 2020 -0800
secret-paths.c: Add annotations for `paths` variable
Fixes an issue with annotations that would cause
Rust bindings to generate incorrectly.
libsecret/secret-paths.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/libsecret/secret-paths.c b/libsecret/secret-paths.c
index bfdf0ef..0fca0ce 100644
--- a/libsecret/secret-paths.c
+++ b/libsecret/secret-paths.c
@@ -1148,7 +1148,7 @@ _secret_service_xlock_paths_finish (SecretService *self,
/**
* secret_service_lock_dbus_paths_sync: (skip)
* @self: the secret service
- * @paths: the D-Bus object paths of the items or collections to lock
+ * @paths: (array zero-terminated=1): the D-Bus object paths of the items or collections to lock
* @cancellable: optional cancellation object
* @locked: (out) (array zero-terminated=1) (transfer full) (allow-none):
* location to place array of D-Bus paths of items or collections
@@ -1207,7 +1207,7 @@ secret_service_lock_dbus_paths_sync (SecretService *self,
/**
* secret_service_lock_dbus_paths: (skip)
* @self: the secret service
- * @paths: the D-Bus paths for items or collections to lock
+ * @paths: (array zero-terminated=1): the D-Bus paths for items or collections to lock
* @cancellable: optional cancellation object
* @callback: called when the operation completes
* @user_data: data to pass to the callback
@@ -1277,7 +1277,8 @@ secret_service_lock_dbus_paths_finish (SecretService *self,
/**
* secret_service_unlock_dbus_paths_sync: (skip)
* @self: the secret service
- * @paths: the D-Bus object paths of the items or collections to unlock
+ * @paths: (array zero-terminated=1): the D-Bus object paths of the items or
+ * collections to unlock
* @cancellable: optional cancellation object
* @unlocked: (out) (array zero-terminated=1) (transfer full) (allow-none):
* location to place array of D-Bus paths of items or collections
@@ -1336,7 +1337,8 @@ secret_service_unlock_dbus_paths_sync (SecretService *self,
/**
* secret_service_unlock_dbus_paths: (skip)
* @self: the secret service
- * @paths: the D-Bus paths for items or collections to unlock
+ * @paths: (array zero-terminated=1): the D-Bus paths for items or
+ * collections to unlock
* @cancellable: optional cancellation object
* @callback: called when the operation completes
* @user_data: data to pass to the callback
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]