summaryrefslogtreecommitdiff
path: root/library/summary.mli
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2010-07-21 09:48:05 +0200
committerGravatar Stephane Glondu <steph@glondu.net>2010-07-21 09:48:05 +0200
commitbbb5e6eb84a46c7e8041e05ab0059994fa0b1a25 (patch)
tree7d2930678b27e520c9431739c3d1af9d6475ccd1 /library/summary.mli
parent7a998985060742038ba6d2664d159ff2dbcdec3d (diff)
parent5b7eafd0f00a16d78f99a27f5c7d5a0de77dc7e6 (diff)
Merge branch 'experimental/upstream' into experimental/master
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.
+*)