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
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
}
[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 ();