diff options
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 1.130 2003/12/01 18:22:56 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 1.131 2003/12/03 12:30:41 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 | */ |
@@ -167,6 +167,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
167 | g->panic = NULL; | 167 | g->panic = NULL; |
168 | g->gcstate = 0; | 168 | g->gcstate = 0; |
169 | g->rootgc = NULL; | 169 | g->rootgc = NULL; |
170 | g->currentwhite = bitmask(WHITE0BIT); | ||
170 | g->firstudata = NULL; | 171 | g->firstudata = NULL; |
171 | g->gray = NULL; | 172 | g->gray = NULL; |
172 | g->weak = NULL; | 173 | g->weak = NULL; |