From 90972ff136f310f00b04d9e9837ee0640983b743 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 27 Aug 2013 17:04:00 -0300 Subject: LOCALBLACK changed to LOCALMARK and used also to control whether object is in 'localgc' list + luaC_newobj by default puts object in 'localgc' list --- lgc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lgc.h') diff --git a/lgc.h b/lgc.h index 13563db3..cce4293b 100644 --- a/lgc.h +++ b/lgc.h @@ -1,5 +1,5 @@ /* -** $Id: lgc.h,v 2.66 2013/08/23 13:34:54 roberto Exp roberto $ +** $Id: lgc.h,v 2.67 2013/08/27 18:53:35 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -77,7 +77,7 @@ #define BLACKBIT 2 /* object is black */ #define FINALIZEDBIT 3 /* object has been marked for finalization */ #define LOCALBIT 4 /* object is not local */ -#define LOCALBLACK 5 /* object is 'locally black' */ +#define LOCALMARK 5 /* object is 'locally marked' or out of local list */ /* bit 7 is currently used by tests (luaL_checkmemory) */ #define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT) -- cgit v1.2.3-55-g6feb