[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT FFI callbacks (was Re: Calling lua functions from C when using luajit ffi.)
- From: Mike Pall <mikelu-1111@...>
- Date: Tue, 15 Nov 2011 01:17:13 +0100
Tim Caswell wrote:
> luajit: luajit_ffi_gtk_demo.lua:67: cannot convert 'function' to 'int (*)()'
Umm, that's the exact error message you get when you run an older
LuaJIT version.
> I just compiled and ran latest luajit from head? Am I doing something
> wrong?
You are 100% sure you did a make clean && make and started the
right binary?
> (btw, I have gtk3 on my machine so that may be the reason)
Don't think so, it would bail out elsewhere. But it explicitly
loads libgtk-x11-2.0.so, anyway.
--Mike