From 4711fdf527f416faee8ff19e15f050d4b48dcfb2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 5 May 2023 09:43:57 -0400 Subject: [WIP] Generalize node construction API --- src/world.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/world.c') diff --git a/src/world.c b/src/world.c index 2c563f15..406956b1 100644 --- a/src/world.c +++ b/src/world.c @@ -9,7 +9,6 @@ #include "serd/node.h" #include "serd/status.h" -#include "serd/string_view.h" #include "serd/world.h" #include @@ -23,7 +22,8 @@ serd_world_new(SerdAllocator* const allocator) allocator ? allocator : serd_default_allocator(); SerdWorld* world = (SerdWorld*)serd_acalloc(actual, 1, sizeof(SerdWorld)); - SerdNode* blank_node = serd_new_blank(actual, serd_string("b00000000000")); + SerdNode* blank_node = + serd_node_new(actual, serd_a_blank_string("b00000000000")); if (!world || !blank_node) { serd_node_free(actual, blank_node); -- cgit v1.2.1