diff options
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 2.70 2010/03/19 21:04:17 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.71 2010/03/22 17:45:55 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 | */ |
@@ -264,7 +264,8 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
264 | g->panic = NULL; | 264 | g->panic = NULL; |
265 | g->version = lua_version(NULL); | 265 | g->version = lua_version(NULL); |
266 | g->gcstate = GCSpause; | 266 | g->gcstate = GCSpause; |
267 | g->rootgc = obj2gco(L); | 267 | g->allgc = obj2gco(L); |
268 | g->udgc = NULL; | ||
268 | g->tobefnz = NULL; | 269 | g->tobefnz = NULL; |
269 | g->totalbytes = sizeof(LG); | 270 | g->totalbytes = sizeof(LG); |
270 | g->gcpause = LUAI_GCPAUSE; | 271 | g->gcpause = LUAI_GCPAUSE; |