diff options
author | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2018-11-07 19:16:36 +0100 |
---|---|---|
committer | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2018-11-07 19:16:36 +0100 |
commit | a142eb1e1ee81919d10b55bb7fa2e33636098d85 (patch) | |
tree | 21ef5c830ce4b4e845454af4274beabd073cc720 /src/lanes.c | |
parent | 91155c74fc10fa98ad6257d5309bfd13d4a61cf0 (diff) | |
download | lanes-a142eb1e1ee81919d10b55bb7fa2e33636098d85.tar.gz lanes-a142eb1e1ee81919d10b55bb7fa2e33636098d85.tar.bz2 lanes-a142eb1e1ee81919d10b55bb7fa2e33636098d85.zip |
__lanesclone mechanism should actually work now
Diffstat (limited to 'src/lanes.c')
-rw-r--r-- | src/lanes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lanes.c b/src/lanes.c index d4b4c73..c3e64fb 100644 --- a/src/lanes.c +++ b/src/lanes.c | |||
@@ -2289,6 +2289,7 @@ LUAG_FUNC( lane_new) | |||
2289 | // require the module in the target state, and populate the lookup table there too | 2289 | // require the module in the target state, and populate the lookup table there too |
2290 | size_t len; | 2290 | size_t len; |
2291 | char const* name = lua_tolstring( L, -1, &len); | 2291 | char const* name = lua_tolstring( L, -1, &len); |
2292 | DEBUGSPEW_CODE( fprintf( stderr, INDENT_BEGIN "lane_new: require '%s'\n" INDENT_END, name)); | ||
2292 | 2293 | ||
2293 | // require the module in the target lane | 2294 | // require the module in the target lane |
2294 | lua_getglobal( L2, "require"); // require()? | 2295 | lua_getglobal( L2, "require"); // require()? |