cffi-lua icon indicating copy to clipboard operation
cffi-lua copied to clipboard

A portable C FFI for Lua 5.1+

Results 12 cffi-lua issues
Sort by recently updated
recently updated
newest added

It seems that it hasn't been implement yet. https://github.com/q66/cffi-lua/blob/master/src/lib.cc#L258 Maybe it can be implemented in the following ways - make `ffi_dl_handle` more large, such as `static void *ffi_dl_handle[1000];`, or use...

Hi there q66, Sorry its me again. I do not know how compatible you want to be with the luajit ffi, but here's a test code which gave me issues:...

in the very rare case that lua OOMs and raises a panic case, we should ensure that no stack values (which could be managing heap pointers) with destructors are present,...

All allocations in the system should be done through Lua's allocator. Also, we should never `abort`, instead access to `lua_State` state should be ensured at all times in those contexts...

Since I couldn't get ```luarocks install --local cffi-lua``` to work (see [Issue 3](https://github.com/q66/cffi-lua/issues/3)), I tried: ``` luarocks unpack cffi-lua cd cffi-lua/cffi-lua-0.1.1-1/cffi-lua luarocks make --local cffi-lua-0.1.1-1.rockspec ``` and then get an...

Hello ! Nice work ! While doing some tests with existing luajit-ffi files I noticed that cffi do not understand this declarations as constants like enums: ``` /* kind of...

I am trying to build with a pre-build Lua version. meson was not able to find my Lua version. I then defined a lua.pc file: ` prefix=/path/to/my/lua exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/inc...

Maybe this will save someone some headache 1. Get `python` version 3 in `PATH`. I just happened to have 3.11, no issues 2. Get `meson`. Docs don't specify the version...