Index: public/fpdf_transformpage.h |
diff --git a/public/fpdf_transformpage.h b/public/fpdf_transformpage.h |
index 69ffe240090c24a2a71a5ac12b5496a5f0c40297..dcb56cb7d288f33d7f2b4aff38d1616e77943293 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; |
/** |
@@ -109,5 +113,9 @@ DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath); |
*/ |
DLLEXPORT void STDCALL FPDFPage_InsertClipPath(FPDF_PAGE page,FPDF_CLIPPATH clipPath); |
+#ifdef __cplusplus |
+} |
+#endif |
+ |
#endif |