diff options
author | coq <coq@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2003-10-07 15:36:10 +0000 |
---|---|---|
committer | coq <coq@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2003-10-07 15:36:10 +0000 |
commit | e7f9bc39ab4e879b521439901ed99bf3382bd40a (patch) | |
tree | 763aa02aaa6cacdf72ed13f56eae4ab243608f99 /library/declaremods.mli | |
parent | 12d83b6915b3a4c76c18cc612ad8628cec787c68 (diff) |
Correction du bug 335 et Export/Require Export dans un module
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4534 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/declaremods.mli')
-rw-r--r-- | library/declaremods.mli | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/library/declaremods.mli b/library/declaremods.mli index dfcf9dfc5..94144d625 100644 --- a/library/declaremods.mli +++ b/library/declaremods.mli @@ -79,20 +79,22 @@ val register_library : val start_library : library_name -> unit -val export_library : +val end_library : library_name -> Safe_typing.compiled_library * library_objects -(* [import_module mp] opens the module [mp] (in a Caml sense). - It modifies Nametab and performs the "open_object" function - for every object of the module. *) +(* [really_import_module mp] opens the module [mp] (in a Caml sense). + It modifies Nametab and performs the "open_object" function for + every object of the module. *) -val import_module : module_path -> unit +val really_import_module : module_path -> unit -(* [export_module mp] is similar, but is run when the module - containing it is imported *) +(* [import_module export mp] is a synchronous version of + [really_import_module]. If [export] is [true], the module is also + opened every time the module containing it is. *) + +val import_module : bool -> module_path -> unit -val export_module : module_path -> unit (*s [fold_all_segments] and [iter_all_segments] iterate over all segments, the modules' segments first and then the current |