diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-05-10 21:59:46 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-05-10 21:59:46 -0700 |
commit | 3231fd0fdd64bc6355bce921a988713524726f23 (patch) | |
tree | 326d6c6d334d14005db80c448fca485f641ed516 /benchmarks/parsetostruct.upb_table.c | |
parent | ea2a80840e08887e6e5ea59bce1f56a3c69bd38c (diff) |
Vastly improved/simplified the upb_handlers API.
Diffstat (limited to 'benchmarks/parsetostruct.upb_table.c')
-rw-r--r-- | benchmarks/parsetostruct.upb_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/parsetostruct.upb_table.c b/benchmarks/parsetostruct.upb_table.c index 397f964..10d1481 100644 --- a/benchmarks/parsetostruct.upb_table.c +++ b/benchmarks/parsetostruct.upb_table.c @@ -53,8 +53,8 @@ static bool initialize() msg = upb_msg_new(def); upb_stringsrc_init(&strsrc); - upb_handlers_init(&h, def); - upb_msg_regdhandlers(&h); + upb_handlers_init(&h); + upb_msg_reghandlers(&h, def); upb_decoder_init(&d, &h); if (!BYREF) { |