From 7cde43ea0abf2022a0c800c7af1d5f1ec2033bea Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 14 Nov 2009 15:49:21 -0800 Subject: Renamed upb_msg_fielddef -> upb_fielddef, upb_enum -> upb_enumdef. --- src/upb_array.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/upb_array.h') 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 -#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); -- cgit v1.2.3