diff options
author | Jay Berkenbilt <ejb@ql.org> | 2020-10-18 13:43:05 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2020-10-18 13:43:05 +0200 |
commit | bed165c9fc070d2c483d8cc9bd0e7ac299b29e23 (patch) | |
tree | 8ce776a0d080bfcf28d42d91aa2e8e1cbfa0c6fa /include | |
parent | 1a888ee3b1eb296a610ddb8e5a28159b8c97ba99 (diff) | |
download | qpdf-bed165c9fc070d2c483d8cc9bd0e7ac299b29e23.tar.zst |
Stop using InputSource::unreadCh
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/InputSource.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/qpdf/InputSource.hh b/include/qpdf/InputSource.hh index 8850828d..22e3abcd 100644 --- a/include/qpdf/InputSource.hh +++ b/include/qpdf/InputSource.hh @@ -85,9 +85,14 @@ class QPDF_DLL_CLASS InputSource virtual size_t read(char* buffer, size_t length) = 0; // Note: you can only unread the character you just read. The - // specific character is ignored by some implementations. + // specific character is ignored by some implementations. unreadCh + // will be removed from the API in qpdf 11. virtual void unreadCh(char ch) = 0; + // ABI: delete unreadCh, and direct people to seek backward by 1 + // character instead. + // virtual void unreadCh(char ch) final = delete; + protected: qpdf_offset_t last_offset; |