From fb95ceca3b744e47e973585aa682515365ac9eb0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Jul 2021 16:15:46 -0400 Subject: Use a fixed-size reader stack --- include/serd/reader.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/serd/reader.h') diff --git a/include/serd/reader.h b/include/serd/reader.h index 61b553db..e67717d7 100644 --- a/include/serd/reader.h +++ b/include/serd/reader.h @@ -29,7 +29,9 @@ typedef struct SerdReaderImpl SerdReader; /// Create a new RDF reader SERD_API SerdReader* SERD_ALLOCATED -serd_reader_new(SerdSyntax syntax, const SerdSink* SERD_NONNULL sink); +serd_reader_new(SerdSyntax syntax, + const SerdSink* SERD_NONNULL sink, + size_t stack_size); /** Enable or disable strict parsing. -- cgit v1.2.1