diff options
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 2.101 2013/08/07 12:18:11 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.102 2013/08/16 18:55:49 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 | */ |
@@ -280,8 +280,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
280 | g->seed = makeseed(L); | 280 | g->seed = makeseed(L); |
281 | g->gcrunning = 0; /* no GC while building state */ | 281 | g->gcrunning = 0; /* no GC while building state */ |
282 | g->GCestimate = 0; | 282 | g->GCestimate = 0; |
283 | g->strt.size = 0; | 283 | g->strt.size = g->strt.nuse = g->strt.empty = 0; |
284 | g->strt.nuse = 0; | ||
285 | g->strt.hash = NULL; | 284 | g->strt.hash = NULL; |
286 | setnilvalue(&g->l_registry); | 285 | setnilvalue(&g->l_registry); |
287 | luaZ_initbuffer(L, &g->buff); | 286 | luaZ_initbuffer(L, &g->buff); |