From 7b3cbacf5dc78b6f2b57204796f7dd0880a68b66 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 22 Feb 2021 11:02:18 -0500 Subject: Change from QPDF{Array,Dict}Items to aitems() and ditems() --- ChangeLog | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5c3e6229..7bc6670f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -137,16 +137,15 @@ 2021-01-29 Jay Berkenbilt - * Add wrappers QPDFDictItems and QPDFArrayItems around - QPDFObjectHandle that provide a C++ iterator API, including C++11 - range-for iteration, over arrays and dictionaries. With this, you - can do + * Add methods to QPDFObjectHandle that provide a C++ iterator API, + including C++11 range-for iteration, over arrays and dictionaries. + With this, you can do - for (auto i: QPDFDictItems(oh)) + for (auto i: dict_oh.ditems()) { // i.first is a string, i.second is a QPDFObjectHandle } - for (auto i: QPDFArrayItems(oh)) + for (auto i: array_oh.aitems()) { // i is a QPDFObjectHandle } -- cgit v1.2.3-70-g09d2