diff options
author | Christopher Davis <brainblasted@disroot.org> | 2020-12-10 12:31:13 -0800 |
---|---|---|
committer | Christopher Davis <brainblasted@disroot.org> | 2020-12-10 12:31:13 -0800 |
commit | 9d510d5c04d997eb87e8f89e45cf0f59e2fe40e5 (patch) | |
tree | 4a354936aa96c2326ade83e05bf3293564f704fc | |
parent | 21cca20c187425675d0615dda5806d54997e6512 (diff) | |
download | libsecret-wip/cdavis/fix-annotations.tar.gz |
secret-paths.c: Add annotations for `paths` variablewip/cdavis/fix-annotations
Fixes an issue with annotations that would cause
Rust bindings to generate incorrectly.
-rw-r--r-- | libsecret/secret-paths.c | 10 |
1 files 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 |