aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-08-06 20:25:12 +0200
committerJay Berkenbilt <ejb@ql.org>2022-08-06 20:25:12 +0200
commit7084c3f715a20f3798d91bff24633dc4cef5f771 (patch)
tree96dcf7eee67ec1b9c9554a0ef6ded14fe75d320c /include
parent3ec43f055a8aa623187799d160f8642f497f21f4 (diff)
downloadqpdf-7084c3f715a20f3798d91bff24633dc4cef5f771.tar.zst
Add comment clarifying getObject vs others
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 9e5f0fe7..7c389c1d 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -382,12 +382,15 @@ class QPDF
QPDF_DLL
QPDFObjectHandle makeIndirectObject(QPDFObjectHandle);
- // Retrieve an object by object ID and generation. Returns an
- // indirect reference to it.
+ // Retrieve an object by object ID and generation. Returns an
+ // indirect reference to it. The getObject() methods were added
+ // for qpdf 11.
QPDF_DLL
QPDFObjectHandle getObject(QPDFObjGen const&);
QPDF_DLL
QPDFObjectHandle getObject(int objid, int generation);
+ // These are older methods, but there is no intention to deprecate
+ // them.
QPDF_DLL
QPDFObjectHandle getObjectByObjGen(QPDFObjGen const&);
QPDF_DLL