aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-07-15 14:26:14 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-07-15 14:26:14 -0300
commitf76f4cb79d84af4a7be9e0d75553bbe05a3ae90c (patch)
treedd9d1f8f3fb8c69f7617fe5688d7b1178bb7190e /ldo.h
parentabb85fc059a5d6427b9dc36edee1619f2c7a1da8 (diff)
downloadlua-f76f4cb79d84af4a7be9e0d75553bbe05a3ae90c.tar.gz
lua-f76f4cb79d84af4a7be9e0d75553bbe05a3ae90c.tar.bz2
lua-f76f4cb79d84af4a7be9e0d75553bbe05a3ae90c.zip
new way to control stack overflow, controling only total size of the stack
Diffstat (limited to 'ldo.h')
-rw-r--r--ldo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldo.h b/ldo.h
index 6cd9fdca..7f12ff85 100644
--- a/ldo.h
+++ b/ldo.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.h,v 2.13 2009/06/08 19:35:59 roberto Exp roberto $ 2** $Id: ldo.h,v 2.14 2009/07/08 16:06:51 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*/
@@ -37,6 +37,7 @@ LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);
37LUAI_FUNC void luaD_reallocCI (lua_State *L, int newsize); 37LUAI_FUNC void luaD_reallocCI (lua_State *L, int newsize);
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);
40 41
41LUAI_FUNC void luaD_throw (lua_State *L, int errcode); 42LUAI_FUNC void luaD_throw (lua_State *L, int errcode);
42LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud); 43LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud);