aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/writer.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-08-12 13:42:25 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit8346ac7f529f5aeb8d8b0e48837e680ea14e8893 (patch)
tree0e1aa8f67135af24cbbfe5a5911b1a74e5699df6 /include/serd/writer.h
parent3ea3143632e3577ac5794faed1141e460a11a9fb (diff)
downloadserd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.tar.gz
serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.tar.bz2
serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.zip
Make blank node prefixing automatic
Though potentially useful, I don't think the complexity cost of the old interface (both to the implementation and to the user) is worth it. A special tool to transform blank node labels (for example with regular expressions) would be a better approach to this if it's ever needed in the future.
Diffstat (limited to 'include/serd/writer.h')
-rw-r--r--include/serd/writer.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/serd/writer.h b/include/serd/writer.h
index 812b1851..91baa7e8 100644
--- a/include/serd/writer.h
+++ b/include/serd/writer.h
@@ -103,16 +103,6 @@ SERD_CONST_API const SerdSink* ZIX_NONNULL
serd_writer_sink(SerdWriter* ZIX_NONNULL writer);
/**
- Set a prefix to be removed from matching blank node identifiers.
-
- This is the counterpart to serd_reader_add_blank_prefix() which can be used
- to "undo" added prefixes.
-*/
-SERD_API void
-serd_writer_chop_blank_prefix(SerdWriter* ZIX_NONNULL writer,
- const char* ZIX_NULLABLE prefix);
-
-/**
Set the current root URI.
The root URI should be a prefix of the base URI. The path of the root URI