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.h | |
parent | c06cc609466d4527848bbf87268ec714942d554a (diff) | |
download | lua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.tar.gz lua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.tar.bz2 lua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.zip |
some changes toward ephemerons
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.27 2006/09/19 13:57:50 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.28 2007/02/07 17:48:52 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 | */ |
@@ -78,7 +78,9 @@ typedef struct global_State { | |||
78 | GCObject **sweepgc; /* position of sweep in `rootgc' */ | 78 | GCObject **sweepgc; /* position of sweep in `rootgc' */ |
79 | GCObject *gray; /* list of gray objects */ | 79 | GCObject *gray; /* list of gray objects */ |
80 | GCObject *grayagain; /* list of objects to be traversed atomically */ | 80 | GCObject *grayagain; /* list of objects to be traversed atomically */ |
81 | GCObject *weak; /* list of weak tables (to be cleared) */ | 81 | GCObject *weakvalue; /* list of value-weak tables */ |
82 | GCObject *weakkey; /* list of key-weak tables */ | ||
83 | GCObject *weakkeyvalue; /* list of all-weak tables */ | ||
82 | GCObject *tmudata; /* last element of list of userdata to be GC */ | 84 | GCObject *tmudata; /* last element of list of userdata to be GC */ |
83 | Mbuffer buff; /* temporary buffer for string concatentation */ | 85 | Mbuffer buff; /* temporary buffer for string concatentation */ |
84 | lu_mem GCthreshold; | 86 | lu_mem GCthreshold; |