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

Function WasmEdge_VMListRegisteredModuleLength

lib/api/wasmedge.cpp:3611–3617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3609}
3610
3611WASMEDGE_CAPI_EXPORT uint32_t
3612WasmEdge_VMListRegisteredModuleLength(const WasmEdge_VMContext *Cxt) noexcept {
3613 if (Cxt) {
3614 return Cxt->VM.getStoreManager().getModuleListSize();
3615 }
3616 return 0;
3617}
3618
3619WASMEDGE_CAPI_EXPORT uint32_t WasmEdge_VMListRegisteredModule(
3620 const WasmEdge_VMContext *Cxt, WasmEdge_String *Names,

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls 1

getModuleListSizeMethod · 0.80

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68