aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/serd/writer.h')
-rw-r--r--include/serd/writer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/serd/writer.h b/include/serd/writer.h
index fabdcd61..3cd7e2f4 100644
--- a/include/serd/writer.h
+++ b/include/serd/writer.h
@@ -6,10 +6,10 @@
#include "serd/attributes.h"
#include "serd/env.h"
-#include "serd/node.h"
#include "serd/sink.h"
#include "serd/status.h"
#include "serd/stream.h"
+#include "serd/string_view.h"
#include "serd/syntax.h"
#include "serd/world.h"
#include "zix/attributes.h"
@@ -84,8 +84,7 @@ serd_writer_chop_blank_prefix(SerdWriter* ZIX_NONNULL writer,
it defaults to the base URI, so no up-references will be created at all.
*/
SERD_API SerdStatus
-serd_writer_set_root_uri(SerdWriter* ZIX_NONNULL writer,
- const SerdNode* ZIX_NULLABLE uri);
+serd_writer_set_root_uri(SerdWriter* ZIX_NONNULL writer, SerdStringView uri);
/**
Finish a write.