aboutsummaryrefslogtreecommitdiffstats
path: root/tests/read_chunk_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-29 17:36:15 -0500
committerDavid Robillard <d@drobilla.net>2018-12-31 11:37:49 -0500
commit904d3d9b0bcdbb1507adccdde831db0d5f7ae251 (patch)
treebe485f9684819534972a40ced925138f5e4d850c /tests/read_chunk_test.c
parentbeb2eba61195d6ef838cd3bfd363ae74785aaff9 (diff)
downloadserd-904d3d9b0bcdbb1507adccdde831db0d5f7ae251.tar.gz
serd-904d3d9b0bcdbb1507adccdde831db0d5f7ae251.tar.bz2
serd-904d3d9b0bcdbb1507adccdde831db0d5f7ae251.zip
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.
Diffstat (limited to 'tests/read_chunk_test.c')
-rw-r--r--tests/read_chunk_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/read_chunk_test.c b/tests/read_chunk_test.c
index f02fbe92..264bb0e8 100644
--- a/tests/read_chunk_test.c
+++ b/tests/read_chunk_test.c
@@ -73,7 +73,7 @@ int
main(void)
{
SerdWorld* world = serd_world_new();
- SerdSink* sink = serd_sink_new(NULL);
+ SerdSink* sink = serd_sink_new(NULL, NULL);
serd_sink_set_base_func(sink, on_base);
serd_sink_set_prefix_func(sink, on_prefix);
serd_sink_set_statement_func(sink, on_statement);