From: Jérémie Astor Date: Wed, 1 Apr 2020 23:21:57 +0000 (+0200) Subject: :art: Update gwion syntax (vararg.start becomes varloop) X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=2b90a39b34a86978325d7bb743c128842ed439c5;p=gwion.git :art: Update gwion syntax (vararg.start becomes varloop) --- diff --git a/docs/Reference/Functions/Variadic.mdr b/docs/Reference/Functions/Variadic.mdr index 56e7b4ab..ef997e4f 100644 --- a/docs/Reference/Functions/Variadic.mdr +++ b/docs/Reference/Functions/Variadic.mdr @@ -8,9 +8,9 @@ Well, a function that takes a fixed number of arguments, and additionnal ones. @``` variadic.gw fun void variadic_test(int i, ...) { <<< "first argument is ", i >>>; - vararg.start; - <<< "\tadditionnal argument", vararg.i >>>; - vararg.end; + varloop vararg { + <<< "\tadditionnal argument", vararg.i >>>; + } } variadic_test(1); variadic_test(1, 2);