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

Method setStructType

include/ast/type.h:197–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);
200 }
201 void setFunctionType(FunctionType &&FT) noexcept {
202 Type = TypeCode::Func;
203 FType = std::move(FT);

Callers 2

loadCompositeTypeMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64