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

Function WasmEdge_ModuleInstanceFindTable

lib/api/wasmedge.cpp:2495–2502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2493}
2494
2495WASMEDGE_CAPI_EXPORT WasmEdge_TableInstanceContext *
2496WasmEdge_ModuleInstanceFindTable(const WasmEdge_ModuleInstanceContext *Cxt,
2497 const WasmEdge_String Name) noexcept {
2498 if (Cxt) {
2499 return toTabCxt(fromModCxt(Cxt)->findTableExports(genStrView(Name)));
2500 }
2501 return nullptr;
2502}
2503
2504WASMEDGE_CAPI_EXPORT WasmEdge_MemoryInstanceContext *
2505WasmEdge_ModuleInstanceFindMemory(const WasmEdge_ModuleInstanceContext *Cxt,

Callers 3

TESTFunction · 0.85
is_validMethod · 0.85
bpf_buffer_sampleMethod · 0.85

Calls 2

genStrViewFunction · 0.85
findTableExportsMethod · 0.80

Tested by 1

TESTFunction · 0.68