summaryrefslogtreecommitdiff
path: root/vapigen
diff options
context:
space:
mode:
Diffstat (limited to 'vapigen')
-rw-r--r--vapigen/valagidlparser.vala11
1 files changed, 11 insertions, 0 deletions
diff --git a/vapigen/valagidlparser.vala b/vapigen/valagidlparser.vala
index 81978d1a1..fdcfdade0 100644
--- a/vapigen/valagidlparser.vala
+++ b/vapigen/valagidlparser.vala
@@ -2766,6 +2766,17 @@ public class Vala.GIdlParser : CodeVisitor {
p.variable_type = param_type;
p.direction = ParameterDirection.IN;
}
+ } else if (nv[0] == "no_array_length") {
+ if (eval (nv[1]) == "1") {
+ p.no_array_length = true;
+ }
+ } else if (nv[0] == "array_length_type") {
+ p.array_length_type = eval (nv[1]);
+ } else if (nv[0] == "array_null_terminated") {
+ if (eval (nv[1]) == "1") {
+ p.no_array_length = true;
+ p.array_null_terminated = true;
+ }
} else if (nv[0] == "is_out") {
if (eval (nv[1]) == "1") {
p.direction = ParameterDirection.OUT;