diff options
author | David Robillard <d@drobilla.net> | 2018-12-29 20:05:00 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:15:32 +0200 |
commit | d6060f62d7dd3c9906fb4c58a75874f57d846162 (patch) | |
tree | 57b4c23603415f1d274201aeb7ba086ac07f611e /serd | |
parent | c25fb778a07653c70550e58b22dd599627c0a9a9 (diff) | |
download | serd-d6060f62d7dd3c9906fb4c58a75874f57d846162.tar.gz serd-d6060f62d7dd3c9906fb4c58a75874f57d846162.tar.bz2 serd-d6060f62d7dd3c9906fb4c58a75874f57d846162.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 d715c795..6cb853ce 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -315,7 +315,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 @@ -324,12 +324,12 @@ typedef struct { */ typedef enum { SERD_STYLE_ASCII = 1 << 0, /**< Escape all non-ASCII characters. */ -} 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. @@ -1287,7 +1287,7 @@ SERD_API SerdWriter* serd_writer_new(SerdWorld* world, SerdSyntax syntax, - SerdStyleFlags style, + SerdWriterFlags flags, SerdEnv* env, SerdWriteFunc write_func, void* stream); |