summaryrefslogtreecommitdiff
path: root/library/summary.mli
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2010-07-21 09:46:51 +0200
committerGravatar Stephane Glondu <steph@glondu.net>2010-07-21 09:46:51 +0200
commit5b7eafd0f00a16d78f99a27f5c7d5a0de77dc7e6 (patch)
tree631ad791a7685edafeb1fb2e8faeedc8379318ae /library/summary.mli
parentda178a880e3ace820b41d38b191d3785b82991f5 (diff)
Imported Upstream snapshot 8.3~beta0+13298
Diffstat (limited to 'library/summary.mli')
-rw-r--r--library/summary.mli14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/summary.mli b/library/summary.mli
index ba527bdf..e6e17ef8 100644
--- a/library/summary.mli
+++ b/library/summary.mli
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(*i $Id: summary.mli 5920 2004-07-16 20:01:26Z herbelin $ i*)
+(*i $Id$ i*)
(* This module registers the declaration of global tables, which will be kept
in synchronization during the various backtracks of the system. *)
@@ -14,9 +14,7 @@
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 }
+ init_function : unit -> unit }
val declare_summary : string -> 'a summary_declaration -> unit
@@ -24,9 +22,11 @@ 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
-
+(** Beware: if some code is dynamically loaded via dynlink after the
+ initialization of Coq, the init functions of any summary declared
+ by this code may not be run. It is hence the responsability of
+ plugins to initialize themselves properly.
+*)