summaryrefslogtreecommitdiff
path: root/libs/liblua/src/ldebug.h
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2020-10-11 16:04:04 +0300
committerdartraiden <wowemuh@gmail.com>2020-10-11 16:04:25 +0300
commit20c5f9b5ad74780ec2cade5a47bd066ed69453b0 (patch)
treec958fc5005d0bf5a0fa782a8696a14c6eaaa1c46 /libs/liblua/src/ldebug.h
parent540874feb0fefb5610fb96e1a5462b500265f90b (diff)
liblua: update to 5.4.1
Diffstat (limited to 'libs/liblua/src/ldebug.h')
-rw-r--r--libs/liblua/src/ldebug.h5
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)
/*