diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-27 17:04:00 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-27 17:04:00 -0300 |
commit | 90972ff136f310f00b04d9e9837ee0640983b743 (patch) | |
tree | 5362eb13fd6ab3d314bc9baefe3d73b1f0e02fad /lgc.h | |
parent | af35c7f398e8149b5f2481b63b399674e4ecdf7e (diff) | |
download | lua-90972ff136f310f00b04d9e9837ee0640983b743.tar.gz lua-90972ff136f310f00b04d9e9837ee0640983b743.tar.bz2 lua-90972ff136f310f00b04d9e9837ee0640983b743.zip |
LOCALBLACK changed to LOCALMARK and used also to control whether object
is in 'localgc' list + luaC_newobj by default puts object in 'localgc'
list
Diffstat (limited to '')
-rw-r--r-- | lgc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.h,v 2.66 2013/08/23 13:34:54 roberto Exp roberto $ | 2 | ** $Id: lgc.h,v 2.67 2013/08/27 18:53:35 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -77,7 +77,7 @@ | |||
77 | #define BLACKBIT 2 /* object is black */ | 77 | #define BLACKBIT 2 /* object is black */ |
78 | #define FINALIZEDBIT 3 /* object has been marked for finalization */ | 78 | #define FINALIZEDBIT 3 /* object has been marked for finalization */ |
79 | #define LOCALBIT 4 /* object is not local */ | 79 | #define LOCALBIT 4 /* object is not local */ |
80 | #define LOCALBLACK 5 /* object is 'locally black' */ | 80 | #define LOCALMARK 5 /* object is 'locally marked' or out of local list */ |
81 | /* bit 7 is currently used by tests (luaL_checkmemory) */ | 81 | /* bit 7 is currently used by tests (luaL_checkmemory) */ |
82 | 82 | ||
83 | #define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT) | 83 | #define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT) |