diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-10-29 14:51:20 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2007-10-29 14:51:20 -0200 |
| commit | 0e961ad47acbe2d67b72c90cc1ba0040f3907b75 (patch) | |
| tree | 88233e2e58ebaec36b5cf109ea0cd838ec64ce89 /lstate.c | |
| parent | c06cc609466d4527848bbf87268ec714942d554a (diff) | |
| download | lua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.tar.gz lua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.tar.bz2 lua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.zip | |
some changes toward ephemerons
Diffstat (limited to 'lstate.c')
| -rw-r--r-- | lstate.c | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.c,v 2.39 2006/09/11 14:07:24 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.40 2006/10/10 17:40:17 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 | */ |
| @@ -182,7 +182,9 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
| 182 | g->sweepgc = &g->rootgc; | 182 | g->sweepgc = &g->rootgc; |
| 183 | g->gray = NULL; | 183 | g->gray = NULL; |
| 184 | g->grayagain = NULL; | 184 | g->grayagain = NULL; |
| 185 | g->weak = NULL; | 185 | g->weakvalue = NULL; |
| 186 | g->weakkey = NULL; | ||
| 187 | g->weakkeyvalue = NULL; | ||
| 186 | g->tmudata = NULL; | 188 | g->tmudata = NULL; |
| 187 | g->totalbytes = sizeof(LG); | 189 | g->totalbytes = sizeof(LG); |
| 188 | g->gcpause = LUAI_GCPAUSE; | 190 | g->gcpause = LUAI_GCPAUSE; |
