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 2.17 2004/11/24 19:20:21 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.18 2004/12/06 17:53:42 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 | */ |
| @@ -193,7 +193,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
| 193 | setnilvalue(gval(g->dummynode)); | 193 | setnilvalue(gval(g->dummynode)); |
| 194 | gnext(g->dummynode) = NULL; | 194 | gnext(g->dummynode) = NULL; |
| 195 | g->totalbytes = sizeof(LG); | 195 | g->totalbytes = sizeof(LG); |
| 196 | g->stepmul = STEPMUL; | 196 | g->gcpace = GCDIV; |
| 197 | g->incgc = 1; | 197 | g->incgc = 1; |
| 198 | if (luaD_rawrunprotected(L, f_luaopen, NULL) != 0) { | 198 | if (luaD_rawrunprotected(L, f_luaopen, NULL) != 0) { |
| 199 | /* memory allocation error: free partial state */ | 199 | /* memory allocation error: free partial state */ |
