diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-07 11:46:25 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-07 11:46:25 +0200 |
commit | ee32d4281a5e59ce81d7f38f86a49fa8ff64d2c3 (patch) | |
tree | 68c0d74ac40c6ee098abf606e3d660a862acf04f /src/uniquekey.h | |
parent | 35d7a6bb691d7e0564cda324b3d724caf4901545 (diff) | |
download | lanes-ee32d4281a5e59ce81d7f38f86a49fa8ff64d2c3.tar.gz lanes-ee32d4281a5e59ce81d7f38f86a49fa8ff64d2c3.tar.bz2 lanes-ee32d4281a5e59ce81d7f38f86a49fa8ff64d2c3.zip |
Boyscouting some luaG_ functions
Diffstat (limited to 'src/uniquekey.h')
-rw-r--r-- | src/uniquekey.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uniquekey.h b/src/uniquekey.h index 114d22e..94c09c7 100644 --- a/src/uniquekey.h +++ b/src/uniquekey.h | |||
@@ -70,7 +70,7 @@ class RegistryUniqueKey | |||
70 | STACK_GROW(L_, 1); | 70 | STACK_GROW(L_, 1); |
71 | STACK_CHECK_START_REL(L_, 0); | 71 | STACK_CHECK_START_REL(L_, 0); |
72 | pushValue(L_); | 72 | pushValue(L_); |
73 | T* const value{ lua_tolightuserdata<T>(L_, -1) }; // lightuserdata/nil | 73 | T* const value{ luaG_tolightuserdata<T>(L_, -1) }; // lightuserdata/nil |
74 | lua_pop(L_, 1); | 74 | lua_pop(L_, 1); |
75 | STACK_CHECK(L_, 0); | 75 | STACK_CHECK(L_, 0); |
76 | return value; | 76 | return value; |