package ocaml-base-compiler

  1. Overview
  2. Docs
val is_native : bool
val loadfile : string -> unit
val loadfile_private : string -> unit
val adapt_filename : string -> string
val allow_only : string list -> unit
val prohibit : string list -> unit
val default_available_units : unit -> unit
val allow_unsafe_modules : bool -> unit
val add_interfaces : string list -> string list -> unit
val add_available_units : (string * Digest.t) list -> unit
val clear_available_units : unit -> unit
val init : unit -> unit
type linking_error =
  1. | Undefined_global of string
  2. | Unavailable_primitive of string
  3. | Uninitialized_global of string
type error =
  1. | Not_a_bytecode_file of string
  2. | Inconsistent_import of string
  3. | Unavailable_unit of string
  4. | Unsafe_file
  5. | Linking_error of string * linking_error
  6. | Corrupted_interface of string
  7. | File_not_found of string
  8. | Cannot_open_dll of string
  9. | Inconsistent_implementation of string
exception Error of error
val error_message : error -> string
val digest_interface : string -> string list -> Digest.t
OCaml

Innovation. Community. Security.