diff options
Diffstat (limited to 'libs/liblua/src/ldebug.h')
-rw-r--r-- | libs/liblua/src/ldebug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/liblua/src/ldebug.h b/libs/liblua/src/ldebug.h index 1fe0efab08..a0a584862e 100644 --- a/libs/liblua/src/ldebug.h +++ b/libs/liblua/src/ldebug.h @@ -13,6 +13,11 @@ #define pcRel(pc, p) (cast_int((pc) - (p)->code) - 1) + +/* Active Lua function (given call info) */ +#define ci_func(ci) (clLvalue(s2v((ci)->func))) + + #define resethookcount(L) (L->hookcount = L->basehookcount) /* |