diff options
author | David Robillard <d@drobilla.net> | 2018-12-29 17:36:15 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-31 11:37:49 -0500 |
commit | 904d3d9b0bcdbb1507adccdde831db0d5f7ae251 (patch) | |
tree | be485f9684819534972a40ced925138f5e4d850c /tests/overflow_test.c | |
parent | beb2eba61195d6ef838cd3bfd363ae74785aaff9 (diff) | |
download | serd-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/overflow_test.c')
-rw-r--r-- | tests/overflow_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |