aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-23 10:34:54 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-23 10:34:54 -0300
commit50955e27f592441a223c6267956e470f98eeb3c0 (patch)
tree4543b70e04d293c4eb09955d064f3446eb3e64a9 /lgc.h
parent33c49f7fa03cf7e3bf7bb3aa697dc567d910c661 (diff)
downloadlua-50955e27f592441a223c6267956e470f98eeb3c0.tar.gz
lua-50955e27f592441a223c6267956e470f98eeb3c0.tar.bz2
lua-50955e27f592441a223c6267956e470f98eeb3c0.zip
C functions and strings now go to the local list; first version
of the local collector
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lgc.h b/lgc.h
index ccaaeab3..b931ae1a 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 2.64 2013/08/21 19:21:16 roberto Exp roberto $ 2** $Id: lgc.h,v 2.65 2013/08/21 20:09:51 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,6 +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/* bit 7 is currently used by tests (luaL_checkmemory) */ 81/* bit 7 is currently used by tests (luaL_checkmemory) */
81 82
82#define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT) 83#define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT)