package ocaml-base-compiler

  1. Overview
  2. Docs
val module_of_filename : Format.formatter -> string -> string -> string
val output_prefix : string -> string
val extract_output : string option -> string
val default_output : string option -> string
val print_version_and_library : string -> 'a
val print_version_string : unit -> 'a
val print_standard_library : unit -> 'a
val fatal : string -> 'a
val first_ccopts : string list Pervasives.ref
val first_ppx : string list Pervasives.ref
val first_include_dirs : string list Pervasives.ref
val last_include_dirs : string list Pervasives.ref
val implicit_modules : string list Pervasives.ref
val load_plugin : (string -> unit) Pervasives.ref
val get_objfiles : with_ocamlparam:bool -> string list
val last_objfiles : string list Pervasives.ref
val first_objfiles : string list Pervasives.ref
type filename = string
type readenv_position =
  1. | Before_args
  2. | Before_compile of filename
val readenv : Format.formatter -> readenv_position -> unit
val is_unit_name : string -> bool
val check_unit_name : Format.formatter -> string -> string -> unit
type deferred_action =
  1. | ProcessImplementation of string
  2. | ProcessInterface of string
  3. | ProcessCFile of string
  4. | ProcessOtherFile of string
  5. | ProcessObjects of string list
  6. | ProcessDLLs of string list
val c_object_of_filename : string -> string
val defer : deferred_action -> unit
val anonymous : string -> unit
val impl : string -> unit
val intf : string -> unit
val process_deferred_actions : (Format.formatter * (Format.formatter -> string -> string -> unit) * (Format.formatter -> string -> string -> unit) * string * string) -> unit
OCaml

Innovation. Community. Security.