polywrap_wasm.linker.subinvoke module

This module contains the linker for the subinvoke family of Wasm imports.

class polywrap_wasm.linker.subinvoke.WrapSubinvokeLinker[source]

Bases: BaseWrapLinker

Linker for the subinvoke family of Wasm imports.

Link all subinvoke imports.

Link the __wrap_subinvoke function as an import to the Wasm module.

Link the __wrap_subinvoke_error function as an import to the Wasm module.

Link the __wrap_subinvoke_error_len function as an import to the Wasm module.

Link the __wrap_subinvoke_result function as an import to the Wasm module.

Link the __wrap_subinvoke_result_len function as an import to the Wasm module.