From d6060f62d7dd3c9906fb4c58a75874f57d846162 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 29 Dec 2018 20:05:00 -0500 Subject: Rename SerdStyle to SerdWriterFlags --- serd/serd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'serd') 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); -- cgit v1.2.1