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

Function WasmEdge_StoreListModule

lib/api/wasmedge.cpp:2255–2263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2253}
2254
2255WASMEDGE_CAPI_EXPORT uint32_t
2256WasmEdge_StoreListModule(const WasmEdge_StoreContext *Cxt,
2257 WasmEdge_String *Names, const uint32_t Len) noexcept {
2258 if (Cxt) {
2259 return fromStoreCxt(Cxt)->getModuleList(
2260 [&](auto &Map) { return fillMap(Map, Names, Len); });
2261 }
2262 return 0;
2263}
2264
2265WASMEDGE_CAPI_EXPORT void
2266WasmEdge_StoreDelete(WasmEdge_StoreContext *Cxt) noexcept {

Callers 1

TESTFunction · 0.85

Calls 2

fillMapFunction · 0.85
getModuleListMethod · 0.80

Tested by 1

TESTFunction · 0.68