aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-10-29 14:51:20 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-10-29 14:51:20 -0200
commit0e961ad47acbe2d67b72c90cc1ba0040f3907b75 (patch)
tree88233e2e58ebaec36b5cf109ea0cd838ec64ce89 /lgc.h
parentc06cc609466d4527848bbf87268ec714942d554a (diff)
downloadlua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.tar.gz
lua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.tar.bz2
lua-0e961ad47acbe2d67b72c90cc1ba0040f3907b75.zip
some changes toward ephemerons
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lgc.h b/lgc.h
index bc220345..0b7be15e 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 2.15 2005/08/24 16:15:49 roberto Exp roberto $ 2** $Id: lgc.h,v 2.16 2006/07/11 15:53:29 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*/
@@ -44,8 +44,6 @@
44** bit 1 - object is white (type 1) 44** bit 1 - object is white (type 1)
45** bit 2 - object is black 45** bit 2 - object is black
46** bit 3 - for userdata: has been finalized 46** bit 3 - for userdata: has been finalized
47** bit 3 - for tables: has weak keys
48** bit 4 - for tables: has weak values
49** bit 5 - object is fixed (should not be collected) 47** bit 5 - object is fixed (should not be collected)
50** bit 6 - object is "super" fixed (only the main thread) 48** bit 6 - object is "super" fixed (only the main thread)
51*/ 49*/
@@ -55,8 +53,6 @@
55#define WHITE1BIT 1 53#define WHITE1BIT 1
56#define BLACKBIT 2 54#define BLACKBIT 2
57#define FINALIZEDBIT 3 55#define FINALIZEDBIT 3
58#define KEYWEAKBIT 3
59#define VALUEWEAKBIT 4
60#define FIXEDBIT 5 56#define FIXEDBIT 5
61#define SFIXEDBIT 6 57#define SFIXEDBIT 6
62#define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT) 58#define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT)