diff options
author | David Robillard <d@drobilla.net> | 2018-07-13 21:04:54 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-13 23:04:03 -0500 |
commit | 9b344f6425657b2a077c3948289199155f490ff9 (patch) | |
tree | 2b8376528ba3963818de3a1c3b90895d434e9897 /include | |
parent | 480bcd2744779686916763e9a5a876afd43643b4 (diff) | |
download | serd-9b344f6425657b2a077c3948289199155f490ff9.tar.gz serd-9b344f6425657b2a077c3948289199155f490ff9.tar.bz2 serd-9b344f6425657b2a077c3948289199155f490ff9.zip |
Separate ByteSink from writer
Diffstat (limited to 'include')
-rw-r--r-- | include/serd/serd.h | 7 |
1 files changed, 3 insertions, 4 deletions
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` |