diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-05-12 17:28:08 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-05-12 17:28:08 -0700 |
commit | cf22eb8ac24d944aac08d6a17c12b8a3a602c6f5 (patch) | |
tree | 60da3c149c8587662c020c629c1d50ed7e4a859d /public/fpdf_fwlevent.h | |
parent | 12df7f730cea21885c177254bb2b4e1b9e1bea59 (diff) | |
download | pdfium-cf22eb8ac24d944aac08d6a17c12b8a3a602c6f5.tar.xz |
Merge to XFA: Make (and verify) public/ files compile under C.
The following files needed adjustment beyond a mechanical merge:
fpdfsdk/src/fpdfview.cpp
public/fpdf_formfill.h
samples/pdfium_test.cc
testing/embedder_test.cpp
Original Review URL: https://codereview.chromium.org/1130843003
BUG=pdfium:158
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1137233002
Diffstat (limited to 'public/fpdf_fwlevent.h')
-rw-r--r-- | public/fpdf_fwlevent.h | 8 |
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 |