aboutsummaryrefslogtreecommitdiffstats
path: root/manual/release-notes.rst
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-07-24 21:42:23 +0200
committerJay Berkenbilt <ejb@ql.org>2022-07-24 21:42:23 +0200
commitb3e6d445cbf73da2b00062c3f639c2453041ee41 (patch)
treecf14f19721b0c555daa86371d93b069ce26c8013 /manual/release-notes.rst
parent3661f2749a07ebd3733dca944a4ee990b658d864 (diff)
downloadqpdf-b3e6d445cbf73da2b00062c3f639c2453041ee41.tar.zst
Tweak "AndGet" mutator functions again
Remove any ambiguity around whether old or new value is being returned.
Diffstat (limited to 'manual/release-notes.rst')
-rw-r--r--manual/release-notes.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/manual/release-notes.rst b/manual/release-notes.rst
index 3d5b5cc5..ebbfd4f5 100644
--- a/manual/release-notes.rst
+++ b/manual/release-notes.rst
@@ -163,9 +163,13 @@ For a detailed list of changes, please see the file
- See examples :file:`examples/qpdfjob-save-attachment.cc` and
:file:`examples/qpdfjob-c-save-attachment.cc`.
- - New methods ``insertItemAndGet``, ``appendItemAndGet``,
- ``eraseItemAndGet``, ``replaceKeyAndGet``, and
- ``removeKeyAndGet`` return the newly added or removed object.
+ - In ``QPDFObjectHandle``, new methods ``insertItemAndGetNew``,
+ ``appendItemAndGetNew``, and ``replaceKeyAndGetNew`` return the
+ newly added item. New methods ``eraseItemAndGetOld``,
+ ``replaceKeyAndGetOld``, and ``removeKeyAndGetOld`` return the
+ item that was just removed or, in the case of
+ ``replaceKeyAndGetOld``, a ``null`` object if the object was not
+ previously there.
- Add new ``Pipeline`` methods to reduce the amount of casting that is
needed: