justincormack / ljsyscall

LuaJIT Unix syscall FFI
http://www.myriabit.com/ljsyscall/
Other
441 stars 54 forks source link

varargs functions #100

Closed justincormack closed 10 years ago

justincormack commented 11 years ago

luaffi has problems converting to vararg type in rump, not surprisingly

problem is how to get it to convert anything to either pointer or type without complaining...

luajit will convert pretty much anything to a pointer with pt.void()

experiment a bit for cleanest way

justincormack commented 10 years ago

changed to void *, seems ok.