summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview_c_api_test.c
diff options
context:
space:
mode:
authorRalf Sippl <ralf.sippl@gmail.com>2018-03-26 18:38:20 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-03-26 18:38:20 +0000
commitca28cb636331de447125de476decbec333fe613b (patch)
treeb532813458060d0700e76ea53e940d1587e2a6bb /fpdfsdk/fpdfview_c_api_test.c
parent3ae75c2f2e5759fcf8218e59fa380c26b98aa6b6 (diff)
downloadpdfium-ca28cb636331de447125de476decbec333fe613b.tar.xz
Add FPDFAnnot_CountAttachmentPoints
This CL adds a function to the API that returns the number of quadpoint sets. Change-Id: I999bc567a4c98f6c32e87810e7ecfbb634c7b677 Reviewed-on: https://pdfium-review.googlesource.com/29130 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfview_c_api_test.c')
-rw-r--r--fpdfsdk/fpdfview_c_api_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c
index 2a0b230ca5..201fd90669 100644
--- a/fpdfsdk/fpdfview_c_api_test.c
+++ b/fpdfsdk/fpdfview_c_api_test.c
@@ -55,6 +55,7 @@ int CheckPDFiumCApi() {
CHK(FPDFAnnot_GetColor);
CHK(FPDFAnnot_HasAttachmentPoints);
CHK(FPDFAnnot_SetAttachmentPoints);
+ CHK(FPDFAnnot_CountAttachmentPoints);
CHK(FPDFAnnot_GetAttachmentPoints);
CHK(FPDFAnnot_SetRect);
CHK(FPDFAnnot_GetRect);