package octez-l2-libs

  1. Overview
  2. Docs
Octez layer2 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-l2-libs.wasmer/Tezos_wasmer/Exports/index.html

Module Tezos_wasmer.ExportsSource

Sourcetype t

WebAssembly module instance exports

Sourceval from_instance : Instance.t -> t

from_intance instance extracts the exports from the given instance.

Sourceval delete : t -> unit

delete exports cleans up the exports collection to free its associated objects. You must not use previously extracted export objects after calling call.

Sourceval fn : t -> string -> 'a fn -> 'a

fn exports name typ looks for a function called name and type checks it against typ.

Sourceval mem : t -> string -> Memory.t

mem exports name looks for a memory called name.

Sourceval mem0 : t -> Memory.t

mem0 exports gives you the first memory instance it finds. The order of memory instances is not specified and may change in the future. This function should be avoided unless you know the module in question only exports one memory instance.

OCaml

Innovation. Community. Security.