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

Function createTableSec

test/loader/serializeTypeTest.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29WasmEdge::AST::TableSection
30createTableSec(const WasmEdge::AST::TableType &TableType) {
31 WasmEdge::AST::TableSection TableSec;
32 WasmEdge::AST::TableSegment TableSeg;
33 TableSeg.getTableType() = TableType;
34 TableSec.getContent() = {TableSeg};
35 return TableSec;
36}
37
38WasmEdge::AST::MemorySection
39createMemorySec(WasmEdge::AST::MemoryType MemoryType) {

Callers 1

TESTFunction · 0.85

Calls 1

getContentMethod · 0.45

Tested by

no test coverage detected