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

Function WasmEdge_StoreFindModule

lib/api/wasmedge.cpp:2238–2245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2236}
2237
2238WASMEDGE_CAPI_EXPORT const WasmEdge_ModuleInstanceContext *
2239WasmEdge_StoreFindModule(const WasmEdge_StoreContext *Cxt,
2240 const WasmEdge_String Name) noexcept {
2241 if (Cxt) {
2242 return toModCxt(fromStoreCxt(Cxt)->findModule(genStrView(Name)));
2243 }
2244 return nullptr;
2245}
2246
2247WASMEDGE_CAPI_EXPORT uint32_t
2248WasmEdge_StoreListModuleLength(const WasmEdge_StoreContext *Cxt) noexcept {

Callers 6

TEST_PFunction · 0.85
TEST_PFunction · 0.85
TESTFunction · 0.85
TEST_PFunction · 0.85
TESTFunction · 0.85

Calls 2

genStrViewFunction · 0.85
findModuleMethod · 0.45

Tested by 5

TEST_PFunction · 0.68
TEST_PFunction · 0.68
TESTFunction · 0.68
TEST_PFunction · 0.68
TESTFunction · 0.68