forked from ocaml/ocaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
globroots.h
35 lines (27 loc) · 1.48 KB
/
globroots.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/**************************************************************************/
/* */
/* OCaml */
/* */
/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
/* */
/* Copyright 2001 Institut National de Recherche en Informatique et */
/* en Automatique. */
/* */
/* All rights reserved. This file is distributed under the terms of */
/* the GNU Lesser General Public License version 2.1, with the */
/* special exception on linking described in the file LICENSE. */
/* */
/**************************************************************************/
/* Registration of global memory roots */
#ifndef CAML_GLOBROOTS_H
#define CAML_GLOBROOTS_H
#ifdef CAML_INTERNALS
#include "mlvalues.h"
#include "roots.h"
void caml_scan_global_roots(scanning_action f, void* fdata);
void caml_scan_global_young_roots(scanning_action f, void* fdata);
#ifdef NATIVE_CODE
void caml_register_dyn_globals(void **globals, int nglobals);
#endif
#endif /* CAML_INTERNALS */
#endif /* CAML_GLOBROOTS_H */