diff options
Diffstat (limited to 'src/upb_array.h')
-rw-r--r-- | src/upb_array.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upb_array.h b/src/upb_array.h index 577cbd4..70923b6 100644 --- a/src/upb_array.h +++ b/src/upb_array.h @@ -23,7 +23,7 @@ #define UPB_ARRAY_H_ #include <stdlib.h> -#include "upb_msg.h" /* Because we use upb_msg_fielddef */ +#include "upb_def.h" /* Because we use upb_fielddef */ #ifdef __cplusplus extern "C" { @@ -43,7 +43,7 @@ INLINE union upb_value_ptr upb_array_getelementptr(struct upb_array *arr, /* Allocation/Deallocation/Resizing. ******************************************/ -INLINE struct upb_array *upb_array_new(struct upb_msg_fielddef *f) +INLINE struct upb_array *upb_array_new(struct upb_fielddef *f) { struct upb_array *arr = (struct upb_array*)malloc(sizeof(*arr)); upb_mmhead_init(&arr->mmhead); |