summaryrefslogtreecommitdiff
path: root/upb/legacy_msg_reflection.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-06-05 09:57:00 -0700
committerGitHub <noreply@github.com>2019-06-05 09:57:00 -0700
commit7cd1b9362ba60e08ca62b58efcd4acde240f5fdd (patch)
tree4923ebee4595739afaacff9d063d0cbbab968458 /upb/legacy_msg_reflection.h
parent00e739648d816fae3972c9d51fef24940cf50539 (diff)
parent9960d7c772381fef7a51097091faba71459e7169 (diff)
Merge pull request #180 from haberman/rmreflective
Removed arena and reflective members like array type from upb_msg representation.
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