aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lgc.h b/lgc.h
index 29adec24..1bf6cbf5 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 1.21 2003/07/29 19:25:37 roberto Exp roberto $ 2** $Id: lgc.h,v 1.22 2003/11/17 19:50:05 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*/
@@ -23,15 +23,15 @@
23 23
24/* 24/*
25** Layout for bit use in `marked' field: 25** Layout for bit use in `marked' field:
26** bit 0 - object is white (not used yet) 26** bit 0 - object is gray
27** bit 1 - object is black 27** bit 1 - object is black
28** bit 2 - For userdata: is finalized; 28** bit 2 - For userdata: is finalized;
29 for tables: has weak keys 29 for tables: has weak keys
30** bit 3 - for tables: has weak values 30** bit 3 - for tables: has weak values
31** bit 4 - for strings: is fixed (should not be collected) 31** bit 4 - object is fixed (should not be collected)
32*/ 32*/
33 33
34#define WHITEBIT 0 34#define GRAYBIT 0
35#define BLACKBIT 1 35#define BLACKBIT 1
36#define FINALIZEDBIT 2 36#define FINALIZEDBIT 2
37#define KEYWEAKBIT 2 37#define KEYWEAKBIT 2