From d5e822aba72a059b00d7b1415b46ecdae92e7dc0 Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Fri, 3 Oct 2014 13:18:55 -0700 Subject: Enable C linkage in fpdfppo.h BUG=pdfium-52 R=jun_fang@foxitsoftware.com Review URL: https://codereview.chromium.org/623893003 --- fpdfsdk/include/fpdfppo.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'fpdfsdk') diff --git a/fpdfsdk/include/fpdfppo.h b/fpdfsdk/include/fpdfppo.h index 57fd638313..3e7e5c9a5e 100644 --- a/fpdfsdk/include/fpdfppo.h +++ b/fpdfsdk/include/fpdfppo.h @@ -9,6 +9,10 @@ #include "fpdfview.h" +#ifdef __cplusplus +extern "C" { +#endif + // Function: FPDF_ImportPages // Import some pages to a PDF document. // Parameters: @@ -30,5 +34,10 @@ DLLEXPORT FPDF_BOOL STDCALL FPDF_ImportPages(FPDF_DOCUMENT dest_doc,FPDF_DOCUMEN // Return value: // TRUE for success, FALSE for failure. DLLEXPORT FPDF_BOOL STDCALL FPDF_CopyViewerPreferences(FPDF_DOCUMENT dest_doc, FPDF_DOCUMENT src_doc); + +#ifdef __cplusplus +}; #endif +#endif //_FPDFPPO_H_ + -- cgit v1.2.3