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

Function WasmEdge_ModuleInstanceListTable

lib/api/wasmedge.cpp:2558–2566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2556}
2557
2558WASMEDGE_CAPI_EXPORT uint32_t WasmEdge_ModuleInstanceListTable(
2559 const WasmEdge_ModuleInstanceContext *Cxt, WasmEdge_String *Names,
2560 const uint32_t Len) noexcept {
2561 if (Cxt) {
2562 return fromModCxt(Cxt)->getTableExports(
2563 [&](auto &Map) { return fillMap(Map, Names, Len); });
2564 }
2565 return 0;
2566}
2567
2568WASMEDGE_CAPI_EXPORT uint32_t WasmEdge_ModuleInstanceListMemoryLength(
2569 const WasmEdge_ModuleInstanceContext *Cxt) noexcept {

Callers 3

TESTFunction · 0.85
is_validMethod · 0.85
bpf_buffer_sampleMethod · 0.85

Calls 2

fillMapFunction · 0.85
getTableExportsMethod · 0.80

Tested by 1

TESTFunction · 0.68