summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview_c_api_test.c
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-10-16 13:32:01 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-16 17:46:49 +0000
commit077f6439954cdbb5061a78b59be95ebf2277ac26 (patch)
tree1f444c5fd6ced1da8452becf90c972676ce0dd92 /fpdfsdk/fpdfview_c_api_test.c
parente5a637cfb23da32443b345b07f090b65771fa1c9 (diff)
downloadpdfium-077f6439954cdbb5061a78b59be95ebf2277ac26.tar.xz
Add FPDFCatalog_IsTagged to public API.
The new fpdf_catalog.h will contains functions to access entries in the catalog (root) dict in a PDF. Bug: chromium:768986 Change-Id: I6e1d4a479d6f8742981e89f07bab98ee96dc3763 Reviewed-on: https://pdfium-review.googlesource.com/15970 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfview_c_api_test.c')
-rw-r--r--fpdfsdk/fpdfview_c_api_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c
index 211d7e0f6b..bf1a0c4877 100644
--- a/fpdfsdk/fpdfview_c_api_test.c
+++ b/fpdfsdk/fpdfview_c_api_test.c
@@ -11,6 +11,7 @@
#include "public/fpdf_annot.h"
#include "public/fpdf_attachment.h"
+#include "public/fpdf_catalog.h"
#include "public/fpdf_dataavail.h"
#include "public/fpdf_doc.h"
#include "public/fpdf_edit.h"
@@ -78,6 +79,9 @@ int CheckPDFiumCApi() {
CHK(FPDFAttachment_SetFile);
CHK(FPDFAttachment_GetFile);
+ // fpdf_catalog.h
+ CHK(FPDFCatalog_IsTagged);
+
// fpdf_dataavail.h
CHK(FPDFAvail_Create);
CHK(FPDFAvail_Destroy);