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

Method getImportModule

include/vm/vm.h:254–258  ·  view source on GitHub ↗

Get pre-registered module instance by configuration.

Source from the content-addressed store, hash-verified

252
253 /// Get pre-registered module instance by configuration.
254 Runtime::Instance::ModuleInstance *
255 getImportModule(const HostRegistration Type) const {
256 std::shared_lock Lock(Mutex);
257 return unsafeGetImportModule(Type);
258 }
259
260 /// Get current instantiated module instance.
261 const Runtime::Instance::ModuleInstance *getActiveModule() const {

Callers 2

ToolFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected