Index: fpdfsdk/include/fpdfppo.h |
diff --git a/fpdfsdk/include/fpdfppo.h b/fpdfsdk/include/fpdfppo.h |
index 57fd6383138f1a6716d605daf0ca2b934186dedc..3e7e5c9a5e8a1d24e891cd2a2c3b1dccba3144ce 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_ |
+ |