diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-08-31 20:03:59 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-08-31 20:03:59 -0700 |
commit | 4a8b9be46c9485a35383b52d400ba086d3f40ace (patch) | |
tree | c04b977e5db364a1c4dc53bca78ab2b1f860c5c7 /benchmarks | |
parent | d1d126acf453608fd797ceaec73d73fa25517166 (diff) |
Header cleanup, clarify/correct comments for interfaces.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/parsestream.upb.c | 2 | ||||
-rw-r--r-- | benchmarks/parsetoproto2.upb.cc | 2 | ||||
-rw-r--r-- | benchmarks/parsetostruct.upb.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/parsestream.upb.c b/benchmarks/parsestream.upb.c index e5f6246..2d34206 100644 --- a/benchmarks/parsestream.upb.c +++ b/benchmarks/parsestream.upb.c @@ -57,7 +57,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_initforhandlers(&decoder, handlers); + upb_decoder_init(&decoder, handlers); upb_handlers_unref(handlers); upb_stringsrc_init(&stringsrc); return true; diff --git a/benchmarks/parsetoproto2.upb.cc b/benchmarks/parsetoproto2.upb.cc index 2e78c1e..286c7f3 100644 --- a/benchmarks/parsetoproto2.upb.cc +++ b/benchmarks/parsetoproto2.upb.cc @@ -279,7 +279,7 @@ static bool initialize() upb_handlers *h = upb_handlers_new(); upb_accessors_reghandlers(h, def); if (!JIT) h->should_jit = false; - upb_decoder_initforhandlers(&d, h); + upb_decoder_init(&d, h); upb_handlers_unref(h); return true; diff --git a/benchmarks/parsetostruct.upb.c b/benchmarks/parsetostruct.upb.c index d360f05..6a36544 100644 --- a/benchmarks/parsetostruct.upb.c +++ b/benchmarks/parsetostruct.upb.c @@ -47,7 +47,7 @@ static bool initialize() upb_handlers *h = upb_handlers_new(); upb_accessors_reghandlers(h, def); if (!JIT) h->should_jit = false; - upb_decoder_initforhandlers(&d, h); + upb_decoder_init(&d, h); upb_handlers_unref(h); if (!BYREF) { |