diff options
Diffstat (limited to 'src/binary-writer.cc')
-rw-r--r-- | src/binary-writer.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/binary-writer.cc b/src/binary-writer.cc index 235c3c9b..53567e32 100644 --- a/src/binary-writer.cc +++ b/src/binary-writer.cc @@ -35,6 +35,8 @@ namespace wabt { +namespace { + /* TODO(binji): better leb size guess. Some sections we know will only be 1 byte, but others we can be fairly certain will be larger. */ static const size_t LEB_SECTION_SIZE_GUESS = 1; @@ -69,6 +71,8 @@ struct Context { size_t last_subsection_payload_offset; }; +} // namespace + void destroy_reloc_section(RelocSection* reloc_section) { destroy_reloc_vector(&reloc_section->relocations); } |