diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-07 09:29:49 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-07 09:29:49 +0200 |
commit | e939e5e6a894a042d3301e47faa05264445f27f6 (patch) | |
tree | e913615e3fd0ed9e94d9494d6e266420dd7a771b /src/universe.cpp | |
parent | b064bedccebe511b96c9d99d689d6634f5873ec2 (diff) | |
download | lanes-e939e5e6a894a042d3301e47faa05264445f27f6.tar.gz lanes-e939e5e6a894a042d3301e47faa05264445f27f6.tar.bz2 lanes-e939e5e6a894a042d3301e47faa05264445f27f6.zip |
Internal improvements: new strong types StackIndex and KeeperIndex
Diffstat (limited to 'src/universe.cpp')
-rw-r--r-- | src/universe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp index 04db10f..3800dbb 100644 --- a/src/universe.cpp +++ b/src/universe.cpp | |||
@@ -85,7 +85,7 @@ void Universe::callOnStateCreate(lua_State* const L_, lua_State* const from_, Lo | |||
85 | } | 85 | } |
86 | 86 | ||
87 | STACK_CHECK_START_REL(L_, 0); | 87 | STACK_CHECK_START_REL(L_, 0); |
88 | DEBUGSPEW_CODE(DebugSpew(U_) << "calling on_state_create()" << std::endl); | 88 | DEBUGSPEW_CODE(DebugSpew(this) << "calling on_state_create()" << std::endl); |
89 | if (std::holds_alternative<lua_CFunction>(onStateCreateFunc)) { | 89 | if (std::holds_alternative<lua_CFunction>(onStateCreateFunc)) { |
90 | 90 | ||
91 | // C function: recreate a closure in the new state, bypassing the lookup scheme | 91 | // C function: recreate a closure in the new state, bypassing the lookup scheme |