aboutsummaryrefslogtreecommitdiff
path: root/src/intercopycontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intercopycontext.cpp')
-rw-r--r--src/intercopycontext.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp
index eddb309..3557c7b 100644
--- a/src/intercopycontext.cpp
+++ b/src/intercopycontext.cpp
@@ -101,7 +101,7 @@ THE SOFTWARE.
101 lua_rawget(L1, -2); // L1: ... v ... {} "f.q.n" 101 lua_rawget(L1, -2); // L1: ... v ... {} "f.q.n"
102 } 102 }
103 std::string_view _fqn{ lua_tostringview(L1, -1) }; 103 std::string_view _fqn{ lua_tostringview(L1, -1) };
104 DEBUGSPEW_CODE(DebugSpew(universe_get(L1)) << "function [C] " << _fqn << std::endl); 104 DEBUGSPEW_CODE(DebugSpew(Universe::Get(L1)) << "function [C] " << _fqn << std::endl);
105 // popping doesn't invalidate the pointer since this is an interned string gotten from the lookup database 105 // popping doesn't invalidate the pointer since this is an interned string gotten from the lookup database
106 lua_pop(L1, (mode == LookupMode::FromKeeper) ? 1 : 2); // L1: ... v ... 106 lua_pop(L1, (mode == LookupMode::FromKeeper) ? 1 : 2); // L1: ... v ...
107 STACK_CHECK(L1, 0); 107 STACK_CHECK(L1, 0);
@@ -1142,6 +1142,7 @@ namespace {
1142 break; 1142 break;
1143 1143
1144 // The following types cannot be copied 1144 // The following types cannot be copied
1145 case LuaType::NONE:
1145 case LuaType::CDATA: 1146 case LuaType::CDATA:
1146 [[fallthrough]]; 1147 [[fallthrough]];
1147 case LuaType::THREAD: 1148 case LuaType::THREAD:
@@ -1175,7 +1176,7 @@ namespace {
1175 OnExit(lua_State* L2_) 1176 OnExit(lua_State* L2_)
1176 : L2{ L2_ } 1177 : L2{ L2_ }
1177 , top_L2{ lua_gettop(L2) } 1178 , top_L2{ lua_gettop(L2) }
1178 DEBUGSPEW_COMMA_PARAM(scope{ universe_get(L2_) }) 1179 DEBUGSPEW_COMMA_PARAM(scope{ Universe::Get(L2_) })
1179 { 1180 {
1180 } 1181 }
1181 1182