2 arg for of ffi.fill not supported
justincormack opened this issue · comments
Justin Cormack commented
ffi.fill with 2 args does a zero fill, but gives
test: ./syscall.lua:3833: bad argument #3 to 'fill' (number expected, got table)
stack traceback:
[C]: in function 'fill'
./syscall.lua:3833: in function '?'
test.lua:647: in main chunk
[C]: ?
Justin Cormack commented
worked around this too by putting the 0 in explicitly and fixed the last issues, now ljsyscall tests pass with luaffi!
James McKaskill commented
now ljsyscall tests pass with luaffi!
Awesome