diff options
author | David Robillard <d@drobilla.net> | 2018-12-29 20:05:00 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 47d1df0f22cc8330595b7c0e19762aeb28ac80c6 (patch) | |
tree | 1bbd29785516242790d76181a6af63fffe56ffcd /serd | |
parent | 6ed3c180ef0d90567bffc2c1120701a6a20e2f03 (diff) | |
download | serd-47d1df0f22cc8330595b7c0e19762aeb28ac80c6.tar.gz serd-47d1df0f22cc8330595b7c0e19762aeb28ac80c6.tar.bz2 serd-47d1df0f22cc8330595b7c0e19762aeb28ac80c6.zip |
Rename SerdStyle to SerdWriterFlags
Diffstat (limited to 'serd')
-rw-r--r-- | serd/serd.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/serd/serd.h b/serd/serd.h index 4894a99c..6b7e87e9 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -301,7 +301,7 @@ typedef struct { } SerdURI; /** - Syntax style options. + Writer style options. The style of the writer output can be controlled by ORing together values from this enumeration. Note that some options are only supported @@ -312,12 +312,12 @@ typedef enum { SERD_STYLE_ASCII = 1 << 0, /**< Escape all non-ASCII characters. */ SERD_STYLE_UNQUALIFIED = 1 << 1, /**< Do not shorten URIs into CURIEs. */ SERD_STYLE_UNRESOLVED = 1 << 2 /**< Do not make URIs relative. */ -} SerdStyle; +} SerdWriterFlag; /** - Bitwise OR of SerdStyle values. + Bitwise OR of SerdWriterFlag values. */ -typedef uint32_t SerdStyleFlags; +typedef uint32_t SerdWriterFlags; /** Free memory allocated by Serd. @@ -1316,7 +1316,7 @@ SERD_API SerdWriter* serd_writer_new(SerdWorld* world, SerdSyntax syntax, - SerdStyleFlags style, + SerdWriterFlags flags, SerdEnv* env, SerdWriteFunc write_func, void* stream); |