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

Method setResult

include/ast/component/type.h:252–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250 return *std::get_if<ResultTy>(&Type);
251 }
252 void setResult(ResultTy &&Ty) noexcept {
253 Type.emplace<ResultTy>(std::move(Ty));
254 }
255
256 const OwnTy &getOwn() const noexcept { return *std::get_if<OwnTy>(&Type); }
257 void setOwn(OwnTy &&Ty) noexcept { Type.emplace<OwnTy>(std::move(Ty)); }

Callers 1

loadTypeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected