summaryrefslogtreecommitdiff
path: root/library/summary.mli
diff options
context:
space:
mode:
authorGravatar Samuel Mimram <samuel.mimram@ens-lyon.org>2004-07-28 21:54:47 +0000
committerGravatar Samuel Mimram <samuel.mimram@ens-lyon.org>2004-07-28 21:54:47 +0000
commit6b649aba925b6f7462da07599fe67ebb12a3460e (patch)
tree43656bcaa51164548f3fa14e5b10de5ef1088574 /library/summary.mli
Imported Upstream version 8.0pl1upstream/8.0pl1
Diffstat (limited to 'library/summary.mli')
-rw-r--r--library/summary.mli32
1 files changed, 32 insertions, 0 deletions
diff --git a/library/summary.mli b/library/summary.mli
new file mode 100644
index 00000000..7e691f0b
--- /dev/null
+++ b/library/summary.mli
@@ -0,0 +1,32 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+(*i $Id: summary.mli,v 1.8.2.1 2004/07/16 19:30:36 herbelin Exp $ 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;
+ survive_module : bool; (* should be false is most cases *)
+ survive_section : bool }
+
+val declare_summary : string -> 'a summary_declaration -> unit
+
+type frozen
+
+val freeze_summaries : unit -> frozen
+val unfreeze_summaries : frozen -> unit
+val section_unfreeze_summaries : frozen -> unit
+val module_unfreeze_summaries : frozen -> unit
+val init_summaries : unit -> unit
+
+
+