diff options
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -137,16 +137,15 @@ 2021-01-29 Jay Berkenbilt <ejb@ql.org> - * 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 } |