package binaryen

  1. Overview
  2. Docs
type t
module Feature : sig ... end
val create : unit -> t
val dispose : t -> unit
val add_custom_section : t -> string -> string -> unit
val parse : string -> t
val print : t -> unit
val print_asmjs : t -> unit
val validate : t -> int
val optimize : t -> unit
val get_features : t -> Feature.t list
val set_features : t -> Feature.t list -> unit
val run_passes : t -> string list -> unit
val auto_drop : t -> unit
val write : t -> string option -> bytes * string option
val write_text : t -> string
val read : bytes -> t
val interpret : t -> unit
val add_debug_info_filename : t -> string -> int
val get_debug_info_filename : t -> int -> string
OCaml

Innovation. Community. Security.