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