summaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-27 17:04:00 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-27 17:04:00 -0300
commit90972ff136f310f00b04d9e9837ee0640983b743 (patch)
tree5362eb13fd6ab3d314bc9baefe3d73b1f0e02fad /lgc.h
parentaf35c7f398e8149b5f2481b63b399674e4ecdf7e (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lgc.h b/lgc.h
index 13563db3..cce4293b 100644
--- a/lgc.h
+++ b/lgc.h
@@ -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)