package binaryen

  1. Overview
  2. Docs

Module Binaryen.FunctionSource

Sourcetype t
Sourceval add_function : Module.t -> string -> Type.t -> Type.t -> Type.t array -> Expression.t -> t

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

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