diff options
author | David Robillard <d@drobilla.net> | 2018-06-19 09:39:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 14f1d39b4180475a5fa9030fccf95fdc8b693c09 (patch) | |
tree | b48575740b19b1477a71cbda8be920dddd507328 /src/writer.c | |
parent | 73a031cb9bf871eb515da436bc4c1228891e2457 (diff) | |
download | serd-14f1d39b4180475a5fa9030fccf95fdc8b693c09.tar.gz serd-14f1d39b4180475a5fa9030fccf95fdc8b693c09.tar.bz2 serd-14f1d39b4180475a5fa9030fccf95fdc8b693c09.zip |
Separate style enum from style flags types
Diffstat (limited to 'src/writer.c')
-rw-r--r-- | src/writer.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/writer.c b/src/writer.c index 4b5b1245..1868b106 100644 --- a/src/writer.c +++ b/src/writer.c @@ -87,25 +87,25 @@ static const SepRule rules[] = { }; struct SerdWriterImpl { - SerdWorld* world; - SerdSink iface; - SerdSyntax syntax; - SerdStyle style; - SerdEnv* env; - SerdNode* root_node; - SerdURI root_uri; - SerdStack anon_stack; - SerdByteSink byte_sink; - SerdErrorSink error_sink; - void* error_handle; - WriteContext context; - SerdNode* list_subj; - unsigned list_depth; - unsigned indent; - char* bprefix; - size_t bprefix_len; - Sep last_sep; - bool empty; + SerdWorld* world; + SerdSink iface; + SerdSyntax syntax; + SerdStyleFlags style; + SerdEnv* env; + SerdNode* root_node; + SerdURI root_uri; + SerdStack anon_stack; + SerdByteSink byte_sink; + SerdErrorSink error_sink; + void* error_handle; + WriteContext context; + SerdNode* list_subj; + unsigned list_depth; + unsigned indent; + char* bprefix; + size_t bprefix_len; + Sep last_sep; + bool empty; }; typedef enum { @@ -867,7 +867,7 @@ serd_writer_finish(SerdWriter* writer) SerdWriter* serd_writer_new(SerdWorld* world, SerdSyntax syntax, - SerdStyle style, + SerdStyleFlags style, SerdEnv* env, SerdWriteFunc ssink, void* stream) |