Melange_compiler_libs.Cmi_format
type cmi_infos = {
cmi_name : Misc.modname;
cmi_sign : Types.signature_item list;
cmi_crcs : Misc.crcs;
cmi_flags : pers_flags list;
}
val output_cmi : string -> Stdlib.out_channel -> cmi_infos -> Stdlib.Digest.t
val create_cmi : ?check_exists:unit -> string -> cmi_infos -> Stdlib.Digest.t
val input_cmi : Stdlib.in_channel -> cmi_infos
val read_cmi : string -> cmi_infos
type error =
| Not_an_interface of Misc.filepath
| Wrong_version_interface of Misc.filepath * string
| Corrupted_interface of Misc.filepath
exception Error of error
val report_error : Stdlib.Format.formatter -> error -> unit