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

Method setInstantiateArgs

include/ast/component/instance.h:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 using InlineExports = std::vector<InlineExport>;
118
119 void setInstantiateArgs(const uint32_t CompIdx,
120 InstantiateArgs &&Args) noexcept {
121 Expr.emplace<std::pair<uint32_t, InstantiateArgs>>(CompIdx,
122 std::move(Args));
123 }
124 uint32_t getComponentIndex() const noexcept {
125 return std::get_if<std::pair<uint32_t, InstantiateArgs>>(&Expr)->first;
126 }

Callers 3

loadCoreInstanceMethod · 0.45
loadInstanceMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36