koute / libretro-sys

Raw FFI bindings to the libretro API
MIT License
6 stars 7 forks source link

Log: var-args #2

Open rubdos opened 5 years ago

rubdos commented 5 years ago

When implementing a front end (not a core), it may be useful to access the varargs that are passed to the log callback. There's this simple varargs implementation in Rust that may help us here.

I suggest to implement this behind a feature flag, keeping the current behaviour (without the dep) without the flag.

If you would accept such a patch, I will be glad to implement this.

koute commented 5 years ago

Sure! Sounds good to me!