summaryrefslogtreecommitdiff
path: root/byterun/caml/finalise.h
blob: 9fbac8262b27909ac39785a08e7fca30d6dcca41 (plain)
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
/**************************************************************************/
/*                                                                        */
/*                                 OCaml                                  */
/*                                                                        */
/*           Damien Doligez, projet Moscova, INRIA Rocquencourt           */
/*                                                                        */
/*   Copyright 2000 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.          */
/*                                                                        */
/**************************************************************************/

#ifndef CAML_FINALISE_H
#define CAML_FINALISE_H

#include "roots.h"

void caml_final_update (void);
void caml_final_do_calls (void);
void caml_final_do_strong_roots (scanning_action f);
void caml_final_do_weak_roots (scanning_action f);
void caml_final_do_young_roots (scanning_action f);
void caml_final_empty_young (void);
value caml_final_register (value f, value v);

#endif /* CAML_FINALISE_H */