summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/bytecomp/bytepackager.mli
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/bytecomp/bytepackager.mli')
-rw-r--r--ocaml-binary-annot/bytecomp/bytepackager.mli29
1 files changed, 29 insertions, 0 deletions
diff --git a/ocaml-binary-annot/bytecomp/bytepackager.mli b/ocaml-binary-annot/bytecomp/bytepackager.mli
new file mode 100644
index 0000000000..836eb9c637
--- /dev/null
+++ b/ocaml-binary-annot/bytecomp/bytepackager.mli
@@ -0,0 +1,29 @@
+(***********************************************************************)
+(* *)
+(* Objective Caml *)
+(* *)
+(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
+(* *)
+(* Copyright 2002 Institut National de Recherche en Informatique et *)
+(* en Automatique. All rights reserved. This file is distributed *)
+(* under the terms of the Q Public License version 1.0. *)
+(* *)
+(***********************************************************************)
+
+(* $Id$ *)
+
+(* "Package" a set of .cmo files into one .cmo file having the
+ original compilation units as sub-modules. *)
+
+val package_files: string list -> string -> unit
+
+type error =
+ Forward_reference of string * Ident.t
+ | Multiple_definition of string * Ident.t
+ | Not_an_object_file of string
+ | Illegal_renaming of string * string
+ | File_not_found of string
+
+exception Error of error
+
+val report_error: Format.formatter -> error -> unit