[vala] glib-2.0: Use int for string.length



commit e8d64dbd0132e1cfecadcd204e4dca7ee2d4ba2f
Author: Jürg Billeter <j bitron ch>
Date:   Tue Dec 28 20:50:11 2010 +0100

    glib-2.0: Use int for string.length

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 0c25150..a19c3b7 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1201,7 +1201,7 @@ public class string {
 	[CCode (cname = "g_utf8_strlen")]
 	long utf8_strlen (ssize_t max);
 
-	public long length {
+	public int length {
 		[CCode (cname = "strlen")]
 		get;
 	}



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