aboutsummaryrefslogtreecommitdiff
path: root/src/compat.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-12 11:26:38 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-12 11:26:38 +0200
commitfffa17d7e28f4a3147adf1f2ae2a73c4b0f7b945 (patch)
tree01f9bbebd6aab5f9be47597e4f62dd0f10853d3a /src/compat.cpp
parentf1c3401e80a3228ee3ef5110e73712e1aa879fca (diff)
downloadlanes-fffa17d7e28f4a3147adf1f2ae2a73c4b0f7b945.tar.gz
lanes-fffa17d7e28f4a3147adf1f2ae2a73c4b0f7b945.tar.bz2
lanes-fffa17d7e28f4a3147adf1f2ae2a73c4b0f7b945.zip
Add support for to-be-closed linda
Diffstat (limited to 'src/compat.cpp')
-rw-r--r--src/compat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.cpp b/src/compat.cpp
index e1e7488..4076aa6 100644
--- a/src/compat.cpp
+++ b/src/compat.cpp
@@ -92,7 +92,7 @@ void* lua_newuserdatauv(lua_State* L_, size_t sz_, [[maybe_unused]] int nuvalue_
92// ################################################################################################# 92// #################################################################################################
93 93
94// push on stack uservalue #n of full userdata at idx 94// push on stack uservalue #n of full userdata at idx
95int lua_getiuservalue(lua_State* L_, int idx_, int n_) 95int lua_getiuservalue(lua_State* const L_, int const idx_, int const n_)
96{ 96{
97 STACK_CHECK_START_REL(L_, 0); 97 STACK_CHECK_START_REL(L_, 0);
98 // full userdata can have only 1 uservalue before 5.4 98 // full userdata can have only 1 uservalue before 5.4