diff options
author | David Robillard <d@drobilla.net> | 2021-07-08 16:15:46 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 16:27:02 -0500 |
commit | fb95ceca3b744e47e973585aa682515365ac9eb0 (patch) | |
tree | 264e30801d634ea580478a10095938448b4962c8 /include/serd | |
parent | 8978501e5cf06f366eb14f6ef5f5f7f2f8e34986 (diff) | |
download | serd-fb95ceca3b744e47e973585aa682515365ac9eb0.tar.gz serd-fb95ceca3b744e47e973585aa682515365ac9eb0.tar.bz2 serd-fb95ceca3b744e47e973585aa682515365ac9eb0.zip |
Use a fixed-size reader stack
Diffstat (limited to 'include/serd')
-rw-r--r-- | include/serd/reader.h | 4 |
1 files changed, 3 insertions, 1 deletions
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. |