diff options
author | David Robillard <d@drobilla.net> | 2018-06-16 10:25:08 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:15:32 +0200 |
commit | 97c7ace6c0897152786032d1372afdf8fb5fabec (patch) | |
tree | 0f809938f44b300aa5c158d4b9829234c5894e34 /serd | |
parent | 652e7cfe62f629deb7a5a427d3cb77d78e532ec6 (diff) | |
download | serd-97c7ace6c0897152786032d1372afdf8fb5fabec.tar.gz serd-97c7ace6c0897152786032d1372afdf8fb5fabec.tar.bz2 serd-97c7ace6c0897152786032d1372afdf8fb5fabec.zip |
Automatically finish reader on destruction
Diffstat (limited to 'serd')
-rw-r--r-- | serd/serd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h index 90d6aa47..863ac9df 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -1136,6 +1136,9 @@ serd_reader_read_document(SerdReader* reader); /** Finish reading from the source. + + This will close the open file, if applicable, and ensure the reader has + processed all input. */ SERD_API SerdStatus @@ -1143,6 +1146,8 @@ serd_reader_finish(SerdReader* reader); /** Free `reader`. + + The reader will be finished via `serd_reader_finish()` if necessary. */ SERD_API void |