diff options
author | Stephane Glondu <steph@glondu.net> | 2013-05-08 18:03:54 +0200 |
---|---|---|
committer | Stephane Glondu <steph@glondu.net> | 2013-05-08 18:03:54 +0200 |
commit | db38bb4ad9aff74576d3b7f00028d48f0447d5bd (patch) | |
tree | 09dafc3e5c7361d3a28e93677eadd2b7237d4f9f /checker/safe_typing.mli | |
parent | 6e34b272d789455a9be589e27ad3a998cf25496b (diff) | |
parent | 499a11a45b5711d4eaabe84a80f0ad3ae539d500 (diff) |
Merge branch 'experimental/upstream' into upstream
Diffstat (limited to 'checker/safe_typing.mli')
-rw-r--r-- | checker/safe_typing.mli | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/checker/safe_typing.mli b/checker/safe_typing.mli index 00aa1a84..00afd165 100644 --- a/checker/safe_typing.mli +++ b/checker/safe_typing.mli @@ -1,20 +1,17 @@ (************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) -(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2011 *) +(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2012 *) (* \VV/ **************************************************************) (* // * This file is distributed under the terms of the *) (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -(*i $Id: safe_typing.mli 9821 2007-05-11 17:00:58Z aspiwack $ i*) - (*i*) open Names open Term open Environ (*i*) -val reset : unit -> unit val get_env : unit -> env (* exporting and importing modules *) @@ -25,3 +22,19 @@ val import : System.physical_path -> compiled_library -> Digest.t -> unit val unsafe_import : System.physical_path -> compiled_library -> Digest.t -> unit + +(** Store the body of modules' opaque constants inside a table. + + This module is used during the serialization and deserialization + of vo files. +*) +module LightenLibrary : +sig + type table + type lightened_compiled_library + + (** [load table lcl] builds a compiled library from a + lightened library [lcl] by remplacing every index by its related + opaque terms inside [table]. *) + val load : table -> lightened_compiled_library -> compiled_library +end |