diff options
author | David Robillard <d@drobilla.net> | 2018-06-16 10:25:08 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 73a031cb9bf871eb515da436bc4c1228891e2457 (patch) | |
tree | 359b9e4f557eeaf069ab727c95e202e4606bb1e9 /serd | |
parent | 0aff74b23f4d85d7f157f25d399c14b6a78e998b (diff) | |
download | serd-73a031cb9bf871eb515da436bc4c1228891e2457.tar.gz serd-73a031cb9bf871eb515da436bc4c1228891e2457.tar.bz2 serd-73a031cb9bf871eb515da436bc4c1228891e2457.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 deef03da..136d72f2 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -1173,6 +1173,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 @@ -1180,6 +1183,8 @@ serd_reader_finish(SerdReader* reader); /** Free `reader`. + + The reader will be finished via `serd_reader_finish()` if necessary. */ SERD_API void |