Refer to Sam's email on Jun 24th Switch statement on GType.
I can't access mail-archive in china; weird.
---
vapi/gobject-2.0.vapi | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 54b53e0..d902452 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -26,8 +26,10 @@
[CCode (cprefix = "G", lower_case_cprefix = "g_", cheader_filename = "glib.h")]
namespace GLib {
+ [SimpleType]
[CCode (type_id = "G_TYPE_GTYPE", marshaller_type_name = "GTYPE",
get_value_function = "g_value_get_gtype", set_value_function =
"g_value_set_gtype")]
- public struct Type : ulong {
+ [IntegerType (rank = 9)]
+ public struct Type {
[CCode (cname = "G_TYPE_IS_OBJECT")]
public bool is_object ();
[CCode (cname = "G_TYPE_IS_ABSTRACT")]
--
1.6.0.6
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list