summaryrefslogtreecommitdiff
path: root/src/upb_array.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-11-14 15:49:21 -0800
committerJoshua Haberman <joshua@reverberate.org>2009-11-14 15:49:21 -0800
commit7cde43ea0abf2022a0c800c7af1d5f1ec2033bea (patch)
tree22961315d9b00831a0384e9f1fc0f88b8b76aa6e /src/upb_array.h
parente252432a4176b6524e8c064673459e947ba11cb7 (diff)
Renamed upb_msg_fielddef -> upb_fielddef, upb_enum -> upb_enumdef.
Diffstat (limited to 'src/upb_array.h')
-rw-r--r--src/upb_array.h4
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);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback