[vala/staging: 2/3] gnutls: Fix some binding errors




commit 6d2240969b199fce7d423208fef868e694e1a75d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Mar 12 10:15:03 2021 +0100

    gnutls: Fix some binding errors

 vapi/gnutls.vapi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gnutls.vapi b/vapi/gnutls.vapi
index a7299af33..9369792f4 100644
--- a/vapi/gnutls.vapi
+++ b/vapi/gnutls.vapi
@@ -904,9 +904,9 @@ namespace GnuTLS
                public struct Ava
                {
                        [CCode (cname = "oid.data", array_length_cname = "oid.size")]
-                       uint8[] oid;
+                       unowned uint8[] oid;
                        [CCode (cname = "value.data", array_length_cname = "value.size")]
-                       uint8[] value;
+                       unowned uint8[] value;
                        ulong value_tag;
                }
 
@@ -1711,13 +1711,13 @@ namespace GnuTLS
        {
                public CertificateType type;
                [CCode (cname = "cert.x509", array_length_cname = "ncerts", array_length_type = "unsigned 
int")]
-               public X509.Certificate[] cert_x509;
+               public unowned X509.Certificate[] cert_x509;
                [CCode (cname = "cert.pgp")]
-               public OpenPGP.Certificate cert_pgp;
+               public unowned OpenPGP.Certificate cert_pgp;
                [CCode (cname = "key.x509")]
-               public X509.PrivateKey key_x509;
+               public unowned X509.PrivateKey key_x509;
                [CCode (cname = "key.pgp")]
-               public OpenPGP.PrivateKey key_pgp;
+               public unowned OpenPGP.PrivateKey key_pgp;
                public uint deinit_all;
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]