diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2012-06-27 14:07:55 +0200 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2012-06-27 14:07:55 +0200 |
commit | 6234c2113a2b52ddc9fa900e7848f2cd19bd9394 (patch) | |
tree | deb14fd69b53b863b825c954b50a58667e1bc19c /src/tools.h | |
parent | ccd465a1c7c7257e85eb04fcc6767b38e794dbbe (diff) | |
download | lanes-6234c2113a2b52ddc9fa900e7848f2cd19bd9394.tar.gz lanes-6234c2113a2b52ddc9fa900e7848f2cd19bd9394.tar.bz2 lanes-6234c2113a2b52ddc9fa900e7848f2cd19bd9394.zip |
* when a transfered function is not found in source, guess its name to help the user find out what's wrongv3.1.4
* new function lanes.nameof()
Diffstat (limited to 'src/tools.h')
-rw-r--r-- | src/tools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools.h b/src/tools.h index 67f9874..b8dc362 100644 --- a/src/tools.h +++ b/src/tools.h | |||
@@ -65,6 +65,8 @@ void luaG_push_proxy( lua_State *L, luaG_IdFunction idfunc, DEEP_PRELUDE *deep_u | |||
65 | int luaG_inter_copy( lua_State *L, lua_State *L2, uint_t n); | 65 | int luaG_inter_copy( lua_State *L, lua_State *L2, uint_t n); |
66 | int luaG_inter_move( lua_State *L, lua_State *L2, uint_t n); | 66 | int luaG_inter_move( lua_State *L, lua_State *L2, uint_t n); |
67 | 67 | ||
68 | int luaG_nameof( lua_State* L); | ||
69 | |||
68 | // Lock for reference counter inc/dec locks (to be initialized by outside code) | 70 | // Lock for reference counter inc/dec locks (to be initialized by outside code) |
69 | // | 71 | // |
70 | extern MUTEX_T deep_lock; | 72 | extern MUTEX_T deep_lock; |