mozilla / cbindgen

A project for generating C bindings from Rust code
Mozilla Public License 2.0
2.29k stars 294 forks source link

Support converting Rust `<name>: ...` to C `...` (varargs) #894

Open 4lDO2 opened 8 months ago

4lDO2 commented 8 months ago

Fixes https://github.com/mozilla/cbindgen/issues/891.

I made this configurable, but I'm not sure if that's correct. Should ... be the default, or only accepted translation, given Rust supports both va: ... and va: VaList for those two purposes?