See the labelled argument custom_warnings_spec
for what these are for.
Currently this library works with native code only. Called in bytecode,
the function create
will return the following exception as an error result.
Cleaning the files generated by this Ocaml_dynloader.t from the begining of his life, and try to remove the directory if it is empty once the files have been removed. Doesn't fail if the directory contains other files, keep them and keep the directory in that case. Once cleaned, you cannot use a dynloader anymore, you should just leave it alone and let it be collected by the GC at some point. Using a cleaned dynloader will result in an error.
find_dependencies t file
uses ocamldep to compute the list of .ml and .mli files
that file
depends on transitively, which you can then pass to load_ocaml_src_files
.
file
must be an .ml file, and all the files it depend on must be in the same folder.