From 9b344f6425657b2a077c3948289199155f490ff9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 Jul 2018 21:04:54 +0200 Subject: Separate ByteSink from writer --- include/serd/serd.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include/serd') diff --git a/include/serd/serd.h b/include/serd/serd.h index 66f22cbd..6abadf04 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -1604,9 +1604,8 @@ typedef struct SerdWriterImpl SerdWriter; */ typedef enum { SERD_WRITE_ASCII = 1u << 0u, ///< Escape all non-ASCII characters - SERD_WRITE_BULK = 1u << 1u, ///< Write output in pages - SERD_WRITE_UNQUALIFIED = 1u << 2u, ///< Do not shorten URIs into CURIEs - SERD_WRITE_UNRESOLVED = 1u << 3u ///< Do not make URIs relative + SERD_WRITE_UNQUALIFIED = 1u << 1u, ///< Do not shorten URIs into CURIEs + SERD_WRITE_UNRESOLVED = 1u << 2u ///< Do not make URIs relative } SerdWriterFlag; /// Bitwise OR of SerdWriterFlag values @@ -1619,7 +1618,7 @@ serd_writer_new(SerdWorld* SERD_NONNULL world, SerdSyntax syntax, SerdWriterFlags flags, SerdEnv* SERD_NONNULL env, - SerdWriteFunc SERD_NONNULL ssink, + SerdWriteFunc SERD_NONNULL write_func, void* SERD_NULLABLE stream); /// Free `writer` -- cgit v1.2.1