type compunit =
| Compunit of string
type predef =
| Predef_exn of string
type reloc_info =
| Reloc_literal of Obj.t
| Reloc_getcompunit of compunit
| Reloc_getpredef of predef
| Reloc_setcompunit of compunit
| Reloc_primitive of string
type compilation_unit = {
cu_name : compunit;
mutable cu_pos : int;
cu_codesize : int;
cu_reloc : (reloc_info * int) list;
cu_imports : crcs;
cu_required_compunits : compunit list;
cu_primitives : string list;
mutable cu_force_link : bool;
mutable cu_debug : int;
cu_debugsize : int;
}
type library = {
lib_units : compilation_unit list;
lib_custom : bool;
lib_ccobjs : string list;
lib_ccopts : string list;
lib_dllibs : string list;
}