From 5b7eafd0f00a16d78f99a27f5c7d5a0de77dc7e6 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Wed, 21 Jul 2010 09:46:51 +0200 Subject: Imported Upstream snapshot 8.3~beta0+13298 --- library/summary.mli | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'library/summary.mli') 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. +*) -- cgit v1.2.3