[vala] gobject-2.0: Bind G_TYPE_IS_ENUM and G_TYPE_IS_FLAGS



commit 5722284d1f4ec0653978f5ed189b959d487b2d41
Author: Frederik Zipp <fzipp gmx de>
Date:   Fri Jul 16 22:50:47 2010 -0700

    gobject-2.0: Bind G_TYPE_IS_ENUM and G_TYPE_IS_FLAGS
    
    Fixes bug 624194.

 vapi/gobject-2.0.vapi |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 9da1b2f..53d31b3 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -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);



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