Use G_TYPE_UINT as type_id for unichar
authorJürg Billeter <j@bitron.ch>
Fri, 13 Jun 2008 16:09:37 +0000 (16:09 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Fri, 13 Jun 2008 16:09:37 +0000 (16:09 +0000)
2008-06-13  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Use G_TYPE_UINT as type_id for unichar

svn path=/trunk/; revision=1576

ChangeLog
vapi/glib-2.0.vapi

index 3c8b82e..20d52cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-06-13  Jürg Billeter  <j@bitron.ch>
 
+       * vapi/glib-2.0.vapi:
+
+       Use G_TYPE_UINT as type_id for unichar
+
+2008-06-13  Jürg Billeter  <j@bitron.ch>
+
        * vala/valastruct.vala:
 
        Implement is_subtype_of method so that structs are considered
index 22da782..35b3566 100644 (file)
@@ -476,7 +476,7 @@ public struct time_t {
 }
 
 [SimpleType]
-[CCode (cname = "gunichar", cprefix = "g_unichar_", cheader_filename = "glib.h", get_value_function = "g_value_get_int", set_value_function = "g_value_set_int", default_value = "0U")]
+[CCode (cname = "gunichar", cprefix = "g_unichar_", cheader_filename = "glib.h", type_id = "G_TYPE_UINT", marshaller_type_name = "UINT", get_value_function = "g_value_get_uint", set_value_function = "g_value_set_uint", default_value = "0U", type_signature = "u")]
 [IntegerType (rank = 7)]
 public struct unichar {
        public bool validate ();