aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-07 14:26:18 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-07 14:26:18 +0200
commitc4aeac390daf21510575b6cad3163e9e6d34fd55 (patch)
tree370e01b7499f8a154ab5331d0da19f7015ba0734 /src/compat.h
parentea94590a2c7e3fb8a0f10f69a66864d79c8241d5 (diff)
downloadlanes-c4aeac390daf21510575b6cad3163e9e6d34fd55.tar.gz
lanes-c4aeac390daf21510575b6cad3163e9e6d34fd55.tar.bz2
lanes-c4aeac390daf21510575b6cad3163e9e6d34fd55.zip
Factorize uservalue extraction in luaG_getalluservalues
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
index 8963ef7..d84447b 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -292,6 +292,10 @@ inline int luaG_dump(lua_State* L_, lua_Writer writer_, void* data_, int strip_)
292 292
293// ------------------------------------------------------------------------------------------------- 293// -------------------------------------------------------------------------------------------------
294 294
295int luaG_getalluservalues(lua_State* L_, int idx_);
296
297// -------------------------------------------------------------------------------------------------
298
295LuaType luaG_getmodule(lua_State* L_, std::string_view const& name_); 299LuaType luaG_getmodule(lua_State* L_, std::string_view const& name_);
296 300
297// ------------------------------------------------------------------------------------------------- 301// -------------------------------------------------------------------------------------------------