Added array_length=false attribute for subkeys and uids

Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
This commit is contained in:
Maxim Logaev 2024-04-22 15:28:47 +03:00
parent 2eb0052663
commit 6d8adf739c

View file

@ -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; } }