From 0e8a72aae08b64beb11d97f020c14126178d7545 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 Oct 2019 19:18:17 +0200 Subject: 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. --- tests/read_chunk_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/read_chunk_test.c') diff --git a/tests/read_chunk_test.c b/tests/read_chunk_test.c index 8ff3e03e..56c6abdc 100644 --- a/tests/read_chunk_test.c +++ b/tests/read_chunk_test.c @@ -74,7 +74,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); -- cgit v1.2.1