summaryrefslogtreecommitdiff
path: root/src/array.h
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-02-24 16:49:49 -0800
committerGitHub <noreply@github.com>2017-02-24 16:49:49 -0800
commit4e7541cb2d067eeebce5f13f85c0d4f67a685299 (patch)
tree95d4e943fb8a29ac8d704c1ee108d5c32b3258b5 /src/array.h
parent529015dc83b426659047689922eee7f9a34f9f15 (diff)
downloadwabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.tar.gz
wabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.tar.bz2
wabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.zip
Remove struct and enum typedefs (#317)
Diffstat (limited to 'src/array.h')
-rw-r--r--src/array.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/array.h b/src/array.h
index 341c6243..766ff22d 100644
--- a/src/array.h
+++ b/src/array.h
@@ -22,10 +22,10 @@
#include "common.h"
#define WABT_DEFINE_ARRAY(name, type) \
- typedef struct type##Array { \
+ struct type##Array { \
type* data; \
size_t size; \
- } type##Array; \
+ }; \
\
WABT_EXTERN_C_BEGIN \
static WABT_INLINE void wabt_destroy_##name##_array(type##Array* array) \