From 0cf3b6495a9eb58b7e50f43d633414aabab199af Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 11 Mar 2015 13:10:41 -0300 Subject: 'ci_func' don't need to be exported --- ldebug.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index b51ae8b7..86ee7dae 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 2.111 2015/02/13 16:01:17 roberto Exp roberto $ +** $Id: ldebug.c,v 2.112 2015/03/06 19:49:50 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -34,6 +34,10 @@ #define noLuaClosure(f) ((f) == NULL || (f)->c.tt == LUA_TCCL) +/* Active Lua function (given call info) */ +#define ci_func(ci) (clLvalue((ci)->func)) + + static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name); -- cgit v1.2.3-55-g6feb