From 904d3d9b0bcdbb1507adccdde831db0d5f7ae251 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 29 Dec 2018 17:36:15 -0500 Subject: Add Env to Sink This isn't technically necessary for any sink, but is a pattern common to every sink implementation in serd, so having it here reduces boilerplate and parameters in user code. --- tests/overflow_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/overflow_test.c') diff --git a/tests/overflow_test.c b/tests/overflow_test.c index d3a1816e..5c2c4ef1 100644 --- a/tests/overflow_test.c +++ b/tests/overflow_test.c @@ -59,7 +59,7 @@ main(void) {NULL, 0}}; SerdWorld* world = serd_world_new(); - SerdSink* sink = serd_sink_new(NULL); + SerdSink* sink = serd_sink_new(NULL, NULL); for (const Test* t = tests; t->str; ++t) { const SerdStatus st = test(world, sink, t->str, t->stack_size); -- cgit v1.2.1