[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: Thu, 6 Jan 2011 11:52:29 +0000 (UTC)
commit e0a716453023e2ca6298ae63e5c97b303510e208
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 7a9673d..23a7724 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]