summaryrefslogtreecommitdiff
path: root/src/keeper.h
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2013-01-24 22:46:21 +0100
committerBenoit Germain <bnt.germain@gmail.com>2013-01-24 22:46:21 +0100
commit68d8db431ec2b739dc53233d6b4d8aeee9324e48 (patch)
treed8f0fbe0f8c4e1a07ac4248fd1b7673f49beb4d3 /src/keeper.h
parent623fb3c0cae9beb3d5e7d3f7424b47d80041c1ac (diff)
downloadlanes-3.4.3.tar.gz
lanes-3.4.3.tar.bz2
lanes-3.4.3.zip
version 3.4.3v3.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
Diffstat (limited to 'src/keeper.h')
-rw-r--r--src/keeper.h2
1 files changed, 1 insertions, 1 deletions
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
13// problem: maybe on some platforms (linux) atexit() is called after DLL/so are unloaded... 13// problem: maybe on some platforms (linux) atexit() is called after DLL/so are unloaded...
14#define HAVE_KEEPER_ATEXIT_DESINIT 0 14#define HAVE_KEEPER_ATEXIT_DESINIT 0
15 15
16char const* init_keepers( int const _nbKeepers, lua_CFunction _on_state_create); 16char const* init_keepers( lua_State* L, int const _nbKeepers, lua_CFunction _on_state_create);
17#if !HAVE_KEEPER_ATEXIT_DESINIT 17#if !HAVE_KEEPER_ATEXIT_DESINIT
18void close_keepers( void); 18void close_keepers( void);
19#endif // HAVE_KEEPER_ATEXIT_DESINIT 19#endif // HAVE_KEEPER_ATEXIT_DESINIT