From 556c34f0f225bfc6eaeb617693e0161fbce5f2f3 Mon Sep 17 00:00:00 2001 From: m-holger Date: Wed, 10 Aug 2022 13:16:06 +0100 Subject: Add private method QPDF::ObjCache::update Add a new obj_cache entry or update an existing entry in place. --- include/qpdf/QPDF.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index ee265cec..c187d53f 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -1177,6 +1177,11 @@ class QPDF newIndirect(QPDFObjGen const&, std::shared_ptr const&); bool isCached(QPDFObjGen const& og); bool isUnresolved(QPDFObjGen const& og); + void updateCache( + QPDFObjGen const& og, + std::shared_ptr const& object, + qpdf_offset_t end_before_space, + qpdf_offset_t end_after_space); // Calls finish() on the pipeline when done but does not delete it bool pipeStreamData( -- cgit v1.2.3-54-g00ecf