lua-users home
lua-l archive

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

On Thu, Dec 29, 2011 at 15:47, Alex <> wrote:
> The SOIL DLL that I am using:
> The header I am using with ffi.cdef:
> I'll be happy to post any more information as needed.
> What may be going wrong here, and how can I fix this?

That header looks simple enough that you could try luaffi with it
( and then run a debug build of
the standard lua vm with api checks turned on. If you can run it on
non-windows I would further suggest running the above with valgrind.

PS: The main reason I wrote luaffi in the first place is that wading
through the luajit assembly interpreter whilst tracking down crashes
with the FFI is well fun.

-- James