jmckaskill / luaffi

Standalone FFI library for calling C functions from lua. Compatible with the luajit FFI interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lua 5.3 call_x86.dasc lua_remove => lua_remove_static

thenumbernine opened this issue · comments

In call.c, for Lua 5.3 support, in case lua_remove is a macro, you define lua_remove_static as a symbol, I'm thinking for dynasm's sake.
But then in call_x86.dasc line 713 you're still referencing extern lua_remove.
When build and I run the test.lua it complains lua: internal error: missing link for lua_remove until I replace this line with extern lua_remove_static to match call.c.