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

Function WasmEdge_ModuleInstanceListMemoryLength

lib/api/wasmedge.cpp:2568–2574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2566}
2567
2568WASMEDGE_CAPI_EXPORT uint32_t WasmEdge_ModuleInstanceListMemoryLength(
2569 const WasmEdge_ModuleInstanceContext *Cxt) noexcept {
2570 if (Cxt) {
2571 return fromModCxt(Cxt)->getMemoryExportNum();
2572 }
2573 return 0;
2574}
2575
2576WASMEDGE_CAPI_EXPORT uint32_t WasmEdge_ModuleInstanceListMemory(
2577 const WasmEdge_ModuleInstanceContext *Cxt, WasmEdge_String *Names,

Callers 1

TESTFunction · 0.85

Calls 1

getMemoryExportNumMethod · 0.80

Tested by 1

TESTFunction · 0.68