polywrap_wasm.imports.wrap_imports module
This module contains the WrapImports class that defines all the Wasm imports for the Wrap Wasm module.
- class polywrap_wasm.imports.wrap_imports.WrapImports(memory: Memory, store: Store, state: State, invoker: Invoker | None)[source]
Bases:
WrapAbortImports,WrapDebugImports,WrapEnvImports,WrapGetImplementationsImports,WrapInvokeImports,WrapSubinvokeImportsWasm imports for the Wrap Wasm module.
This class is responsible for providing all the Wasm imports to the Wasm module.
- Parameters:
- memory
The Wasm memory instance.
- Type:
Memory
- store
The Wasm store instance.
- Type:
Store