aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lstate.h b/lstate.h
index b7d69af6..978ffbc1 100644
--- a/lstate.h
+++ b/lstate.h
@@ -64,6 +64,9 @@ struct lua_longjmp; /* defined in ldo.c */
64 64
65#define RESERVED_STACK_PREFIX 3 65#define RESERVED_STACK_PREFIX 3
66 66
67/* space to handle stack overflow errors */
68#define EXTRA_STACK (2*LUA_MINSTACK)
69
67 70
68 71
69typedef struct stringtable { 72typedef struct stringtable {
@@ -90,6 +93,7 @@ typedef struct CallInfo {
90 93
91#define ci_func(ci) (clvalue((ci)->base - 1)) 94#define ci_func(ci) (clvalue((ci)->base - 1))
92 95
96#define yield_results refi /* reuse this field */
93 97
94 98
95/* 99/*
@@ -138,5 +142,7 @@ struct lua_State {
138#define G(L) (L->_G) 142#define G(L) (L->_G)
139 143
140 144
145void luaE_closethread (lua_State *OL, lua_State *L);
146
141#endif 147#endif
142 148