MCPcopy Create free account
hub / github.com/WebAssembly/wabt / GetSectionOrder

Function GetSectionOrder

src/binary.cc:21–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace wabt {
20
21BinarySectionOrder GetSectionOrder(BinarySection sec) {
22 switch (sec) {
23#define V(Name, name, code) \
24 case BinarySection::Name: \
25 return BinarySectionOrder::Name;
26 WABT_FOREACH_BINARY_SECTION(V)
27#undef V
28 default:
29 WABT_UNREACHABLE;
30 }
31}
32
33const char* GetSectionName(BinarySection sec) {
34 switch (sec) {

Callers 1

ReadSectionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected