diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-04 18:21:52 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-04 19:41:01 +0100 |
commit | 8eab616d6232099d9ad49af7be1f2e2d6b4c8d0f (patch) | |
tree | b730cd5b41933271f15507ebb2750791ade08df5 /ChangeLog | |
parent | abc300f05c00de72081203d89d9065b25f1ccb3c (diff) | |
download | qpdf-8eab616d6232099d9ad49af7be1f2e2d6b4c8d0f.tar.zst |
Add qpdf version macros to qpdf/DLL.h
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,14 @@ 2022-02-04 Jay Berkenbilt <ejb@ql.org> + * New preprocessor symbols QPDF_MAJOR_VERSION, QPDF_MINOR_VERSION, + QPDF_PATCH_VERSION as numbers and QPDF_VERSION as a string. These + can be used for feature testing in code. These are in qpdf/DLL.h, + which is included by every header that adds to the public API. + Since these constants are introduced in version 10.6, it's + important for them to be in a header that everyone already + includes so you don't have to try to include a header that won't + be there. + * PointerHolder: deprecate getPointer() and getRefcount(). If you don't want to disable deprecation warnings in general but are not ready to tackle this change yet, you can define |