diff options
author | Alain Frisch <alain@frisch.fr> | 2007-06-14 16:15:36 +0000 |
---|---|---|
committer | Alain Frisch <alain@frisch.fr> | 2007-06-14 16:15:36 +0000 |
commit | 7dc1d85cb4e198f067de3a0dad617c4a16ebeef0 (patch) | |
tree | 9f03825aa83bf02e56483c1f761a493a85eec06f | |
parent | c9fd9ab55ec406770a848d3f5ba999a52f99a521 (diff) | |
download | ocaml-7dc1d85cb4e198f067de3a0dad617c4a16ebeef0.tar.gz |
doc
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/natdynlink@8349 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r-- | otherlibs/dynlink/dynlink.mli | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/otherlibs/dynlink/dynlink.mli b/otherlibs/dynlink/dynlink.mli index 33b4d7092a..445492cd48 100644 --- a/otherlibs/dynlink/dynlink.mli +++ b/otherlibs/dynlink/dynlink.mli @@ -28,11 +28,11 @@ val init : unit -> unit (** {6 Dynamic loading of compiled files} *) val loadfile : string -> unit -(** Load the given Caml object file ([.cmo] file if the program - is bytecode, [.cmx/.so] file if the program is native) or - library file ([.cma] file if the program is bytecode, - [.cmxa/.so] file if the program is native), - and link it with the running program. +(** In bytecode: load the given bytecode object file ([.cmo] file) or + bytecode library file ([.cma] file), and link it with the running + program. In native code: load the given OCaml plugin file (usually + [.cmxs]), and link it with the running + program. All toplevel expressions in the loaded compilation units are evaluated. No facilities are provided to access value names defined by the unit. Therefore, the unit |