diff options
author | David Robillard <d@drobilla.net> | 2019-04-28 17:54:00 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-06-21 18:12:04 +0200 |
commit | a091b1332b7b741fbc8dd12ca20ead202f6fb021 (patch) | |
tree | e9bd20002a4d1d3210df81cd0c596250b214f65b /tests/overflow_test.c | |
parent | e481791e907a551495f8929756b8ca5e24cac277 (diff) | |
download | serd-a091b1332b7b741fbc8dd12ca20ead202f6fb021.tar.gz serd-a091b1332b7b741fbc8dd12ca20ead202f6fb021.tar.bz2 serd-a091b1332b7b741fbc8dd12ca20ead202f6fb021.zip |
Replace serd_reader_set_strict() with SerdReaderFlags
This makes reader options extensible and should hopefully prevent the need for
grafting on more similar functions in the future.
Diffstat (limited to 'tests/overflow_test.c')
-rw-r--r-- | tests/overflow_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/overflow_test.c b/tests/overflow_test.c index 7e545793..e3031b7e 100644 --- a/tests/overflow_test.c +++ b/tests/overflow_test.c @@ -24,7 +24,9 @@ static SerdStatus test(SerdWorld* world, SerdSink* sink, const char* str, size_t stack_size) { - SerdReader* reader = serd_reader_new(world, SERD_TURTLE, sink, stack_size); + SerdReader* reader = + serd_reader_new(world, SERD_TURTLE, 0, sink, stack_size); + serd_reader_start_string(reader, str, NULL); const SerdStatus st = serd_reader_read_document(reader); serd_reader_free(reader); |