diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-21 15:41:54 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-21 15:41:54 +0100 |
commit | f0170ce8f1a90337637d387b87280f121d0578fe (patch) | |
tree | 32065aa3470b54e6058e5f47e4931171b7ec28f2 /src/deep.cpp | |
parent | 0b13436b835ea96ecdf930a380e9e5c8add8cb45 (diff) | |
download | lanes-f0170ce8f1a90337637d387b87280f121d0578fe.tar.gz lanes-f0170ce8f1a90337637d387b87280f121d0578fe.tar.bz2 lanes-f0170ce8f1a90337637d387b87280f121d0578fe.zip |
C++ migration: REGISTRY_SET and REGISTRY_GET are gone, welcome templates and lambdas
Diffstat (limited to 'src/deep.cpp')
-rw-r--r-- | src/deep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deep.cpp b/src/deep.cpp index c9e3655..1aab6ed 100644 --- a/src/deep.cpp +++ b/src/deep.cpp | |||
@@ -94,7 +94,7 @@ static void get_deep_lookup( lua_State* L) | |||
94 | { | 94 | { |
95 | STACK_GROW( L, 1); | 95 | STACK_GROW( L, 1); |
96 | STACK_CHECK( L, 1); // a | 96 | STACK_CHECK( L, 1); // a |
97 | REGISTRY_GET( L, DEEP_LOOKUP_KEY); // a {} | 97 | DEEP_LOOKUP_KEY.query_registry(L); // a {} |
98 | if( !lua_isnil( L, -1)) | 98 | if( !lua_isnil( L, -1)) |
99 | { | 99 | { |
100 | lua_insert( L, -2); // {} a | 100 | lua_insert( L, -2); // {} a |