diff options
Diffstat (limited to 'src/binary-reader.cc')
-rw-r--r-- | src/binary-reader.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc index eda66edc..43ce11e6 100644 --- a/src/binary-reader.cc +++ b/src/binary-reader.cc @@ -40,6 +40,8 @@ namespace wabt { +namespace { + typedef uint32_t Uint32; WABT_DEFINE_VECTOR(type, Type) WABT_DEFINE_VECTOR(uint32, Uint32); @@ -138,6 +140,8 @@ struct LoggingContext { int indent; }; +} // namespace + static BinaryReaderContext* get_user_context(Context* ctx) { ctx->user_ctx.user_data = ctx->reader->user_data; ctx->user_ctx.data = ctx->data; |