diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-04-01 10:51:32 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-04-01 16:38:41 +0200 |
commit | 7c41bc9bdc883aacbc015954a89ff13fe9c9c1c0 (patch) | |
tree | 573d4063c5d35fa318178bd9215b0c10a31ff157 /library/library.mli | |
parent | 569cf23a28c344fe32bd4e9712a4e2028c350de2 (diff) |
From X Require Y looks for X with absolute path, disregarding -R.
Diffstat (limited to 'library/library.mli')
-rw-r--r-- | library/library.mli | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/library/library.mli b/library/library.mli index 150896783..350670680 100644 --- a/library/library.mli +++ b/library/library.mli @@ -72,8 +72,14 @@ exception LibNotFound type library_location = LibLoaded | LibInPath val locate_qualified_library : - bool -> qualid -> library_location * DirPath.t * CUnix.physical_path -val try_locate_qualified_library : qualid located -> DirPath.t * string + ?root:DirPath.t -> ?warn:bool -> qualid -> + library_location * DirPath.t * CUnix.physical_path +(** Locates a library by implicit name. + + @raise LibUnmappedDir if the library is not in the path + @raise LibNotFound if there is no corresponding file in the path + +*) (** {6 Statistics: display the memory use of a library. } *) val mem : DirPath.t -> Pp.std_ppcmds |