diff options
Diffstat (limited to 'src/lanes.c')
-rw-r--r-- | src/lanes.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lanes.c b/src/lanes.c index 3e906c0..300c924 100644 --- a/src/lanes.c +++ b/src/lanes.c | |||
@@ -51,7 +51,7 @@ | |||
51 | * ... | 51 | * ... |
52 | */ | 52 | */ |
53 | 53 | ||
54 | char const* VERSION = "3.1.4"; | 54 | char const* VERSION = "3.1.5"; |
55 | 55 | ||
56 | /* | 56 | /* |
57 | =============================================================================== | 57 | =============================================================================== |
@@ -868,7 +868,7 @@ static void linda_id( lua_State *L, char const * const which) | |||
868 | // in other words, forever. | 868 | // in other words, forever. |
869 | lua_pushnil( L); | 869 | lua_pushnil( L); |
870 | // other idfuncs must push a string naming the module they come from | 870 | // other idfuncs must push a string naming the module they come from |
871 | //lua_pushliteral( L, "lua51-lanes"); | 871 | //lua_pushliteral( L, "lanes.core"); |
872 | } | 872 | } |
873 | } | 873 | } |
874 | 874 | ||
@@ -1697,11 +1697,11 @@ LUAG_FUNC( thread_new ) | |||
1697 | 1697 | ||
1698 | // modules to require in the target lane *before* the function is transfered! | 1698 | // modules to require in the target lane *before* the function is transfered! |
1699 | 1699 | ||
1700 | //start by requiring lua51-lanes, since it is a bit special | 1700 | //start by requiring lanes.core, since it is a bit special |
1701 | // it is not fatal if 'require' isn't loaded, just ignore (may cause function transfer errors later on if the lane pulls the lanes module itself) | 1701 | // it is not fatal if 'require' isn't loaded, just ignore (may cause function transfer errors later on if the lane pulls the lanes module itself) |
1702 | STACK_CHECK(L) | 1702 | STACK_CHECK(L) |
1703 | STACK_CHECK(L2) | 1703 | STACK_CHECK(L2) |
1704 | lua_pushliteral( L, "lua51-lanes"); | 1704 | lua_pushliteral( L, "lanes.core"); |
1705 | require_one_module( L, L2, FALSE); | 1705 | require_one_module( L, L2, FALSE); |
1706 | lua_pop( L, 1); | 1706 | lua_pop( L, 1); |
1707 | STACK_END(L2,0) | 1707 | STACK_END(L2,0) |
@@ -2510,7 +2510,7 @@ int | |||
2510 | #if (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC) | 2510 | #if (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC) |
2511 | __declspec(dllexport) | 2511 | __declspec(dllexport) |
2512 | #endif // (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC) | 2512 | #endif // (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC) |
2513 | luaopen_lanes( lua_State *L ) | 2513 | luaopen_lanes_core( lua_State *L ) |
2514 | { | 2514 | { |
2515 | // Create main module interface table | 2515 | // Create main module interface table |
2516 | // we only have 1 closure, which must be called to configure Lanes | 2516 | // we only have 1 closure, which must be called to configure Lanes |