[vala/0.44] vala: Output "params" qualifier of parameters



commit a87b6e37938bddb9dfc85d21a1322b1931196917
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Sep 13 13:58:00 2019 +0200

    vala: Output "params" qualifier of parameters

 vala/valacallabletype.vala | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/vala/valacallabletype.vala b/vala/valacallabletype.vala
index c604de8ec..dd883b079 100644
--- a/vala/valacallabletype.vala
+++ b/vala/valacallabletype.vala
@@ -63,6 +63,10 @@ public abstract class Vala.CallableType : DataType {
                                continue;
                        }
 
+                       if (param.params_array) {
+                               builder.append ("params ");
+                       }
+
                        if (param.direction == ParameterDirection.IN) {
                                if (param.variable_type.value_owned) {
                                        builder.append ("owned ");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]