Backport from sid to buster
[hcoop/debian/mlton.git] / runtime / gc.h
CommitLineData
7f918cf1
CE
1/* Copyright (C) 1999-2008 Henry Cejtin, Matthew Fluet, Suresh
2 * Jagannathan, and Stephen Weeks.
3 * Copyright (C) 1997-2000 NEC Research Institute.
4 *
5 * MLton is released under a BSD-style license.
6 * See the file MLton-LICENSE for details.
7 */
8
9#ifndef _MLTON_GC_H_
10#define _MLTON_GC_H_
11
12#include "platform.h"
13
14struct GC_state;
15typedef struct GC_state *GC_state;
16typedef GC_state GCState_t;
17
18#if POINTER_BITS == 32
19#define GC_MODEL_NATIVE32
20#elif POINTER_BITS == 64
21#define GC_MODEL_NATIVE64
22#else
23#error POINTER_BITS not defined
24#endif
25
26#include "gc/debug.h"
27
28#include "gc/align.h"
29#include "gc/model.h"
30#include "gc/pointer.h"
31#include "gc/objptr.h"
32#include "gc/object.h"
33#include "gc/array.h"
34#include "gc/frame.h"
35#include "gc/stack.h"
36#include "gc/thread.h"
37#include "gc/weak.h"
38#include "gc/int-inf.h"
39#include "gc/string.h"
40#include "gc/object-size.h"
41#include "gc/generational.h"
42#include "gc/heap.h"
43#include "gc/current.h"
44#include "gc/foreach.h"
45#include "gc/translate.h"
46#include "gc/sysvals.h"
47#include "gc/controls.h"
48#include "gc/major.h"
49#include "gc/statistics.h"
50#include "gc/forward.h"
51#include "gc/cheney-copy.h"
52#include "gc/hash-cons.h"
53#include "gc/dfs-mark.h"
54#include "gc/mark-compact.h"
55#include "gc/invariant.h"
56#include "gc/atomic.h"
57#include "gc/enter_leave.h"
58#include "gc/signals.h"
59#include "gc/handler.h"
60#include "gc/switch-thread.h"
61#include "gc/garbage-collection.h"
62#include "gc/new-object.h"
63#include "gc/array-allocate.h"
64#include "gc/sources.h"
65#include "gc/call-stack.h"
66#include "gc/profiling.h"
67#include "gc/rusage.h"
68#include "gc/gc_state.h"
69#include "gc/init-world.h"
70#include "gc/world.h"
71#include "gc/init.h"
72#include "gc/done.h"
73#include "gc/copy-thread.h"
74#include "gc/pack.h"
75#include "gc/size.h"
76#include "gc/share.h"
77
78#endif /* _MLTON_GC_H_ */