`#[func]` support for variadic functions (vararg)
Open
c: core
feature
- Dominant language
- Rust
- Stars
- 5.2k
- Forks
- 312
- Avg merge
- 12h 59m
- Merged PRs (30d)
- 9
Description
As suggested in #1471 , letting a `#[func]` appear as a vardiac function for flexibility, especially when used in conjunction with other APIs, such as Lua.
> > And the way I meant it was defining a `#[func]` that lets the gdscript side see it as a vararg function.
>
> Ah, I see! Indeed, that's currently not possible -- but it's a good feature request, too.
_Originally posted by @Bromeon in [#1471](https://github.com/godot-rust/gdext/issues/1471#issuecomment-3729018448)_
Contributor guide
Assessment
This issue has not been assessed yet.