1 /**************************************************************************/
2 /*                                                                        */
3 /*                                 OCaml                                  */
4 /*                                                                        */
5 /*           Damien Doligez, projet Moscova, INRIA Rocquencourt           */
6 /*                                                                        */
7 /*   Copyright 2000 Institut National de Recherche en Informatique et     */
8 /*     en Automatique.                                                    */
9 /*                                                                        */
10 /*   All rights reserved.  This file is distributed under the terms of    */
11 /*   the GNU Lesser General Public License version 2.1, with the          */
12 /*   special exception on linking described in the file LICENSE.          */
13 /*                                                                        */
14 /**************************************************************************/
15 
16 #ifndef CAML_FINALISE_H
17 #define CAML_FINALISE_H
18 
19 #ifdef CAML_INTERNALS
20 
21 #include "roots.h"
22 
23 void caml_final_update_mark_phase (void);
24 void caml_final_update_clean_phase (void);
25 void caml_final_do_calls (void);
26 void caml_final_do_roots (scanning_action f);
27 void caml_final_invert_finalisable_values ();
28 void caml_final_oldify_young_roots ();
29 void caml_final_empty_young (void);
30 void caml_final_update_minor_roots(void);
31 value caml_final_register (value f, value v);
32 void caml_final_invariant_check(void);
33 
34 #endif /* CAML_INTERNALS */
35 
36 #endif /* CAML_FINALISE_H */
37