diff options
author | David Robillard <d@drobilla.net> | 2018-12-29 20:05:00 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-07 15:32:23 -0500 |
commit | 88402a1cddba79e339fc92037be2449c429c0780 (patch) | |
tree | 0764b3080cbf216ae5993ac77718ea10f3803f0f /test | |
parent | f4b1ec91cff0a543a8f7e553ab2113a1c31e0d86 (diff) | |
download | serd-88402a1cddba79e339fc92037be2449c429c0780.tar.gz serd-88402a1cddba79e339fc92037be2449c429c0780.tar.bz2 serd-88402a1cddba79e339fc92037be2449c429c0780.zip |
Rename SerdStyle to SerdWriterFlags
Diffstat (limited to 'test')
-rw-r--r-- | test/test_reader_writer.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c index 35d46952..d0301a87 100644 --- a/test/test_reader_writer.c +++ b/test/test_reader_writer.c @@ -168,7 +168,7 @@ test_writer(const char* const path) assert(fd); SerdWriter* writer = - serd_writer_new(SERD_TURTLE, (SerdStyle)0, env, NULL, serd_file_sink, fd); + serd_writer_new(SERD_TURTLE, 0, env, NULL, serd_file_sink, fd); assert(writer); serd_writer_chop_blank_prefix(writer, "tmp"); @@ -244,8 +244,8 @@ test_writer(const char* const path) // Test buffer sink SerdBuffer buffer = {NULL, 0}; - writer = serd_writer_new( - SERD_TURTLE, (SerdStyle)0, env, NULL, serd_buffer_sink, &buffer); + writer = + serd_writer_new(SERD_TURTLE, 0, env, NULL, serd_buffer_sink, &buffer); o = serd_node_from_string(SERD_URI, "http://example.org/base"); assert(!serd_writer_set_base_uri(writer, &o)); @@ -260,8 +260,7 @@ test_writer(const char* const path) SerdNode nothing = serd_node_from_string(SERD_NOTHING, ""); FILE* const empty = tmpfile(); - writer = serd_writer_new( - SERD_TURTLE, (SerdStyle)0, env, NULL, serd_file_sink, empty); + writer = serd_writer_new(SERD_TURTLE, 0, env, NULL, serd_file_sink, empty); // FIXME: error handling serd_writer_write_statement(writer, 0, NULL, &s, &p, ¬hing, NULL, NULL); |