diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-14 19:47:29 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-02-14 19:47:29 -0200 |
commit | b0a5e156b8e6913c6eb8ed65ab28576b8b88f461 (patch) | |
tree | 11b32d6436e2c663171127990509d091c1ea847d /lstate.h | |
parent | ac178ee4788c13761ec0850b31ff17673a33f227 (diff) | |
download | lua-b0a5e156b8e6913c6eb8ed65ab28576b8b88f461.tar.gz lua-b0a5e156b8e6913c6eb8ed65ab28576b8b88f461.tar.bz2 lua-b0a5e156b8e6913c6eb8ed65ab28576b8b88f461.zip |
no more maximum stack size
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -73,8 +73,9 @@ struct lua_longjmp; /* defined in ldo.c */ | |||
73 | 73 | ||
74 | #define BASIC_STACK_SIZE (2*LUA_MINSTACK) | 74 | #define BASIC_STACK_SIZE (2*LUA_MINSTACK) |
75 | 75 | ||
76 | #define DEFAULT_MAXSTACK 12000 | 76 | #ifndef LUA_MAXSTACK |
77 | 77 | #define LUA_MAXSTACK 14000 | |
78 | #endif | ||
78 | 79 | ||
79 | 80 | ||
80 | 81 | ||
@@ -141,7 +142,6 @@ struct lua_State { | |||
141 | lua_State *next; /* circular double linked list of states */ | 142 | lua_State *next; /* circular double linked list of states */ |
142 | lua_State *previous; | 143 | lua_State *previous; |
143 | int stacksize; | 144 | int stacksize; |
144 | int maxstacksize; | ||
145 | int size_ci; /* size of array `base_ci' */ | 145 | int size_ci; /* size of array `base_ci' */ |
146 | int allowhooks; | 146 | int allowhooks; |
147 | lua_Hook callhook; | 147 | lua_Hook callhook; |