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

Function WasmEdge_ModuleInstanceFindMemory

lib/api/wasmedge.cpp:2504–2511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2502}
2503
2504WASMEDGE_CAPI_EXPORT WasmEdge_MemoryInstanceContext *
2505WasmEdge_ModuleInstanceFindMemory(const WasmEdge_ModuleInstanceContext *Cxt,
2506 const WasmEdge_String Name) noexcept {
2507 if (Cxt) {
2508 return toMemCxt(fromModCxt(Cxt)->findMemoryExports(genStrView(Name)));
2509 }
2510 return nullptr;
2511}
2512
2513WASMEDGE_CAPI_EXPORT WasmEdge_TagInstanceContext *
2514WasmEdge_ModuleInstanceFindTag(const WasmEdge_ModuleInstanceContext *Cxt,

Callers 1

TESTFunction · 0.85

Calls 2

genStrViewFunction · 0.85
findMemoryExportsMethod · 0.80

Tested by 1

TESTFunction · 0.68