summaryrefslogtreecommitdiff
path: root/public/fpdf_edit.h
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-09-25 12:59:29 +0200
committerChromium commit bot <commit-bot@chromium.org>2017-09-25 12:44:35 +0000
commit92627618a93720c6153828b8a8d1c6ed17c6e91f (patch)
tree9a9eb6b76ff402da02bd68ffc5e321967b3da4c5 /public/fpdf_edit.h
parentf5777a117a7557507616eaf585de5eb266531e16 (diff)
downloadpdfium-92627618a93720c6153828b8a8d1c6ed17c6e91f.tar.xz
API: rename FPDFPage_CountObject() to FPDFPage_CountObjects()
Keep the old name, but mark it as deprecated and don't use it in own code. Change-Id: I17b88dccacf494a03562c0d003cfcb2bc03bf430 Reviewed-on: https://pdfium-review.googlesource.com/14750 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'public/fpdf_edit.h')
-rw-r--r--public/fpdf_edit.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h
index 6e4f9a4ae8..f2dad739ca 100644
--- a/public/fpdf_edit.h
+++ b/public/fpdf_edit.h
@@ -150,8 +150,17 @@ FPDF_EXPORT void FPDF_CALLCONV FPDFPage_InsertObject(FPDF_PAGE page,
// page - handle to a page.
//
// Returns the number of objects in |page|.
+//
+// DEPRECATED. Please use FPDFPage_CountObjects.
FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObject(FPDF_PAGE page);
+// Get number of page objects inside |page|.
+//
+// page - handle to a page.
+//
+// Returns the number of objects in |page|.
+FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObjects(FPDF_PAGE page);
+
// Get object in |page| at |index|.
//
// page - handle to a page.