summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/lua/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/lua/lstate.h')
-rw-r--r--plugins/MirLua/src/lua/lstate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/MirLua/src/lua/lstate.h b/plugins/MirLua/src/lua/lstate.h
index 81e12c40db..eefc217d26 100644
--- a/plugins/MirLua/src/lua/lstate.h
+++ b/plugins/MirLua/src/lua/lstate.h
@@ -1,5 +1,5 @@
/*
-** $Id: lstate.h,v 2.119 2014/10/30 18:53:28 roberto Exp $
+** $Id: lstate.h,v 2.122 2015/06/01 16:34:37 roberto Exp $
** Global State
** See Copyright Notice in lua.h
*/
@@ -94,6 +94,7 @@ typedef struct CallInfo {
#define CIST_YPCALL (1<<4) /* call is a yieldable protected call */
#define CIST_TAIL (1<<5) /* call was tail called */
#define CIST_HOOKYIELD (1<<6) /* last hook called yielded */
+#define CIST_LEQ (1<<7) /* using __lt for __le */
#define isLua(ci) ((ci)->callstatus & CIST_LUA)
@@ -140,6 +141,7 @@ typedef struct global_State {
TString *memerrmsg; /* memory-error message */
TString *tmname[TM_N]; /* array with tag-method names */
struct Table *mt[LUA_NUMTAGS]; /* metatables for basic types */
+ TString *strcache[STRCACHE_SIZE][1]; /* cache for strings in API */
} global_State;