diff options
author | David Robillard <d@drobilla.net> | 2018-06-19 09:39:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:15:32 +0200 |
commit | 52179a7573a80b088e4fe1bd7d62e3e4cbbe2327 (patch) | |
tree | ba41682e2d7b2875324ddda3683bf3e7e3fb3999 /src | |
parent | 97c7ace6c0897152786032d1372afdf8fb5fabec (diff) | |
download | serd-52179a7573a80b088e4fe1bd7d62e3e4cbbe2327.tar.gz serd-52179a7573a80b088e4fe1bd7d62e3e4cbbe2327.tar.bz2 serd-52179a7573a80b088e4fe1bd7d62e3e4cbbe2327.zip |
Separate style enum from style flags types
Diffstat (limited to 'src')
-rw-r--r-- | src/serdi.c | 4 | ||||
-rw-r--r-- | src/writer.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/serdi.c b/src/serdi.c index a385e665..766120f1 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -206,7 +206,7 @@ main(int argc, char** argv) SerdWorld* world = serd_world_new(); SerdEnv* env = serd_env_new(base); - int output_style = 0; + SerdStyleFlags output_style = 0; if (output_syntax == SERD_NTRIPLES || ascii) { output_style |= SERD_STYLE_ASCII; } else if (output_syntax == SERD_TURTLE) { @@ -228,7 +228,7 @@ main(int argc, char** argv) SerdWriter* writer = serd_writer_new(world, output_syntax, - (SerdStyle)output_style, + output_style, env, (SerdWriteFunc)fwrite, out_fd); diff --git a/src/writer.c b/src/writer.c index 065d65b0..673d467e 100644 --- a/src/writer.c +++ b/src/writer.c @@ -866,7 +866,7 @@ serd_writer_finish(SerdWriter* writer) SerdWriter* serd_writer_new(SerdWorld* world, SerdSyntax syntax, - SerdStyle style, + SerdStyleFlags style, SerdEnv* env, SerdWriteFunc ssink, void* stream) |