diff options
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.120 2015/03/04 13:31:21 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.121 2015/04/10 17:56:25 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -141,7 +141,7 @@ typedef struct global_State { | |||
141 | TString *memerrmsg; /* memory-error message */ | 141 | TString *memerrmsg; /* memory-error message */ |
142 | TString *tmname[TM_N]; /* array with tag-method names */ | 142 | TString *tmname[TM_N]; /* array with tag-method names */ |
143 | struct Table *mt[LUA_NUMTAGS]; /* metatables for basic types */ | 143 | struct Table *mt[LUA_NUMTAGS]; /* metatables for basic types */ |
144 | TString *strcache[STRCACHE_SIZE]; /* cache for strings in API */ | 144 | TString *strcache[STRCACHE_SIZE][1]; /* cache for strings in API */ |
145 | } global_State; | 145 | } global_State; |
146 | 146 | ||
147 | 147 | ||