diff options
author | David Robillard <d@drobilla.net> | 2018-12-29 20:05:00 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-31 11:37:49 -0500 |
commit | beb2eba61195d6ef838cd3bfd363ae74785aaff9 (patch) | |
tree | a1d201d9e324c3babc3d36023b1a31c4a0d2c969 /serd/serd.h | |
parent | 201888d97b1382632fcd7b335c37030c8a4922d8 (diff) | |
download | serd-beb2eba61195d6ef838cd3bfd363ae74785aaff9.tar.gz serd-beb2eba61195d6ef838cd3bfd363ae74785aaff9.tar.bz2 serd-beb2eba61195d6ef838cd3bfd363ae74785aaff9.zip |
Rename SerdStyle to SerdWriterFlags
Diffstat (limited to 'serd/serd.h')
-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 30ab1fc7..0346d32e 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. @@ -1244,7 +1244,7 @@ SERD_API SerdWriter* serd_writer_new(SerdWorld* world, SerdSyntax syntax, - SerdStyleFlags style, + SerdWriterFlags style, SerdEnv* env, SerdWriteFunc ssink, void* stream); |