]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
codewriter: Write simple_generics argument for methods
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 28 Jun 2011 11:32:37 +0000 (13:32 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Tue, 28 Jun 2011 11:32:37 +0000 (13:32 +0200)
vala/valacodewriter.vala

index dee01b59f244cf14dcfe6362d5cf53ccf172adc1..a8a62c9f4c44160d363c85886011cb9fa7b403a3 100644 (file)
@@ -1154,6 +1154,10 @@ public class Vala.CodeWriter : CodeVisitor {
                        ccode_params.append_printf ("%stype = \"%s\"", separator, m.custom_return_type_cname);
                        separator = ", ";
                }
+               if (m.simple_generics) {
+                       ccode_params.append_printf ("%ssimple_generics = true", separator);
+                       separator = ", ";
+               }
 
                var cm = m as CreationMethod;
                if (cm != null) {