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

Function createMemorySec

test/loader/serializeTypeTest.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38WasmEdge::AST::MemorySection
39createMemorySec(WasmEdge::AST::MemoryType MemoryType) {
40 WasmEdge::AST::MemorySection MemorySec;
41 MemorySec.getContent() = {MemoryType};
42 return MemorySec;
43}
44
45WasmEdge::AST::GlobalSection
46createGlobalSec(WasmEdge::AST::GlobalType GlobalType) {

Callers 1

TESTFunction · 0.85

Calls 1

getContentMethod · 0.45

Tested by

no test coverage detected