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
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 get_function_by_index : Module.t -> int -> t
Sourceval remove_function : Module.t -> string -> unit
Sourceval get_num_functions : Module.t -> int
Sourceval get_name : t -> string
Sourceval get_params : t -> Type.t
Sourceval get_results : t -> Type.t
Sourceval get_num_vars : t -> int
Sourceval get_var : t -> int -> Type.t
Sourceval get_body : t -> Expression.t
Sourceval set_body : t -> Expression.t -> unit
OCaml

Innovation. Community. Security.