summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview_c_api_test.c
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@vmiklos.hu>2017-04-03 16:02:39 +0200
committerChromium commit bot <commit-bot@chromium.org>2017-04-03 14:39:52 +0000
commit1423319f52c5e80253d337ad02b19187c6d66ff1 (patch)
treed55a242b73938df48606811d0d698575acb9e3f7 /fpdfsdk/fpdfview_c_api_test.c
parentadca63003f36da06caeecefbdaaa566131d9957c (diff)
downloadpdfium-1423319f52c5e80253d337ad02b19187c6d66ff1.tar.xz
Add public method FPDFPageObj_GetType to get type of a page object.
The possible return values were already part of the public header in the form of a set of defines. Change-Id: I040e0f330fdd7a3cd29f74fc6ee06d122afd2dd0 Reviewed-on: https://pdfium-review.googlesource.com/3570 Reviewed-by: Nicolás Peña <npm@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@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 b090319d86..fec91efeca 100644
--- a/fpdfsdk/fpdfview_c_api_test.c
+++ b/fpdfsdk/fpdfview_c_api_test.c
@@ -79,6 +79,7 @@ int CheckPDFiumCApi() {
CHK(FPDFPage_HasTransparency);
CHK(FPDFPage_GenerateContent);
CHK(FPDFPageObj_HasTransparency);
+ CHK(FPDFPageObj_GetType);
CHK(FPDFPageObj_Transform);
CHK(FPDFPage_TransformAnnots);
CHK(FPDFPageObj_NewImageObj);