Index: public/fpdf_fwlevent.h |
diff --git a/public/fpdf_fwlevent.h b/public/fpdf_fwlevent.h |
index f77e7e399f7724f0cae7122a1e3459d76a140c42..f27499a1c6a68e3d0c9b57b81813a6bac9b41954 100644 |
--- a/public/fpdf_fwlevent.h |
+++ b/public/fpdf_fwlevent.h |
@@ -9,6 +9,10 @@ |
#include "fpdfview.h" |
+#ifdef __cplusplus |
+extern "C" { |
+#endif |
+ |
typedef int FPDF_INT32; |
typedef unsigned int FPDF_UINT32; |
typedef float FPDF_FLOAT; |
@@ -281,6 +285,10 @@ struct FWL_EVENT |
}s; |
}; |
+#ifdef __cplusplus |
+} |
+#endif |
+ |
#endif //_FWL_EVENT_H |