diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-03-11 13:10:41 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-03-11 13:10:41 -0300 |
commit | 0cf3b6495a9eb58b7e50f43d633414aabab199af (patch) | |
tree | 2ecc23433f5bbd817db7719c3b6bb76965802c1c /ldebug.c | |
parent | b66fedadaef9b6adcdc531d96eb0c4e54a600f6b (diff) | |
download | lua-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.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 | |||
37 | static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name); | 41 | static const char *getfuncname (lua_State *L, CallInfo *ci, const char **name); |
38 | 42 | ||
39 | 43 | ||