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

Method setResourceType

include/ast/component/type.h:508–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506 return *std::get_if<ResourceType>(&Type);
507 }
508 void setResourceType(ResourceType &&RT) noexcept {
509 Type.emplace<ResourceType>(std::move(RT));
510 }
511
512 bool isDefValType() const noexcept {
513 return std::holds_alternative<DefValType>(Type);

Callers 4

loadTypeMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.64