From 68d8db431ec2b739dc53233d6b4d8aeee9324e48 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 24 Jan 2013 22:46:21 +0100 Subject: version 3.4.3 * raise an error if lane generator libs specification contains a lib more than once * bit32 is a valid lib name in the libs specification (silently ignored by the Lua 5.1 build) * improved lanes.nameof to search inside table- and userdata- metatables for an object's name * fixed an unwarranted error when trying to discover a function name upon a failed transfer * contents of package.[path,cpath,preload,loaders|searchers] are pulled *only once* inside keeper states at initialisation * Lua function upvalues equal to the global environment aren't copied by value, but bound to the destination's global environment especially useful for Lua 5.2 _ENV * fixed loading of base libraries that didn't create the global tables when built for Lua 5.2 --- src/keeper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/keeper.h') diff --git a/src/keeper.h b/src/keeper.h index decae4a..15a5a41 100644 --- a/src/keeper.h +++ b/src/keeper.h @@ -13,7 +13,7 @@ struct s_Keeper // problem: maybe on some platforms (linux) atexit() is called after DLL/so are unloaded... #define HAVE_KEEPER_ATEXIT_DESINIT 0 -char const* init_keepers( int const _nbKeepers, lua_CFunction _on_state_create); +char const* init_keepers( lua_State* L, int const _nbKeepers, lua_CFunction _on_state_create); #if !HAVE_KEEPER_ATEXIT_DESINIT void close_keepers( void); #endif // HAVE_KEEPER_ATEXIT_DESINIT -- cgit v1.2.3-55-g6feb