]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gidlparser: Support setting simple_generics to methods
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 28 Jun 2011 11:32:23 +0000 (13:32 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Tue, 28 Jun 2011 11:32:23 +0000 (13:32 +0200)
vapigen/valagidlparser.vala

index 137bf2ccaca0564c356cb04a09bd5350dd1b5d7f..f89441f7f01e9336ed81cb2570fd1d8474ce86e2 100644 (file)
@@ -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;
+                                       }
                                }
                        }
                }