4 ms·
Anyone know what "triadic arguments" means in this context? Is it a typo of variadic? Some C features are still not supported by dffi (but will be in future
by onetwotree 9y ago
Anyone know what "triadic arguments" means in this context? Is it a typo of variadic?
Some C features are still not supported by dffi (but will be in future releases):
* C structures with bitfields
* functions with triadic arguments
- papercrane 9y agoI believe it's supposed to be variadic. I thought it original meant 3-arg functions, but I can see in one of the examples it calls a 3-arg function. The TODO file however says "var args" still needs to be implemented. * Example calling three arg function: https://github.com/aguinet/dragonffi/blob/master/examples/archive.py https://github.com/aguinet/dragonffi/blob/master/examples/ar... * TODO File: https://github.com/aguinet/dragonffi/blob/master/TODO https://github.com/aguinet/dragonffi/blob/master/TODO
- aguinet 9y agothis was a unfortunate typo I just fixed: https://github.com/aguinet/dragonffi/commit/dc623098d30f37061aad6e76359b30168d1c0e9b https://github.com/aguinet/dragonffi/commit/dc623098d30f3706... So it is about variadic arguments. The reason is time, that is I still didn't take the time to make it work, but it does not seem to have big issues doing it!