[vala] linux: Fix InotifyFlags and InotifyMaskFlags bindings
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] linux: Fix InotifyFlags and InotifyMaskFlags bindings
- Date: Sat, 14 May 2011 10:29:23 +0000 (UTC)
commit ba99b738ab850208ff97b29ebdd60396f7c2f3f2
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]