aboutsummaryrefslogtreecommitdiff
path: root/src/tools.h
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2012-06-27 14:07:55 +0200
committerBenoit Germain <bnt.germain@gmail.com>2012-06-27 14:07:55 +0200
commit6234c2113a2b52ddc9fa900e7848f2cd19bd9394 (patch)
treedeb14fd69b53b863b825c954b50a58667e1bc19c /src/tools.h
parentccd465a1c7c7257e85eb04fcc6767b38e794dbbe (diff)
downloadlanes-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.h2
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
65int luaG_inter_copy( lua_State *L, lua_State *L2, uint_t n); 65int luaG_inter_copy( lua_State *L, lua_State *L2, uint_t n);
66int luaG_inter_move( lua_State *L, lua_State *L2, uint_t n); 66int luaG_inter_move( lua_State *L, lua_State *L2, uint_t n);
67 67
68int 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//
70extern MUTEX_T deep_lock; 72extern MUTEX_T deep_lock;