]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gobject-2.0: Bind G_TYPE_IS_ENUM and G_TYPE_IS_FLAGS
authorFrederik Zipp <fzipp@gmx.de>
Sat, 17 Jul 2010 05:50:47 +0000 (22:50 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 17 Jul 2010 05:50:47 +0000 (22:50 -0700)
Fixes bug 624194.

vapi/gobject-2.0.vapi

index 9da1b2f686b9312aa85f0d324d5ae9fe3ca0c1fc..53d31b3d83fa8affa122a09e4f532c41efc19454 100644 (file)
@@ -48,6 +48,10 @@ namespace GLib {
                public bool is_interface ();
                [CCode (cname = "G_TYPE_IS_VALUE_TYPE")]
                public bool is_value_type ();
+               [CCode (cname = "G_TYPE_IS_ENUM")]
+               public bool is_enum ();
+               [CCode (cname = "G_TYPE_IS_FLAGS")]
+               public bool is_flags ();
 
                [CCode (cname = "G_TYPE_FROM_INSTANCE")]
                public static Type from_instance (void* instance);