Commit 7084c3f715a20f3798d91bff24633dc4cef5f771

Authored by Jay Berkenbilt
1 parent 3ec43f05

Add comment clarifying getObject vs others

Showing 1 changed file with 5 additions and 2 deletions
include/qpdf/QPDF.hh
... ... @@ -382,12 +382,15 @@ class QPDF
382 382 QPDF_DLL
383 383 QPDFObjectHandle makeIndirectObject(QPDFObjectHandle);
384 384  
385   - // Retrieve an object by object ID and generation. Returns an
386   - // indirect reference to it.
  385 + // Retrieve an object by object ID and generation. Returns an
  386 + // indirect reference to it. The getObject() methods were added
  387 + // for qpdf 11.
387 388 QPDF_DLL
388 389 QPDFObjectHandle getObject(QPDFObjGen const&);
389 390 QPDF_DLL
390 391 QPDFObjectHandle getObject(int objid, int generation);
  392 + // These are older methods, but there is no intention to deprecate
  393 + // them.
391 394 QPDF_DLL
392 395 QPDFObjectHandle getObjectByObjGen(QPDFObjGen const&);
393 396 QPDF_DLL
... ...