aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/lgc.h b/lgc.h
index 978c7aca..db309360 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 2.68 2013/08/27 20:04:00 roberto Exp roberto $ 2** $Id: lgc.h,v 2.69 2013/08/29 13:49:57 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*/
@@ -38,13 +38,15 @@
38*/ 38*/
39#define GCSpropagate 0 39#define GCSpropagate 0
40#define GCSatomic 1 40#define GCSatomic 1
41#define GCSsweepudata 2 41#define GCSsweeplocal 2
42#define GCSsweep 3 42#define GCSsweepfin 3
43#define GCSpause 4 43#define GCSsweepall 4
44#define GCSsweepmainth 5
45#define GCSpause 6
44 46
45 47
46#define issweepphase(g) \ 48#define issweepphase(g) \
47 (GCSsweepudata <= (g)->gcstate && (g)->gcstate <= GCSsweep) 49 (GCSsweeplocal <= (g)->gcstate && (g)->gcstate <= GCSsweepmainth)
48 50
49 51
50/* 52/*