From bfb88e99e9cbc492b35e5dc53594b1d1216171cd Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 11 Dec 2017 10:43:40 -0200 Subject: 'luaD_growstack' cannot raise any errors when 'raiseerror' is false (+ some comments) --- ldo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ldo.h') diff --git a/ldo.h b/ldo.h index 388f6c3e..765f6cef 100644 --- a/ldo.h +++ b/ldo.h @@ -1,5 +1,5 @@ /* -** $Id: ldo.h,v 2.36 2017/11/23 18:29:41 roberto Exp roberto $ +** $Id: ldo.h,v 2.37 2017/12/08 17:28:25 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -56,8 +56,8 @@ LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, ptrdiff_t oldtop, ptrdiff_t ef); LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, int nres); -LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int safe); -LUAI_FUNC int luaD_growstack (lua_State *L, int n, int safe); +LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int raiseerror); +LUAI_FUNC int luaD_growstack (lua_State *L, int n, int raiseerror); LUAI_FUNC void luaD_shrinkstack (lua_State *L); LUAI_FUNC void luaD_inctop (lua_State *L); -- cgit v1.2.3-55-g6feb