alien icon indicating copy to clipboard operation
alien copied to clipboard

A C FFI for Lua

Results 26 alien issues
Sort by recently updated
recently updated
newest added

make callback working as intended

``` Installing https://luarocks.org/alien-0.7.1-2.src.rock ./bootstrap && ./configure LUA=/usr/local/openresty/luajit//bin/luajit CPPFLAGS='-I/usr/local/openresty/luajit/include/luajit-2.1 -I/usr/include' LDFLAGS=-L/usr/lib/x86_64-linux-gnu --prefix=/home/ryan/.luarocks/lib/luarocks/rocks/alien/0.7.1-2 --libdir=/home/ryan/.luarocks/lib/luarocks/rocks/alien/0.7.1-2/lib --datadir=/home/ryan/.luarocks/lib/luarocks/rocks/alien/0.7.1-2/lua && make clean && make bootstrap: running: libtoolize --quiet bootstrap: running: autoreconf --symlink --install configure.ac:11: installing 'build-aux/ar-lib'...

Now problem with Windows that there no `config.h` files. And it require install mingw to be able use configure. I add this [config.h](https://github.com/moteus/alien/blob/master/src/config.h) file to my project ``` C /*...

alien.c:358:54: error: ‘FFI_SYSV’ undeclared here (not in a function)

how to trancode alien to wasm, please? I want to call dlls in lua by webassembly from browser, can it success? just like lua-cjson-wasm, lua-wasm https://github.com/mmaarouf/lua-cjson-wasm https://github.com/throwarray/lua-wasm

One API I use assume deregistration of callback: it expects that user will pass NULL as pointer to function. Unfortunatelly, LuaAlien does not allow it.

In "alien.c" in "alien_buffer_gc" @ line #934: "lua_pop(L, 2);" When "LUA_USE_APICHECK" is defined, this line will trigger a "invalid new top". This because there is only one stack index (the...

Hi Fabio: When I try to install alien using luarocks, it finds ffi ok, but I get an error that lua.h is not correct version, as follows: Installing http://www.luarocks.org/repositories/rocks/alien-0.7.0-1.src.rock... Using...