summaryrefslogtreecommitdiff
path: root/tests/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.c')
-rw-r--r--tests/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.c b/tests/tests.c
index fc8e11d..64e3ef3 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -41,7 +41,7 @@ static void test_upb_jit() {
upb_handlerset hset = {NULL, NULL, &upb_test_onvalue, NULL, NULL, NULL, NULL};
upb_handlers_reghandlerset(h, upb_downcast_msgdef(def), &hset);
upb_decoder d;
- upb_decoder_initforhandlers(&d, h);
+ upb_decoder_init(&d, h);
upb_decoder_uninit(&d);
upb_symtab_unref(s);
upb_def_unref(def);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback