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 /src/serdi.c | |
parent | 201888d97b1382632fcd7b335c37030c8a4922d8 (diff) | |
download | serd-beb2eba61195d6ef838cd3bfd363ae74785aaff9.tar.gz serd-beb2eba61195d6ef838cd3bfd363ae74785aaff9.tar.bz2 serd-beb2eba61195d6ef838cd3bfd363ae74785aaff9.zip |
Rename SerdStyle to SerdWriterFlags
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serdi.c b/src/serdi.c index 789284c2..0b33ae77 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -193,14 +193,14 @@ main(int argc, char** argv) SerdWorld* world = serd_world_new(); SerdEnv* env = serd_env_new(base); - const SerdStyleFlags output_style = (ascii ? SERD_STYLE_ASCII : 0); + const SerdWriterFlags writer_flags = (ascii ? SERD_STYLE_ASCII : 0); SerdByteSink* byte_sink = serd_byte_sink_new( (SerdWriteFunc)fwrite, out_fd, bulk_write ? 4096 : 1); SerdWriter* writer = serd_writer_new(world, output_syntax, - output_style, + writer_flags, env, (SerdWriteFunc)serd_byte_sink_write, byte_sink); |