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

Function createTypeSec

test/loader/serializeTypeTest.cpp:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13WasmEdge::Loader::Serializer Ser(Conf);
14
15WasmEdge::AST::TypeSection
16createTypeSec(const WasmEdge::AST::FunctionType &FuncType) {
17 WasmEdge::AST::TypeSection TypeSec;
18 TypeSec.getContent() = {FuncType};
19 return TypeSec;
20}
21
22WasmEdge::AST::TypeSection
23createTypeSec(const WasmEdge::AST::SubType &SubType) {

Callers 1

TESTFunction · 0.85

Calls 1

getContentMethod · 0.45

Tested by

no test coverage detected