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

Method setInstanceType

include/ast/component/type.h:501–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499 return *std::get_if<InstanceType>(&Type);
500 }
501 void setInstanceType(InstanceType &&IT) noexcept {
502 Type.emplace<InstanceType>(std::move(IT));
503 }
504
505 const ResourceType &getResourceType() const noexcept {
506 return *std::get_if<ResourceType>(&Type);

Callers 2

loadTypeMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64