aboutsummaryrefslogtreecommitdiff
path: root/src/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.cpp')
-rw-r--r--src/state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.cpp b/src/state.cpp
index 5589c30..7585132 100644
--- a/src/state.cpp
+++ b/src/state.cpp
@@ -105,7 +105,7 @@ namespace {
105 break; 105 break;
106 } 106 }
107 std::string_view const _name{ _entry.name }; 107 std::string_view const _name{ _entry.name };
108 DEBUGSPEW_CODE(DebugSpew(universe_get(L_)) << "opening '" << _name << "' library" << std::endl); 108 DEBUGSPEW_CODE(DebugSpew(Universe::Get(L_)) << "opening '" << _name << "' library" << std::endl);
109 STACK_CHECK_START_REL(L_, 0); 109 STACK_CHECK_START_REL(L_, 0);
110 // open the library as if through require(), and create a global as well if necessary (the library table is left on the stack) 110 // open the library as if through require(), and create a global as well if necessary (the library table is left on the stack)
111 bool const isLanesCore{ _libfunc == require_lanes_core }; // don't want to create a global for "lanes.core" 111 bool const isLanesCore{ _libfunc == require_lanes_core }; // don't want to create a global for "lanes.core"
@@ -273,7 +273,7 @@ namespace state {
273 273
274 // copy the universe as a light userdata (only the master state holds the full userdata) 274 // copy the universe as a light userdata (only the master state holds the full userdata)
275 // that way, if Lanes is required in this new state, we'll know we are part of this universe 275 // that way, if Lanes is required in this new state, we'll know we are part of this universe
276 universe_store(_L, U_); 276 Universe::Store(_L, U_);
277 STACK_CHECK(_L, 0); 277 STACK_CHECK(_L, 0);
278 278
279 // we'll need this every time we transfer some C function from/to this state 279 // we'll need this every time we transfer some C function from/to this state