[vala] gnutls, zlib: Use array_length_cname, not array_length_name.



commit 2399c05130eb70e618c2f96674f63d6662c88eea
Author: Sebastian Noack <sebastian noack gmail com>
Date:   Tue Nov 10 11:47:00 2009 -0800

    gnutls, zlib: Use array_length_cname, not array_length_name.
    
    Fixes bug 601256.

 vapi/gnutls.vapi |    6 +++---
 vapi/zlib.vapi   |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gnutls.vapi b/vapi/gnutls.vapi
index fae83b3..a6560d8 100644
--- a/vapi/gnutls.vapi
+++ b/vapi/gnutls.vapi
@@ -901,9 +901,9 @@ namespace GnuTLS
 		[CCode (cname = "gnutls_x509_ava_st")]
 		public struct Ava
 		{
-			[CCode (cname = "oid.data", array_length_name = "oid.size")]
+			[CCode (cname = "oid.data", array_length_cname = "oid.size")]
 			uint8[] oid;
-			[CCode (cname = "value.data", array_length_name = "value.size")]
+			[CCode (cname = "value.data", array_length_cname = "value.size")]
 			uint8[] value;
 			ulong value_tag;
 		}
@@ -1723,7 +1723,7 @@ namespace GnuTLS
 	public struct RetrStruct
 	{
 		public CertificateType type;
-		[CCode (cname = "cert.x509", array_length_name = "ncerts", array_length_type = "unsigned int")]
+		[CCode (cname = "cert.x509", array_length_cname = "ncerts", array_length_type = "unsigned int")]
 		public X509.Certificate[] cert_x509;
 		[CCode (cname = "cert.pgp")]
 		public OpenPGP.Certificate cert_pgp;
diff --git a/vapi/zlib.vapi b/vapi/zlib.vapi
index bb85db7..446d859 100644
--- a/vapi/zlib.vapi
+++ b/vapi/zlib.vapi
@@ -154,7 +154,7 @@ namespace ZLib {
 		public ulong time;
 		public int xflags;
 		public int os;
-		[CCode (array_length_name = "extra_len", array_length_type = "guint")]
+		[CCode (array_length_cname = "extra_len", array_length_type = "guint")]
 		public uchar[] extra;
 		public uint extra_max;
 		public string? name;



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