Skip to content

Conversation

mcepl
Copy link

@mcepl mcepl commented Oct 5, 2025

This commit introduces compatibility with Lua 5.1/LuaJIT by:

  • Lowering the required Lua version in CMakeLists.txt and the rockspec file.
  • Adding compatibility functions for 'luaL_setfuncs' and 'luaL_newlib'.
  • Using 'lua_Number' and 'lua_pushnumber' for compatibility with Lua 5.1.

mcepl added 2 commits October 6, 2025 00:03
This commit introduces compatibility with Lua 5.1 by:

- Lowering the required Lua version in CMakeLists.txt and the
  rockspec file.
- Adding compatibility functions for 'luaL_setfuncs' and
  'luaL_newlib'.
- Using 'lua_Number' and 'lua_pushnumber' for compatibility with
  Lua 5.1.

Signed-off-by: Matěj Cepl <mcepl@cepl.eu>
@mcepl mcepl force-pushed the lua51-compatibility branch from dbcc5ff to 8278a04 Compare October 10, 2025 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant