[vala] gidlparser: Support setting simple_generics to methods
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gidlparser: Support setting simple_generics to methods
- Date: Tue, 28 Jun 2011 11:33:29 +0000 (UTC)
commit 859bcede66279fdca5b771c71f5550736c8947a0
Author: Luca Bruno <lucabru src gnome org>
Date: Tue Jun 28 13:32:23 2011 +0200
gidlparser: Support setting simple_generics to methods
vapigen/valagidlparser.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala
index 137bf2c..f89441f 100644
--- a/vapigen/valagidlparser.vala
+++ b/vapigen/valagidlparser.vala
@@ -2143,6 +2143,10 @@ public class Vala.GIdlParser : CodeVisitor {
if (eval (nv[1]) == "1") {
m.experimental = true;
}
+ } else if (nv[0] == "simple_generics") {
+ if (eval (nv[1]) == "1") {
+ m.simple_generics = true;
+ }
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]