From 56cceb103dc633d6af957472945e792187a5dd4e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Sep 2021 01:28:39 -0400 Subject: Update zix and make it a proper subproject --- src/describe.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/describe.c') diff --git a/src/describe.c b/src/describe.c index 4a087222..695217fd 100644 --- a/src/describe.c +++ b/src/describe.c @@ -295,10 +295,12 @@ serd_describe_range(const SerdCursor* const range, assert(sink); - SerdStatus st = SERD_SUCCESS; - SerdCursor copy = *range; - ZixHash* const list_subjects = zix_hash_new(identity, ptr_hash, ptr_equals); - DescribeContext ctx = {range->model, sink, list_subjects, flags}; + SerdStatus st = SERD_SUCCESS; + SerdCursor copy = *range; + ZixHash* const list_subjects = + zix_hash_new(NULL, identity, ptr_hash, ptr_equals); + + DescribeContext ctx = {range->model, sink, list_subjects, flags}; st = write_pretty_range(&ctx, 0, ©, NULL, (flags & SERD_NO_TYPE_FIRST)); -- cgit v1.2.1