diff options
Diffstat (limited to 'src/array.h')
-rw-r--r-- | src/array.h | 4 |
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) \ |