[vala] linux: fix InotifyMaskFlags enum and add missing values CLOSE and MOVE



commit 2b9958a8975dfb42d9a6a6b4be6a3e615677c8cc
Author: Michael 'Mickey' Lauer <mickey vanille-media de>
Date:   Wed Nov 25 13:52:02 2009 +0100

    linux: fix InotifyMaskFlags enum and add missing values CLOSE and MOVE

 vapi/linux.vapi |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/linux.vapi b/vapi/linux.vapi
index caa2185..e21721e 100644
--- a/vapi/linux.vapi
+++ b/vapi/linux.vapi
@@ -52,16 +52,18 @@ namespace Linux {
         NONBLOCK
     }
 
-    [CCode (cprefix = "IN_", cheader_filename = "sys/inotify.h")]
+    [CCode (cname = "int", cprefix = "IN_", cheader_filename = "sys/inotify.h")]
     public enum InotifyMaskFlags {
         ACCESS,
         ATTRIB,
+        CLOSE,
         CLOSE_WRITE,
         CLOSE_NOWRITE,
         CREATE,
         DELETE,
         DELETE_SELF,
         MODIFY,
+        MOVE,
         MOVE_SELF,
         MOVED_FROM,
         MOVED_TO,



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