diff options
author | David Robillard <d@drobilla.net> | 2021-08-13 17:07:23 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-28 21:57:07 -0500 |
commit | 776a198a686b4eeb824dc520ed12f169ac7e1e65 (patch) | |
tree | 21daa2f161dedc250a823746a9d7357630253cd1 /test/test_model.c | |
parent | 196db2ef0cd44c3fb542b86be7929bd01d83e138 (diff) | |
download | serd-776a198a686b4eeb824dc520ed12f169ac7e1e65.tar.gz serd-776a198a686b4eeb824dc520ed12f169ac7e1e65.tar.bz2 serd-776a198a686b4eeb824dc520ed12f169ac7e1e65.zip |
Remove SERD_NO_INLINE_OBJECTS
This seems like pointless complexity now, since it's easy to just write simply
ordered statements yourself.
Diffstat (limited to 'test/test_model.c')
-rw-r--r-- | test/test_model.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_model.c b/test/test_model.c index d5b5eb8c..acefe05f 100644 --- a/test/test_model.c +++ b/test/test_model.c @@ -1058,7 +1058,10 @@ test_write_flat_range(SerdWorld* world, const unsigned n_quads) SerdWriter* writer = serd_writer_new(world, SERD_TURTLE, 0, env, out); SerdCursor* all = serd_model_begin(model); - serd_describe_range(all, serd_writer_sink(writer), SERD_NO_INLINE_OBJECTS); + for (const SerdStatement* t = NULL; (t = serd_cursor_get(all)); + serd_cursor_advance(all)) { + serd_sink_write_statement(serd_writer_sink(writer), 0u, t); + } serd_cursor_free(all); serd_writer_finish(writer); |