aboutsummaryrefslogtreecommitdiff
path: root/src/lua/ldebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/ldebug.h')
-rw-r--r--src/lua/ldebug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua/ldebug.h b/src/lua/ldebug.h
index 1fe0efa..a0a5848 100644
--- a/src/lua/ldebug.h
+++ b/src/lua/ldebug.h
@@ -13,6 +13,11 @@
13 13
14#define pcRel(pc, p) (cast_int((pc) - (p)->code) - 1) 14#define pcRel(pc, p) (cast_int((pc) - (p)->code) - 1)
15 15
16
17/* Active Lua function (given call info) */
18#define ci_func(ci) (clLvalue(s2v((ci)->func)))
19
20
16#define resethookcount(L) (L->hookcount = L->basehookcount) 21#define resethookcount(L) (L->hookcount = L->basehookcount)
17 22
18/* 23/*