diff options
Diffstat (limited to 'fpdfsdk/fpdfview_c_api_test.c')
-rw-r--r-- | fpdfsdk/fpdfview_c_api_test.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c index 1c066dd295..2fcaf7455f 100644 --- a/fpdfsdk/fpdfview_c_api_test.c +++ b/fpdfsdk/fpdfview_c_api_test.c @@ -10,6 +10,7 @@ #include "fpdfsdk/fpdfview_c_api_test.h" #include "public/fpdf_annot.h" +#include "public/fpdf_attachment.h" #include "public/fpdf_dataavail.h" #include "public/fpdf_doc.h" #include "public/fpdf_edit.h" @@ -34,7 +35,7 @@ fnptr g_c_api_test_fnptr = NULL; // Extern, so can't know it doesn't change. // Function to call from gtest harness to ensure linker resolution. int CheckPDFiumCApi() { - //fpdf_annot.h + // fpdf_annot.h CHK(FPDFAnnot_IsSupportedSubtype); CHK(FPDFPage_CreateAnnot); CHK(FPDFPage_GetAnnotCount); @@ -61,6 +62,10 @@ int CheckPDFiumCApi() { CHK(FPDFAnnot_GetFlags); CHK(FPDFAnnot_SetFlags); + // fpdf_attachment.h + CHK(FPDFDoc_GetAttachmentCount); + CHK(FPDFDoc_GetAttachmentName); + // fpdf_dataavail.h CHK(FPDFAvail_Create); CHK(FPDFAvail_Destroy); |