Index: public/fpdf_transformpage.h |
diff --git a/public/fpdf_transformpage.h b/public/fpdf_transformpage.h |
index 32b0ea008c7510bd2272a75f75d187ba67ebb297..49de0891f680c5715e2d09fa2a6e0bab14d90445 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 |