[vala] codewriter: Write simple_generics argument for methods
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] codewriter: Write simple_generics argument for methods
- Date: Tue, 28 Jun 2011 11:33:34 +0000 (UTC)
commit 086a3fe1654fdf760857023708d1b3b0885fae4f
Author: Luca Bruno <lucabru src gnome org>
Date: Tue Jun 28 13:32:37 2011 +0200
codewriter: Write simple_generics argument for methods
vala/valacodewriter.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vala/valacodewriter.vala b/vala/valacodewriter.vala
index dee01b5..a8a62c9 100644
--- a/vala/valacodewriter.vala
+++ b/vala/valacodewriter.vala
@@ -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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]