summaryrefslogtreecommitdiff
path: root/upb/legacy_msg_reflection.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/legacy_msg_reflection.h')
-rw-r--r--upb/legacy_msg_reflection.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/upb/legacy_msg_reflection.h b/upb/legacy_msg_reflection.h
index 32a621b..b33ec68 100644
--- a/upb/legacy_msg_reflection.h
+++ b/upb/legacy_msg_reflection.h
@@ -126,12 +126,13 @@ upb_fieldtype_t upb_array_type(const upb_array *arr);
/* Read-only interface. Safe for anyone to call. */
size_t upb_array_size(const upb_array *arr);
-upb_msgval upb_array_get(const upb_array *arr, size_t i);
+upb_msgval upb_array_get(const upb_array *arr, upb_fieldtype_t type, size_t i);
/* Write interface. May only be called by the message's owner who can enforce
* its memory management invariants. */
-bool upb_array_set(upb_array *arr, size_t i, upb_msgval val);
+bool upb_array_set(upb_array *arr, upb_fieldtype_t type, size_t i,
+ upb_msgval val, upb_arena *arena);
/** upb_map *******************************************************************/
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback