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

Function GetNameSectionSubsectionName

src/binary.cc:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60// clang-format on
61
62const char* GetNameSectionSubsectionName(NameSectionSubsection subsec) {
63 static_assert(WABT_ENUM_COUNT(NameSectionSubsection) ==
64 WABT_ARRAY_SIZE(NameSubsectionName),
65 "Malformed ExprTypeName array");
66 return NameSubsectionName[size_t(subsec)];
67}
68
69} // namespace wabt

Callers 3

OnNameSubsectionMethod · 0.85
OnNameEntryMethod · 0.85
OnNameEntryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected