summaryrefslogtreecommitdiff
path: root/vapigen
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2011-06-28 13:32:23 +0200
committerLuca Bruno <lucabru@src.gnome.org>2011-06-28 13:32:23 +0200
commit859bcede66279fdca5b771c71f5550736c8947a0 (patch)
treeb7a557d2b5431bd3bd35d0cf60c2d74a435f2b73 /vapigen
parent9b22a27ed5ca78b74f56df7456ab321fd535d405 (diff)
downloadvala-859bcede66279fdca5b771c71f5550736c8947a0.tar.gz
gidlparser: Support setting simple_generics to methods
Diffstat (limited to 'vapigen')
-rw-r--r--vapigen/valagidlparser.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala
index 137bf2cca..f89441f7f 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;
+ }
}
}
}