package ocaml-base-compiler

  1. Overview
  2. Docs
type handle
module Unit_header : sig ... end
val init : unit -> unit
val is_native : bool
val num_globals_inited : unit -> int
val fold_initial_units : init:'a -> f: ('a -> comp_unit:string -> interface:Digest.t option -> implementation:(Digest.t option * Compdynlink_types.implem_state) option -> defined_symbols:string list -> 'a) -> 'a
val load : filename:Compdynlink_types.filename -> priv:bool -> handle * Unit_header.t list
val run_shared_startup : handle -> unit
val run : handle -> unit_header:Unit_header.t -> priv:bool -> unit
val finish : handle -> unit