summaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ldebug.c b/ldebug.c
index b51ae8b7..86ee7dae 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 2.111 2015/02/13 16:01:17 roberto Exp roberto $ 2** $Id: ldebug.c,v 2.112 2015/03/06 19:49:50 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -34,6 +34,10 @@
34#define noLuaClosure(f) ((f) == NULL || (f)->c.tt == LUA_TCCL) 34#define noLuaClosure(f) ((f) == NULL || (f)->c.tt == LUA_TCCL)
35 35
36 36
37/* Active Lua function (given call info) */
38#define ci_func(ci) (clLvalue((ci)->func))
39
40
37static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name); 41static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name);
38 42
39 43