Re: FFI in interpreter mode

  • From: James McKaskill <james@xxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Wed, 23 May 2012 13:25:55 -0400

On Wed, May 23, 2012 at 11:14 AM, Evan Wies <evan@xxxxxxxxxxxxx> wrote:
> I installed luaffi and started running against it.   I needed to change some
> of the ffi.cdefs to make progress.

What changes?

>  Once I got through that and a couple
> minor things, I reached this error and gave up:
>
> lua: unable to convert argument 2 from cdata<int> to cdata<int64_t>
>
> FWIW, this was within S.open() of ljsyscall

Thanks for the report. I've added
https://github.com/jmckaskill/luaffi/issues/28 to have a look at this.

-- James

Other related posts: