summaryrefslogtreecommitdiff
path: root/upbc
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-06-03 13:50:35 -0700
committerJoshua Haberman <jhaberman@gmail.com>2019-06-03 13:50:35 -0700
commitba0a2fb955450e339f01d58018b34b094115f7cf (patch)
tree922bd07e8fc8a98dac247fe741d47cb941aade85 /upbc
parente1f84aeb10e526aab986351fa5eb4c944d0f6e7b (diff)
Compiles, doesn't work yet.
Diffstat (limited to 'upbc')
-rw-r--r--upbc/generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/upbc/generator.cc b/upbc/generator.cc
index 53d849e..7096278 100644
--- a/upbc/generator.cc
+++ b/upbc/generator.cc
@@ -338,7 +338,7 @@ void GenerateMessageInHeader(const protobuf::Descriptor* message, Output& output
"UPB_INLINE $0 *$0_parse(const char *buf, size_t size,\n"
" upb_arena *arena) {\n"
" $0 *ret = $0_new(arena);\n"
- " return (ret && upb_decode(buf, size, ret, &$1)) ? ret : NULL;\n"
+ " return (ret && upb_decode(buf, size, ret, &$1, arena)) ? ret : NULL;\n"
"}\n"
"UPB_INLINE char *$0_serialize(const $0 *msg, upb_arena *arena, size_t "
"*len) {\n"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback