From a3c9577b876c5255c877fe42f12fd01fee5676a9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 10 Mar 2019 13:21:51 +0100 Subject: Add option for writing terse output without newlines --- include/serd/serd.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/serd/serd.h') 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 -- cgit v1.2.1