diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2018-11-21 08:47:13 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2018-11-21 08:47:13 +0100 |
commit | 1e44f5065b8a68041e38d429f4119019bca17368 (patch) | |
tree | b0f21825f8821d38ac4e0bdbc6b9486b46c56194 /src/lanes.c | |
parent | b7466ec36218ff7cba3ecb0ea0cd3f9d53bafd1f (diff) | |
download | lanes-1e44f5065b8a68041e38d429f4119019bca17368.tar.gz lanes-1e44f5065b8a68041e38d429f4119019bca17368.tar.bz2 lanes-1e44f5065b8a68041e38d429f4119019bca17368.zip |
More DEBUGSPEW logging
Diffstat (limited to 'src/lanes.c')
-rw-r--r-- | src/lanes.c | 5 |
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 |