aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lanes.c')
-rw-r--r--src/lanes.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lanes.c b/src/lanes.c
index ae29af2..f32cf6e 100644
--- a/src/lanes.c
+++ b/src/lanes.c
@@ -2162,7 +2162,7 @@ LUAG_FUNC( configure)
2162 2162
2163 // Proxy userdata contents is only a 'DEEP_PRELUDE*' pointer 2163 // Proxy userdata contents is only a 'DEEP_PRELUDE*' pointer
2164 U->timer_deep = *(DeepPrelude**) lua_touserdata( L, -1); 2164 U->timer_deep = *(DeepPrelude**) lua_touserdata( L, -1);
2165 // increment refcount that this linda remains alive as long as the universe is. 2165 // increment refcount so that this linda remains alive as long as the universe exists.
2166 ++ U->timer_deep->refcount; 2166 ++ U->timer_deep->refcount;
2167 lua_pop( L, 1); // settings 2167 lua_pop( L, 1); // settings
2168 } 2168 }
@@ -2190,7 +2190,7 @@ LUAG_FUNC( configure)
2190 2190
2191 { 2191 {
2192 char const* errmsg; 2192 char const* errmsg;
2193 errmsg = push_deep_proxy( U, L, (DeepPrelude*) U->timer_deep, eLM_LaneBody);// settings M timer_deep 2193 errmsg = push_deep_proxy( U, L, (DeepPrelude*) U->timer_deep, eLM_LaneBody); // settings M timer_deep
2194 if( errmsg != NULL) 2194 if( errmsg != NULL)
2195 { 2195 {
2196 return luaL_error( L, errmsg); 2196 return luaL_error( L, errmsg);
@@ -2250,6 +2250,7 @@ LUAG_FUNC( configure)
2250 // we process it before _G because we don't want to find the module when scanning _G (this would generate longer names) 2250 // we process it before _G because we don't want to find the module when scanning _G (this would generate longer names)
2251 // for example in package.loaded["lanes.core"].* 2251 // for example in package.loaded["lanes.core"].*
2252 populate_func_lookup_table( L, -1, name); 2252 populate_func_lookup_table( L, -1, name);
2253 STACK_MID( L, 2);
2253 2254
2254 // record all existing C/JIT-fast functions 2255 // record all existing C/JIT-fast functions
2255 // Lua 5.2 no longer has LUA_GLOBALSINDEX: we must push globals table on the stack 2256 // Lua 5.2 no longer has LUA_GLOBALSINDEX: we must push globals table on the stack