lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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