News for hackers. Stuff that matters.
Re:DragonFFI: C Foreign Function Interface and JIT Using Cla... by papercrane on Friday February 02, 2018 @03:45PM (#16294059)
I 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/ar...

* TODO File: https://github.com/aguinet/dragonffi/blob/master/TODO

Re:DragonFFI: C Foreign Function Interface and JIT Using Cla... by aguinet on Saturday February 03, 2018 @10:50AM (#16298044)
this was a unfortunate typo I just fixed: 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!