diff options
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 1.134 2003/12/04 18:52:23 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.1 2003/12/10 12:13:36 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,7 +167,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
167 | setnilvalue(registry(L)); | 167 | setnilvalue(registry(L)); |
168 | luaZ_initbuffer(L, &g->buff); | 168 | luaZ_initbuffer(L, &g->buff); |
169 | g->panic = NULL; | 169 | g->panic = NULL; |
170 | g->gcstate = 0; | 170 | g->gcstate = GCSfinalize; |
171 | g->rootgc = NULL; | 171 | g->rootgc = NULL; |
172 | g->sweepstrgc = 0; | 172 | g->sweepstrgc = 0; |
173 | g->currentwhite = bitmask(WHITE0BIT); | 173 | g->currentwhite = bitmask(WHITE0BIT); |