Import Debian changes 20180207-1
[hcoop/debian/mlton.git] / runtime / gc / translate.h
1 /* Copyright (C) 1999-2007 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 #if (defined (MLTON_GC_INTERNAL_TYPES))
10
11 struct GC_translateState {
12 pointer from;
13 pointer to;
14 };
15
16 #endif /* (defined (MLTON_GC_INTERNAL_TYPES)) */
17
18 #if (defined (MLTON_GC_INTERNAL_FUNCS))
19
20 static inline void translateObjptr (GC_state s, objptr *opp);
21 static void translateHeap (GC_state s, pointer from, pointer to, size_t size);
22
23 #endif /* (defined (MLTON_GC_INTERNAL_FUNCS)) */