Add comment clarifying getObject vs others

This commit is contained in:
Jay Berkenbilt 2022-08-06 14:25:12 -04:00
parent 3ec43f055a
commit 7084c3f715
1 changed files with 5 additions and 2 deletions

View File

@ -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