From 657502955567dd538e56f300e075c7db52e25d74 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sun, 28 Apr 2024 21:30:12 +0200 Subject: Annotating with array_null_terminated doesn't imply a missing array_length Taken from https://github.com/GNOME/vala-extra-vapis/commit/6b8a3e4faaabc462f90ffcb0cf0f91991ee58077 --- plugins/openpgp/vapi/gpgme.vapi | 4 ++-- 1 file 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; } } -- cgit v1.2.3-70-g09d2