[vala/0.12] linux: Fix InotifyFlags and InotifyMaskFlags bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [vala/0.12] linux: Fix InotifyFlags and InotifyMaskFlags bindings
- Date: Sun, 29 May 2011 11:21:18 +0000 (UTC)
commit ebf3a70d173e5b557cce84d80dad5d2046edd69f
Author: Duncan Mac-Vicar P <duncan kde org>
Date:   Sat May 14 12:27:28 2011 +0200
    linux: Fix InotifyFlags and InotifyMaskFlags bindings
    
    Fixes bug 650165.
 vapi/linux.vapi |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index 0753f6d..ed795de 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -870,13 +870,14 @@ namespace Linux {
         public string name;
     }
 
-    [CCode (cprefix = "IN_", has_type_id = false, cheader_filename = "sys/inotify.h")]
+    [Flags, CCode (cname = "int", cprefix = "IN_", has_type_id = false, cheader_filename = "sys/inotify.h")]
+
     public enum InotifyFlags {
         CLOEXEC,
         NONBLOCK
     }
 
-    [CCode (cname = "int", cprefix = "IN_", has_type_id = false, cheader_filename = "sys/inotify.h")]
+    [Flags, CCode (cname = "int", cprefix = "IN_", has_type_id = false, cheader_filename = "sys/inotify.h")]
     public enum InotifyMaskFlags {
         ACCESS,
         ATTRIB,
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]