From cf22eb8ac24d944aac08d6a17c12b8a3a602c6f5 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 12 May 2015 17:28:08 -0700 Subject: Merge to XFA: Make (and verify) public/ files compile under C. The following files needed adjustment beyond a mechanical merge: fpdfsdk/src/fpdfview.cpp public/fpdf_formfill.h samples/pdfium_test.cc testing/embedder_test.cpp Original Review URL: https://codereview.chromium.org/1130843003 BUG=pdfium:158 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1137233002 --- public/fpdf_transformpage.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'public/fpdf_transformpage.h') diff --git a/public/fpdf_transformpage.h b/public/fpdf_transformpage.h index 32b0ea008c..49de0891f6 100644 --- a/public/fpdf_transformpage.h +++ b/public/fpdf_transformpage.h @@ -11,6 +11,10 @@ #include "fpdfview.h" #endif +#ifdef __cplusplus +extern "C" { +#endif + typedef void* FPDF_PAGEARCSAVER; typedef void* FPDF_PAGEARCLOADER; /** @@ -114,5 +118,9 @@ DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath); */ DLLEXPORT void STDCALL FPDFPage_InsertClipPath(FPDF_PAGE page,FPDF_CLIPPATH clipPath); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3