diff options
author | David Robillard <d@drobilla.net> | 2018-05-12 20:39:23 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-19 20:52:40 -0500 |
commit | b6368f061770629493391da74b9dbf3b5777c07d (patch) | |
tree | 666a8e686032d3684b3b0fdd8a7515ea13fc389d /src/string.c | |
parent | d7c7506a6f4af1918ba06d7730568b7858c11539 (diff) | |
download | serd-b6368f061770629493391da74b9dbf3b5777c07d.tar.gz serd-b6368f061770629493391da74b9dbf3b5777c07d.tar.bz2 serd-b6368f061770629493391da74b9dbf3b5777c07d.zip |
Use a fixed-size reader stack
This improves performance, and makes the reader more suitable for embedded or
network-facing applications, at the cost of requiring the user to specify a
maximum stack size.
Diffstat (limited to 'src/string.c')
-rw-r--r-- | src/string.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string.c b/src/string.c index 6b8e7048..137339d7 100644 --- a/src/string.c +++ b/src/string.c @@ -42,6 +42,7 @@ serd_strerror(SerdStatus status) case SERD_ERR_ID_CLASH: return "Blank node ID clash"; case SERD_ERR_BAD_CURIE: return "Invalid CURIE"; case SERD_ERR_INTERNAL: return "Internal error"; + case SERD_ERR_OVERFLOW: return "Stack overflow"; } return "Unknown error"; // never reached } |