diff options
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; |