I just tried rebuilding GeanyLua with LuaJIT. It's fairly simple: * Edit `geanylua/*.c` to use `luaL_Reg` instead of `luaL_reg`: - The real name of the struct is `luaL_Reg`. `luaL_reg` is defined for compatibility. - LuaJIT does include the define for `luaL_reg`. * Update `build/geanylua.m4` to: - Refer to `luajit` instead of `lua5.1` - Use versions between 2.0 and 3.0 instead of 5.1 and 5.2.
Would a single PR be acceptable, or would separate PRs be preferred? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1133#issuecomment-1453753409 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/issues/1133/[email protected]>
