summaryrefslogtreecommitdiff
path: root/benchmarks/parsestream.upb_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/parsestream.upb_table.c')
-rw-r--r--benchmarks/parsestream.upb_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/parsestream.upb_table.c b/benchmarks/parsestream.upb_table.c
index a4aebd8..b1763da 100644
--- a/benchmarks/parsestream.upb_table.c
+++ b/benchmarks/parsestream.upb_table.c
@@ -36,7 +36,7 @@ static bool initialize()
upb_printerr(&status);
return false;
}
- upb_parsedesc(s, fds_str, &status);
+ upb_read_descriptor(s, fds_str, &status);
upb_string_unref(fds_str);
if(!upb_ok(&status)) {
@@ -64,7 +64,7 @@ static bool initialize()
// Cause all messages to be read, but do nothing when they are.
upb_handlerset hset = {NULL, NULL, value, startsubmsg, NULL, NULL, NULL};
upb_handlers_reghandlerset(handlers, def, &hset);
- upb_decoder_init(&decoder, handlers);
+ upb_decoder_initforhandlers(&decoder, handlers);
upb_handlers_unref(handlers);
upb_stringsrc_init(&stringsrc);
return true;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback