package binaryen

  1. Overview
  2. Docs

Module Binaryen.ModuleSource

Sourcetype t
Sourceval create : unit -> t
Sourceval dispose : t -> unit
Sourceval add_custom_section : t -> string -> string -> unit
Sourceval parse : string -> t
Sourceval print : t -> unit
Sourceval print_asmjs : t -> unit
Sourceval validate : t -> int
Sourceval optimize : t -> unit
Sourceval set_features : t -> int list -> unit
Sourceval get_optimize_level : unit -> int
Sourceval set_optimize_level : int -> unit
Sourceval get_shrink_level : unit -> int
Sourceval set_shrink_level : int -> unit
Sourceval get_debug_info : unit -> int
Sourceval set_debug_info : int -> unit
Sourceval get_low_memory_unused : unit -> int
Sourceval set_low_memory_unused : int -> unit
Sourceval get_pass_argument : string -> string
Sourceval set_pass_argument : string -> string -> unit
Sourceval get_always_inline_max_size : unit -> int
Sourceval set_always_inline_max_size : int -> unit
Sourceval get_flexible_inline_max_size : unit -> int
Sourceval set_flexible_inline_max_size : int -> unit
Sourceval get_one_caller_inline_max_size : unit -> int
Sourceval set_one_caller_inline_max_size : int -> unit
Sourceval run_passes : t -> string list -> unit
Sourceval auto_drop : t -> unit
Sourceval write : t -> string option -> bytes * string option
Sourceval write_text : t -> string
Sourceval read : bytes -> t
Sourceval interpret : t -> unit
Sourceval add_debug_info_filename : t -> string -> int
Sourceval get_debug_info_filename : t -> int -> string
OCaml

Innovation. Community. Security.