diff options
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); |