Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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 set_features : t -> int 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