MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / getWASIModule

Method getWASIModule

include/runtime/callingframe.h:39–44  ·  view source on GitHub ↗

Helper function for getting the WASI module.

Source from the content-addressed store, hash-verified

37
38 /// Helper function for getting the WASI module.
39 const Instance::ModuleInstance *getWASIModule() const noexcept {
40 if (Module) {
41 return Module->getWASIModule();
42 }
43 return nullptr;
44 }
45
46 /// Helper function for getting the memory instance by index from the module.
47 Instance::MemoryInstance *getMemoryByIndex(uint32_t Index) const noexcept {

Callers 2

instantiateMethod · 0.45
setEnvironFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected