aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2024-04-28 21:30:12 +0200
committerMarvin W <git@larma.de>2024-04-28 21:35:07 +0200
commit657502955567dd538e56f300e075c7db52e25d74 (patch)
treead42532ae5fb46c5d8ee911151bf730bf07af43c
parentd9fa4daa6a7d16f5f0e2183a77ee2d07849dd9f3 (diff)
downloaddino-657502955567dd538e56f300e075c7db52e25d74.tar.gz
dino-657502955567dd538e56f300e075c7db52e25d74.zip
Annotating with array_null_terminated doesn't imply a missing array_length
Taken from https://github.com/GNOME/vala-extra-vapis/commit/6b8a3e4faaabc462f90ffcb0cf0f91991ee58077
-rw-r--r--plugins/openpgp/vapi/gpgme.vapi4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/openpgp/vapi/gpgme.vapi b/plugins/openpgp/vapi/gpgme.vapi
index 2fc27c65..37e74509 100644
--- a/plugins/openpgp/vapi/gpgme.vapi
+++ b/plugins/openpgp/vapi/gpgme.vapi
@@ -55,9 +55,9 @@ namespace GPG {
public string issuer_name;
public string chain_id;
public Validity owner_trust;
- [CCode(array_null_terminated = true)]
+ [CCode (array_length = false, array_null_terminated = true)]
public SubKey[] subkeys;
- [CCode(array_null_terminated = true)]
+ [CCode (array_length = false, array_null_terminated = true)]
public UserID[] uids;
public KeylistMode keylist_mode;
public string fpr { get { return subkeys[0].fpr; } }