[vala] glib-2.0: Allow using sizeof for element size in GLib.Array constructor



commit 11bd0151ef4372f56e1554001634977a35ef514b
Author: Jürg Billeter <j bitron ch>
Date:   Tue Jun 29 19:38:36 2010 +0200

    glib-2.0: Allow using sizeof for element size in GLib.Array constructor

 vapi/glib-2.0.vapi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index e334bb0..0894c8f 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3717,9 +3717,9 @@ namespace GLib {
 		[CCode (cname = "len")]
 		public uint length;
 
-		public Array (bool zero_terminated, bool clear, uint element_size);
+		public Array (bool zero_terminated, bool clear, ulong element_size);
 		[CCode (cname = "g_array_sized_new")]
-		public Array.sized (bool zero_terminated, bool clear, uint element_size, uint reserved_size);
+		public Array.sized (bool zero_terminated, bool clear, ulong element_size, uint reserved_size);
 		public void append_val (G value);
 		public void append_vals (void* data, uint len);
 		public void prepend_val (G value);



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