aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/summary.mli
blob: faa887f37bc8d787f717ee7d906dfaf821c8b656 (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

(* $Id$ *)

(*i*)
open Names
(*i*)

(* This module registers the declaration of global tables, which will be kept
   in synchronization during the various backtracks of the system. *)

type 'a summary_declaration = {
  freeze_function : unit -> 'a;
  unfreeze_function : 'a -> unit;
  init_function : unit -> unit }

val declare_summary : string -> 'a summary_declaration -> unit

type frozen_summaries

val freeze_summaries : unit -> frozen_summaries
val unfreeze_summaries : frozen_summaries -> unit
val init_summaries : unit -> unit