aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-05-22 14:48:19 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-05-22 14:48:19 -0300
commitd39bb51faaa0467ad6a0f5b4ee2ee8400d620727 (patch)
tree64d49afe6eb909412693c5e1c7498571aaa947ff /ldo.h
parent6142e663e4d3180d2afaea50bd0978a040f518a4 (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.h b/ldo.h
index 329a1684..d4d4af72 100644
--- a/ldo.h
+++ b/ldo.h
@@ -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);
35LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u, 35LUAI_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);
37LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult); 37LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult, int nres);
38LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); 38LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize);
39LUAI_FUNC void luaD_growstack (lua_State *L, int n); 39LUAI_FUNC void luaD_growstack (lua_State *L, int n);
40LUAI_FUNC void luaD_shrinkstack (lua_State *L); 40LUAI_FUNC void luaD_shrinkstack (lua_State *L);