Import Upstream version 20180207
[hcoop/debian/mlton.git] / runtime / gc / world.h
CommitLineData
7f918cf1
CE
1/* Copyright (C) 1999-2006 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_FUNCS))
10
11static void loadWorldFromFILE (GC_state s, FILE *f);
12static void loadWorldFromFileName (GC_state s, const char *fileName);
13static int saveWorldToFILE (GC_state s, FILE *f);
14
15#endif /* (defined (MLTON_GC_INTERNAL_FUNCS)) */
16
17#if (defined (MLTON_GC_INTERNAL_BASIS))
18
19PRIVATE void GC_saveWorld (GC_state s, NullString8_t fileName);
20/* TRUE = success, FALSE = failure */
21PRIVATE C_Errno_t(Bool_t) GC_getSaveWorldStatus (GC_state s);
22
23#endif /* (defined (MLTON_GC_INTERNAL_BASIS)) */