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

Function WasmEdge_ModuleInstanceFindTag

lib/api/wasmedge.cpp:2513–2520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2511}
2512
2513WASMEDGE_CAPI_EXPORT WasmEdge_TagInstanceContext *
2514WasmEdge_ModuleInstanceFindTag(const WasmEdge_ModuleInstanceContext *Cxt,
2515 const WasmEdge_String Name) noexcept {
2516 if (Cxt) {
2517 return toTagCxt(fromModCxt(Cxt)->findTagExports(genStrView(Name)));
2518 }
2519 return nullptr;
2520}
2521
2522WASMEDGE_CAPI_EXPORT WasmEdge_GlobalInstanceContext *
2523WasmEdge_ModuleInstanceFindGlobal(const WasmEdge_ModuleInstanceContext *Cxt,

Callers

nothing calls this directly

Calls 2

genStrViewFunction · 0.85
findTagExportsMethod · 0.80

Tested by

no test coverage detected