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

Method registerModule

include/runtime/storemgr.h:82–84  ·  view source on GitHub ↗

Register a named module in this store.

Source from the content-addressed store, hash-verified

80
81 /// Register a named module in this store.
82 Expect<void> registerModule(const Instance::ModuleInstance *ModInst) {
83 return registerModule(ModInst, ModInst->getModuleName());
84 }
85
86 /// Register a module instance in this store under the given alias name.
87 Expect<void> registerModule(const Instance::ModuleInstance *ModInst,

Callers

nothing calls this directly

Calls 8

registerModuleFunction · 0.85
UnexpectFunction · 0.85
linkStoreMethod · 0.80
eraseMethod · 0.80
likelyFunction · 0.50
getModuleNameMethod · 0.45
findMethod · 0.45
emplaceMethod · 0.45

Tested by

no test coverage detected