aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-25 13:27:51 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-11-25 13:27:51 -0200
commitb0f2b288a6b860374b9578d4c51329fc9cd43022 (patch)
tree82bacf246458c8f97ec22424ff40832df67a52e5 /ldo.h
parent2b25489b47ad94e6f970f5d9150937734322f24c (diff)
downloadlua-b0f2b288a6b860374b9578d4c51329fc9cd43022.tar.gz
lua-b0f2b288a6b860374b9578d4c51329fc9cd43022.tar.bz2
lua-b0f2b288a6b860374b9578d4c51329fc9cd43022.zip
new scheme for debug info about tail calls: no more 'fake' stack entries,
but stack entry knows whether it was tail called
Diffstat (limited to 'ldo.h')
-rw-r--r--ldo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.h b/ldo.h
index f59c045d..834e6dd8 100644
--- a/ldo.h
+++ b/ldo.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.h,v 2.15 2009/07/15 17:26:14 roberto Exp roberto $ 2** $Id: ldo.h,v 2.16 2009/11/19 16:24:41 roberto Exp roberto $
3** Stack and Call structure of Lua 3** Stack and Call structure of Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -27,7 +27,7 @@
27typedef void (*Pfunc) (lua_State *L, void *ud); 27typedef void (*Pfunc) (lua_State *L, void *ud);
28 28
29LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name); 29LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name);
30LUAI_FUNC void luaD_callhook (lua_State *L, int event, int line); 30LUAI_FUNC void luaD_hook (lua_State *L, int event, int line);
31LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults); 31LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
32LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults, 32LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults,
33 int allowyield); 33 int allowyield);