diff options
author | David Robillard <d@drobilla.net> | 2019-03-10 13:21:51 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:23:05 -0500 |
commit | a3c9577b876c5255c877fe42f12fd01fee5676a9 (patch) | |
tree | eed5844a1f764fccf69ca3a29c504f85ea040812 /include/serd | |
parent | aa76de1ebf17be90d37cfc471957a565165b29dc (diff) | |
download | serd-a3c9577b876c5255c877fe42f12fd01fee5676a9.tar.gz serd-a3c9577b876c5255c877fe42f12fd01fee5676a9.tar.bz2 serd-a3c9577b876c5255c877fe42f12fd01fee5676a9.zip |
Add option for writing terse output without newlines
Diffstat (limited to 'include/serd')
-rw-r--r-- | include/serd/serd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h index 80e2d3d5..77cf2478 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -298,8 +298,9 @@ typedef struct { */ typedef enum { SERD_WRITE_ASCII = 1u << 0u, ///< Escape all non-ASCII characters - 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 + SERD_WRITE_TERSE = 1u << 3u ///< Write terser output without newlines } SerdWriterFlag; /// Bitwise OR of SerdWriterFlag values |