summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/lua/src/ldebug.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/lua/src/ldebug.h')
-rw-r--r--3rdparty/lua/src/ldebug.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/3rdparty/lua/src/ldebug.h b/3rdparty/lua/src/ldebug.h
index 974960e99da..2bfce3cb5e7 100644
--- a/3rdparty/lua/src/ldebug.h
+++ b/3rdparty/lua/src/ldebug.h
@@ -15,7 +15,7 @@
/* Active Lua function (given call info) */
-#define ci_func(ci) (clLvalue(s2v((ci)->func)))
+#define ci_func(ci) (clLvalue(s2v((ci)->func.p)))
#define resethookcount(L) (L->hookcount = L->basehookcount)
@@ -58,6 +58,7 @@ LUAI_FUNC const char *luaG_addinfo (lua_State *L, const char *msg,
TString *src, int line);
LUAI_FUNC l_noret luaG_errormsg (lua_State *L);
LUAI_FUNC int luaG_traceexec (lua_State *L, const Instruction *pc);
+LUAI_FUNC int luaG_tracecall (lua_State *L);
#endif