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.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compat.h') diff --git a/src/compat.h b/src/compat.h index 3a61268..bf22f10 100644 --- a/src/compat.h +++ b/src/compat.h @@ -68,6 +68,8 @@ inline int lua504_dump(lua_State* L_, lua_Writer writer_, void* data_, [[maybe_u } #define LUA_LOADED_TABLE "_LOADED" // // doesn't exist in Lua 5.1 +int luaL_getsubtable(lua_State* L_, int idx_, const char* fname_); + #endif // LUA_VERSION_NUM == 501 // ################################################################################################# -- cgit v1.2.3-55-g6feb