[vala/switch-to-gir: 35/49] 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/49] girparser: Mark bitfield to be Flags
- Date: Thu, 10 Mar 2011 21:41:34 +0000 (UTC)
commit d85d7efed3739f35ebfed963cb3bcf9193fe8e2d
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]