summaryrefslogtreecommitdiff
path: root/public/fpdf_fwlevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'public/fpdf_fwlevent.h')
-rw-r--r--public/fpdf_fwlevent.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/public/fpdf_fwlevent.h b/public/fpdf_fwlevent.h
index f77e7e399f..f27499a1c6 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