package binaryen

  1. Overview
  2. Docs
type t
val add_function : Module.t -> string -> Type.t -> Type.t -> Type.t array -> Expression.t -> t

Module, name, params type, results type, locals types, body.

val set_start : Module.t -> t -> unit
val set_debug_location : t -> Expression.t -> int -> int -> int -> unit
val get_function : Module.t -> string -> t
val remove_function : Module.t -> string -> unit
val get_num_functions : Module.t -> int
OCaml

Innovation. Community. Security.