diff options
Diffstat (limited to 'src/compat.cpp')
-rw-r--r-- | src/compat.cpp | 2 |
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 |
95 | int lua_getiuservalue(lua_State* L_, int idx_, int n_) | 95 | int 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 |