aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-12-11 10:43:40 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-12-11 10:43:40 -0200
commitbfb88e99e9cbc492b35e5dc53594b1d1216171cd (patch)
tree4e63c15daa2f27cbba2c7cd4d301eea52e712c4f /ldo.h
parentc5ebed73997c118306e548ac5ccb98302dbf90e4 (diff)
downloadlua-bfb88e99e9cbc492b35e5dc53594b1d1216171cd.tar.gz
lua-bfb88e99e9cbc492b35e5dc53594b1d1216171cd.tar.bz2
lua-bfb88e99e9cbc492b35e5dc53594b1d1216171cd.zip
'luaD_growstack' cannot raise any errors when 'raiseerror' is
false (+ some comments)
Diffstat (limited to 'ldo.h')
-rw-r--r--ldo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldo.h b/ldo.h
index 388f6c3e..765f6cef 100644
--- a/ldo.h
+++ b/ldo.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.h,v 2.36 2017/11/23 18:29:41 roberto Exp roberto $ 2** $Id: ldo.h,v 2.37 2017/12/08 17:28:25 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*/
@@ -56,8 +56,8 @@ 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);
57LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, 57LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult,
58 int nres); 58 int nres);
59LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int safe); 59LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int raiseerror);
60LUAI_FUNC int luaD_growstack (lua_State *L, int n, int safe); 60LUAI_FUNC int luaD_growstack (lua_State *L, int n, int raiseerror);
61LUAI_FUNC void luaD_shrinkstack (lua_State *L); 61LUAI_FUNC void luaD_shrinkstack (lua_State *L);
62LUAI_FUNC void luaD_inctop (lua_State *L); 62LUAI_FUNC void luaD_inctop (lua_State *L);
63 63