package wasm

  1. Overview
  2. Docs

Module Wasm.Func

type 'inst t = 'inst func
and 'inst func =
  1. | AstFunc of Types.func_type * 'inst * Ast.func
  2. | HostFunc of Types.func_type * Values.value list -> Values.value list
val alloc : Types.func_type -> 'inst -> Ast.func -> 'inst func
val alloc_host : Types.func_type -> (Values.value list -> Values.value list) -> 'inst func
val type_of : 'inst func -> Types.func_type
OCaml

Innovation. Community. Security.