aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-01-10 17:19:27 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-01-10 17:19:27 -0200
commitab0a851db438c4dd50b76bcf624c15623cc057e4 (patch)
treeda55c14dffd959fc38351fc43dcb0fcb294077cb /ldo.h
parent728ff9459579894ef7fd861c90be6247831799be (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.h b/ldo.h
index 765f6cef..50f79242 100644
--- a/ldo.h
+++ b/ldo.h
@@ -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);
51LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n); 51LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n);
52LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); 52LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);
53LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); 53LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults);
54LUAI_FUNC StkId luaD_tryfuncTM (lua_State *L, StkId func); 54LUAI_FUNC void luaD_tryfuncTM (lua_State *L, StkId func);
55LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, 55LUAI_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);
57LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, 57LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult,