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

Method setArrayType

include/ast/type.h:193–196  ·  view source on GitHub ↗

Setter for content.

Source from the content-addressed store, hash-verified

191
192 /// Setter for content.
193 void setArrayType(FieldType &&FT) noexcept {
194 Type = TypeCode::Array;
195 FType = std::vector<FieldType>{std::move(FT)};
196 }
197 void setStructType(std::vector<FieldType> &&VFT) noexcept {
198 Type = TypeCode::Struct;
199 FType = std::move(VFT);

Callers 2

loadCompositeTypeMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64