[vala/switch-to-gir: 35/47] girparser: Mark bitfield to be Flags
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/switch-to-gir: 35/47] girparser: Mark bitfield to be Flags
- Date: Sun, 6 Mar 2011 17:47:57 +0000 (UTC)
commit a1e7218a62f5c64e505b1a4a29ea4d44166c469f
Author: Luca Bruno <lucabru src gnome org>
Date: Tue Dec 28 19:19:23 2010 +0100
girparser: Mark bitfield to be Flags
vala/valagirparser.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 53de7c1..60cc49e 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -1707,6 +1707,8 @@ public class Vala.GirParser : CodeVisitor {
start_element ("bitfield");
var en = new Enum (reader.get_attribute ("name"), get_current_src ());
en.access = SymbolAccessibility.PUBLIC;
+ en.is_flags = true;
+
next ();
var old_symbol = current_symbol;
current_symbol = en;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]