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

Function WasmEdge_ModuleInstanceFindFunction

lib/api/wasmedge.cpp:2486–2493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2484}
2485
2486WASMEDGE_CAPI_EXPORT WasmEdge_FunctionInstanceContext *
2487WasmEdge_ModuleInstanceFindFunction(const WasmEdge_ModuleInstanceContext *Cxt,
2488 const WasmEdge_String Name) noexcept {
2489 if (Cxt) {
2490 return toFuncCxt(fromModCxt(Cxt)->findFuncExports(genStrView(Name)));
2491 }
2492 return nullptr;
2493}
2494
2495WASMEDGE_CAPI_EXPORT WasmEdge_TableInstanceContext *
2496WasmEdge_ModuleInstanceFindTable(const WasmEdge_ModuleInstanceContext *Cxt,

Callers 4

TEST_PFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls 2

genStrViewFunction · 0.85
findFuncExportsMethod · 0.80

Tested by 4

TEST_PFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68