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

Function WasmEdge_PluginListModuleLength

lib/api/wasmedge.cpp:3859–3865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3857}
3858
3859WASMEDGE_CAPI_EXPORT uint32_t
3860WasmEdge_PluginListModuleLength(const WasmEdge_PluginContext *Cxt) noexcept {
3861 if (Cxt) {
3862 return static_cast<uint32_t>(fromPluginCxt(Cxt)->modules().size());
3863 }
3864 return 0;
3865}
3866
3867WASMEDGE_CAPI_EXPORT uint32_t
3868WasmEdge_PluginListModule(const WasmEdge_PluginContext *Cxt,

Callers 1

TESTFunction · 0.85

Calls 2

modulesMethod · 0.80
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.68