> To be fair to GI (what! me saying that!) most languages do not have variadic
> functions, so the GI has nothing to translate into.
Python:
```python
def foo(*args):
for a in args:
print(a)
```
JavaScript:
```js
function foo(...args) {
for (let a of args)
print(a);
}
```
Ruby:
```ruby
def foo(*args)
for a in args
print a
end
end
```
Vala:
```vala
void foo(...) {
foreach (var a in va_list())
print(a);
}
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1748#issuecomment-379458090