aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/safe_typing.mli
diff options
context:
space:
mode:
authorGravatar regisgia <regisgia@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-08-27 09:17:12 +0000
committerGravatar regisgia <regisgia@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-08-27 09:17:12 +0000
commit4f7c18174a59027cb3dd8493740b32aad2d99fcd (patch)
tree262d40f15d9f4f64c1403451a39d8a2e14986144 /checker/safe_typing.mli
parentec5eb9320d6f88498de6fc1993be8787b75aa17a (diff)
* (checker|kernel)/Safe_typing: New LightenLibrary.
This module introduces an indirection behind opaque const_body to enable the optional demarshalling of them. * library/Library checker/Check: Use LightenLibrary. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13377 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'checker/safe_typing.mli')
-rw-r--r--checker/safe_typing.mli8
1 files changed, 8 insertions, 0 deletions
diff --git a/checker/safe_typing.mli b/checker/safe_typing.mli
index 843352c20..f8c5a48f3 100644
--- a/checker/safe_typing.mli
+++ b/checker/safe_typing.mli
@@ -23,3 +23,11 @@ val import :
System.physical_path -> compiled_library -> Digest.t -> unit
val unsafe_import :
System.physical_path -> compiled_library -> Digest.t -> unit
+
+module LightenLibrary :
+sig
+ type table
+ type lighten_compiled_library
+ val save : compiled_library -> lighten_compiled_library * table
+ val load : load_proof:bool -> (unit -> table) -> lighten_compiled_library -> compiled_library
+end