From 901626455b80f63b6e0dc4ca45ac0a0319364c77 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Jun 2018 10:25:08 -0400 Subject: Automatically finish reader on destruction --- serd/serd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'serd') diff --git a/serd/serd.h b/serd/serd.h index e4631dd4..a2645343 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -1134,6 +1134,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 @@ -1141,6 +1144,8 @@ serd_reader_finish(SerdReader* reader); /** Free `reader`. + + The reader will be finished via `serd_reader_finish()` if necessary. */ SERD_API void -- cgit v1.2.1