aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-03-11 13:10:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-03-11 13:10:41 -0300
commit0cf3b6495a9eb58b7e50f43d633414aabab199af (patch)
tree2ecc23433f5bbd817db7719c3b6bb76965802c1c /ldebug.c
parentb66fedadaef9b6adcdc531d96eb0c4e54a600f6b (diff)
downloadlua-0cf3b6495a9eb58b7e50f43d633414aabab199af.tar.gz
lua-0cf3b6495a9eb58b7e50f43d633414aabab199af.tar.bz2
lua-0cf3b6495a9eb58b7e50f43d633414aabab199af.zip
'ci_func' don't need to be exported
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