diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-23 10:34:54 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-23 10:34:54 -0300 |
commit | 50955e27f592441a223c6267956e470f98eeb3c0 (patch) | |
tree | 4543b70e04d293c4eb09955d064f3446eb3e64a9 /lgc.h | |
parent | 33c49f7fa03cf7e3bf7bb3aa697dc567d910c661 (diff) | |
download | lua-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |