aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lgc.h b/lgc.h
index c01a8cc8..c2948966 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 2.27 2009/12/16 16:42:58 roberto Exp roberto $ 2** $Id: lgc.h,v 2.28 2010/03/24 13:07:01 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*/
@@ -49,6 +49,7 @@
49** bit 4 - for userdata: it's in 'udgc' list or in 'tobefnz' 49** bit 4 - for userdata: it's in 'udgc' list or in 'tobefnz'
50** bit 5 - object is fixed (should not be collected) 50** bit 5 - object is fixed (should not be collected)
51** bit 6 - object is "super" fixed (only the main thread) 51** bit 6 - object is "super" fixed (only the main thread)
52** bit 7 - object is old (only in generational mode)
52*/ 53*/
53#define WHITE0BIT 0 54#define WHITE0BIT 0
54#define WHITE1BIT 1 55#define WHITE1BIT 1
@@ -57,6 +58,7 @@
57#define SEPARATED 4 58#define SEPARATED 4
58#define FIXEDBIT 5 59#define FIXEDBIT 5
59#define SFIXEDBIT 6 60#define SFIXEDBIT 6
61#define OLDBIT 7
60 62
61#define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT) 63#define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT)
62 64