diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-12-11 10:43:40 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-12-11 10:43:40 -0200 |
| commit | bfb88e99e9cbc492b35e5dc53594b1d1216171cd (patch) | |
| tree | 4e63c15daa2f27cbba2c7cd4d301eea52e712c4f /ldo.h | |
| parent | c5ebed73997c118306e548ac5ccb98302dbf90e4 (diff) | |
| download | lua-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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); |
| 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, |
| 58 | int nres); | 58 | int nres); |
| 59 | LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int safe); | 59 | LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int raiseerror); |
| 60 | LUAI_FUNC int luaD_growstack (lua_State *L, int n, int safe); | 60 | LUAI_FUNC int luaD_growstack (lua_State *L, int n, int raiseerror); |
| 61 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); | 61 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); |
| 62 | LUAI_FUNC void luaD_inctop (lua_State *L); | 62 | LUAI_FUNC void luaD_inctop (lua_State *L); |
| 63 | 63 | ||
