aboutsummaryrefslogtreecommitdiffstats
path: root/tests/overflow_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-14 19:18:17 +0200
committerDavid Robillard <d@drobilla.net>2020-10-27 13:13:58 +0100
commit0e8a72aae08b64beb11d97f020c14126178d7545 (patch)
tree0cf783d174f2ddd95453c34aba3ef46fc3a5b9d7 /tests/overflow_test.c
parent3ff6565bdf0861f9db3527b58919ca7481deca6c (diff)
downloadserd-0e8a72aae08b64beb11d97f020c14126178d7545.tar.gz
serd-0e8a72aae08b64beb11d97f020c14126178d7545.tar.bz2
serd-0e8a72aae08b64beb11d97f020c14126178d7545.zip
Add function to SerdSink for freeing opaque handle
This can be used to associate dynamically allocated data with a sink and have it managed along with the sink's lifetime.
Diffstat (limited to 'tests/overflow_test.c')
-rw-r--r--tests/overflow_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/overflow_test.c b/tests/overflow_test.c
index 4a942f58..7e545793 100644
--- a/tests/overflow_test.c
+++ b/tests/overflow_test.c
@@ -56,7 +56,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);