aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-08-10 14:16:06 +0200
committerm-holger <m-holger@kubitscheck.org>2022-09-01 15:30:26 +0200
commit556c34f0f225bfc6eaeb617693e0161fbce5f2f3 (patch)
treee0f5a54a38c8aeda4f4f75ff1382841e9eed5ea2 /include
parentc0cd72a3eef996e597ba82b784de029ec6d88707 (diff)
downloadqpdf-556c34f0f225bfc6eaeb617693e0161fbce5f2f3.tar.zst
Add private method QPDF::ObjCache::update
Add a new obj_cache entry or update an existing entry in place.
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh5
1 files changed, 5 insertions, 0 deletions
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<QPDFObject> const&);
bool isCached(QPDFObjGen const& og);
bool isUnresolved(QPDFObjGen const& og);
+ void updateCache(
+ QPDFObjGen const& og,
+ std::shared_ptr<QPDFObject> 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(