From 5c7ef34404d3367542275d76b49f276ab035639f Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 7 May 2024 09:42:09 +0200 Subject: Some more code refactorization --- src/compat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compat.cpp') diff --git a/src/compat.cpp b/src/compat.cpp index 1d38917..336f716 100644 --- a/src/compat.cpp +++ b/src/compat.cpp @@ -29,7 +29,7 @@ LuaType luaG_getmodule(lua_State* L_, char const* name_) // ################################################################################################# // Copied from Lua 5.2 loadlib.c -static int luaL_getsubtable(lua_State* L_, int idx_, const char* fname_) +int luaL_getsubtable(lua_State* L_, int idx_, const char* fname_) { lua_getfield(L_, idx_, fname_); if (lua_istable(L_, -1)) -- cgit v1.2.3-55-g6feb