diff options
Diffstat (limited to 'library/dischargedhypsmap.ml')
-rw-r--r-- | library/dischargedhypsmap.ml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/library/dischargedhypsmap.ml b/library/dischargedhypsmap.ml index c7ccb3ae..85de6ab8 100644 --- a/library/dischargedhypsmap.ml +++ b/library/dischargedhypsmap.ml @@ -6,7 +6,7 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -(* $Id: dischargedhypsmap.ml 9902 2007-06-21 17:01:21Z herbelin $ *) +(* $Id$ *) open Util open Libnames @@ -20,11 +20,11 @@ open Libobject open Lib open Nametab -type discharged_hyps = section_path list +type discharged_hyps = full_path list let discharged_hyps_map = ref Spmap.empty -let set_discharged_hyps sp hyps = +let set_discharged_hyps sp hyps = discharged_hyps_map := Spmap.add sp hyps !discharged_hyps_map let get_discharged_hyps sp = @@ -42,10 +42,8 @@ let freeze () = !discharged_hyps_map let unfreeze dhm = discharged_hyps_map := dhm -let _ = +let _ = Summary.declare_summary "discharged_hypothesis" { Summary.freeze_function = freeze; Summary.unfreeze_function = unfreeze; - Summary.init_function = init; - Summary.survive_module = false; - Summary.survive_section = true } + Summary.init_function = init } |