diff options
author | David Robillard <d@drobilla.net> | 2018-07-05 21:01:12 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | ab1aa43256fac3e017212abe6f9d845bf74c024c (patch) | |
tree | cda9cce165fb795ac5ca21332f66957ee7cc8afc /include/serd | |
parent | 40534e6c42daabb6cc8ec2d49785bec088d1d3a8 (diff) | |
download | serd-ab1aa43256fac3e017212abe6f9d845bf74c024c.tar.gz serd-ab1aa43256fac3e017212abe6f9d845bf74c024c.tar.bz2 serd-ab1aa43256fac3e017212abe6f9d845bf74c024c.zip |
Simplify writer style options and write UTF-8 by default
Diffstat (limited to 'include/serd')
-rw-r--r-- | include/serd/writer.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/serd/writer.h b/include/serd/writer.h index 77ecac80..96059932 100644 --- a/include/serd/writer.h +++ b/include/serd/writer.h @@ -34,12 +34,11 @@ typedef struct SerdWriterImpl SerdWriter; does not support abbreviation and is always ASCII. */ typedef enum { - SERD_WRITE_ABBREVIATED = 1U << 0U, ///< Abbreviate triples when possible - SERD_WRITE_ASCII = 1U << 1U, ///< Escape all non-ASCII characters - SERD_WRITE_RESOLVED = 1U << 2U, ///< Resolve URIs against base URI - SERD_WRITE_CURIED = 1U << 3U, ///< Shorten URIs into CURIEs - SERD_WRITE_BULK = 1U << 4U, ///< Write output in pages - SERD_WRITE_STRICT = 1U << 5U, ///< Abort with error on lossy output + SERD_WRITE_ASCII = 1U << 0U, ///< Escape all non-ASCII characters + SERD_WRITE_UNQUALIFIED = 1U << 1U, ///< Do not shorten URIs into CURIEs + SERD_WRITE_UNRESOLVED = 1U << 2U, ///< Do not make URIs relative + SERD_WRITE_BULK = 1U << 3U, ///< Write output in pages + SERD_WRITE_STRICT = 1U << 4U, ///< Abort with error on lossy output } SerdWriterFlag; /// Bitwise OR of #SerdWriterFlag values |