| 2253 | } |
| 2254 | |
| 2255 | WASMEDGE_CAPI_EXPORT uint32_t |
| 2256 | WasmEdge_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 | |
| 2265 | WASMEDGE_CAPI_EXPORT void |
| 2266 | WasmEdge_StoreDelete(WasmEdge_StoreContext *Cxt) noexcept { |