From 4e7541cb2d067eeebce5f13f85c0d4f67a685299 Mon Sep 17 00:00:00 2001 From: Ben Smith Date: Fri, 24 Feb 2017 16:49:49 -0800 Subject: Remove struct and enum typedefs (#317) --- src/binary-reader-ast.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/binary-reader-ast.cc') diff --git a/src/binary-reader-ast.cc b/src/binary-reader-ast.cc index 3552c998..d22c1f3f 100644 --- a/src/binary-reader-ast.cc +++ b/src/binary-reader-ast.cc @@ -32,14 +32,14 @@ return WABT_ERROR; \ } while (0) -typedef struct LabelNode { +struct LabelNode { WabtLabelType label_type; WabtExpr** first; WabtExpr* last; -} LabelNode; +}; WABT_DEFINE_VECTOR(label_node, LabelNode); -typedef struct Context { +struct Context { WabtBinaryErrorHandler* error_handler; WabtModule* module; @@ -47,7 +47,7 @@ typedef struct Context { LabelNodeVector label_stack; uint32_t max_depth; WabtExpr** current_init_expr; -} Context; +}; static void handle_error(Context* ctx, uint32_t offset, const char* message); -- cgit v1.2.3