diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-24 15:53:04 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-24 15:53:04 +0200 |
commit | 45fab6f5b12f00631005b0086931a2f25385146e (patch) | |
tree | 2ff35ec89c2622d6624a691874879d1fdca09006 /src/deep.cpp | |
parent | 3bfb6dec957e5e034c12157787fab9faf75c85a1 (diff) | |
download | lanes-45fab6f5b12f00631005b0086931a2f25385146e.tar.gz lanes-45fab6f5b12f00631005b0086931a2f25385146e.tar.bz2 lanes-45fab6f5b12f00631005b0086931a2f25385146e.zip |
C++ migration: using KeeperState = Unique<lua_State*>
Diffstat (limited to 'src/deep.cpp')
-rw-r--r-- | src/deep.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deep.cpp b/src/deep.cpp index e4d090f..241cb95 100644 --- a/src/deep.cpp +++ b/src/deep.cpp | |||
@@ -191,7 +191,7 @@ void DeepFactory::DeleteDeepObject(lua_State* L, DeepPrelude* o_) | |||
191 | * used in this Lua state (metatable, registring it). Otherwise, increments the | 191 | * used in this Lua state (metatable, registring it). Otherwise, increments the |
192 | * reference count. | 192 | * reference count. |
193 | */ | 193 | */ |
194 | char const* DeepFactory::PushDeepProxy(Dest L, DeepPrelude* prelude, int nuv_, LookupMode mode_) | 194 | char const* DeepFactory::PushDeepProxy(DestState L, DeepPrelude* prelude, int nuv_, LookupMode mode_) |
195 | { | 195 | { |
196 | // Check if a proxy already exists | 196 | // Check if a proxy already exists |
197 | push_registry_subtable_mode(L, DEEP_PROXY_CACHE_KEY, "v"); // DPC | 197 | push_registry_subtable_mode(L, DEEP_PROXY_CACHE_KEY, "v"); // DPC |
@@ -343,7 +343,7 @@ char const* DeepFactory::PushDeepProxy(Dest L, DeepPrelude* prelude, int nuv_, L | |||
343 | * | 343 | * |
344 | * Returns: 'proxy' userdata for accessing the deep data via 'DeepFactory::toDeep()' | 344 | * Returns: 'proxy' userdata for accessing the deep data via 'DeepFactory::toDeep()' |
345 | */ | 345 | */ |
346 | int DeepFactory::pushDeepUserdata(Dest L, int nuv_) const | 346 | int DeepFactory::pushDeepUserdata(DestState L, int nuv_) const |
347 | { | 347 | { |
348 | STACK_GROW( L, 1); | 348 | STACK_GROW( L, 1); |
349 | STACK_CHECK_START_REL(L, 0); | 349 | STACK_CHECK_START_REL(L, 0); |