polywrap_wasm.exports module

This module contains the exports of the Wasm wrapper module.

class polywrap_wasm.exports.WrapExports(instance: Instance, store: Store)[source]

Bases: object

WrapExports is a class that contains the exports of the Wasm wrapper module.

Parameters:
  • instance (Instance) – The Wasm instance.

  • store (Store) – The Wasm store.

  • _wrap_invoke (Func) – The exported _wrap_invoke Wasm function.

Raises:

WasmExportNotFoundError – If the _wrap_invoke function is not exported from the Wasm module.