diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-05-22 14:48:19 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-05-22 14:48:19 -0300 |
commit | d39bb51faaa0467ad6a0f5b4ee2ee8400d620727 (patch) | |
tree | 64d49afe6eb909412693c5e1c7498571aaa947ff /ldo.h | |
parent | 6142e663e4d3180d2afaea50bd0978a040f518a4 (diff) | |
download | lua-d39bb51faaa0467ad6a0f5b4ee2ee8400d620727.tar.gz lua-d39bb51faaa0467ad6a0f5b4ee2ee8400d620727.tar.bz2 lua-d39bb51faaa0467ad6a0f5b4ee2ee8400d620727.zip |
bug: interpreter cannot pop activation frame before calling return
hook (as it may want to access local variables active by the end
of the function)
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.20 2011/11/29 15:55:08 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.21 2014/10/25 11:50:46 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 | */ |
@@ -34,7 +34,7 @@ LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults, | |||
34 | int allowyield); | 34 | int allowyield); |
35 | LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, | 35 | LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, |
36 | ptrdiff_t oldtop, ptrdiff_t ef); | 36 | ptrdiff_t oldtop, ptrdiff_t ef); |
37 | LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult); | 37 | LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult, int nres); |
38 | LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); | 38 | LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); |
39 | LUAI_FUNC void luaD_growstack (lua_State *L, int n); | 39 | LUAI_FUNC void luaD_growstack (lua_State *L, int n); |
40 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); | 40 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); |