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

Function createImportSec

test/loader/serializeDescriptionTest.cpp:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13WasmEdge::Loader::Serializer Ser(Conf);
14
15WasmEdge::AST::ImportSection createImportSec(WasmEdge::AST::ImportDesc &Desc) {
16 WasmEdge::AST::ImportSection ImportSec;
17 ImportSec.getContent().push_back(Desc);
18 return ImportSec;
19}
20
21WasmEdge::AST::ExportSection createExportSec(WasmEdge::AST::ExportDesc &Desc) {
22 WasmEdge::AST::ExportSection ExportSec;

Callers 1

TESTFunction · 0.85

Calls 1

getContentMethod · 0.45

Tested by

no test coverage detected