From 7bddb06461d8f80030b3b86175ec737dbb16ac3b Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 4 Jul 2025 14:54:36 +0200 Subject: Added Lua 5.5 support * some unit tests fail/segfault/freeze, but that could be because Lua 5.5 is still in beta yet --- src/allocator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/allocator.hpp') diff --git a/src/allocator.hpp b/src/allocator.hpp index ce65a4b..b578f12 100644 --- a/src/allocator.hpp +++ b/src/allocator.hpp @@ -66,7 +66,7 @@ namespace lanes { [[nodiscard]] lua_State* newState() const { - return lua_newstate(allocF, allocUD); + return luaW_newstate(allocF, allocUD, luaL_makeseed(nullptr)); } [[nodiscard]] -- cgit v1.2.3-55-g6feb