diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-01-10 17:19:27 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-01-10 17:19:27 -0200 |
commit | ab0a851db438c4dd50b76bcf624c15623cc057e4 (patch) | |
tree | da55c14dffd959fc38351fc43dcb0fcb294077cb /ldo.h | |
parent | 728ff9459579894ef7fd861c90be6247831799be (diff) | |
download | lua-ab0a851db438c4dd50b76bcf624c15623cc057e4.tar.gz lua-ab0a851db438c4dd50b76bcf624c15623cc057e4.tar.bz2 lua-ab0a851db438c4dd50b76bcf624c15623cc057e4.zip |
'luaD_tryfuncTM' can ensure it does not change the stack
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 2.37 2017/12/08 17:28:25 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.38 2017/12/11 12:43:40 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 | */ |
@@ -51,7 +51,7 @@ LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); | |||
51 | LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n); | 51 | LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n); |
52 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); | 52 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); |
53 | LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); | 53 | LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); |
54 | LUAI_FUNC StkId luaD_tryfuncTM (lua_State *L, StkId func); | 54 | LUAI_FUNC void luaD_tryfuncTM (lua_State *L, StkId func); |
55 | LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, | 55 | LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, |
56 | ptrdiff_t oldtop, ptrdiff_t ef); | 56 | ptrdiff_t oldtop, ptrdiff_t ef); |
57 | LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, | 57 | LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, |