summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-10-03 13:18:55 -0700
committerBo Xu <bo_xu@foxitsoftware.com>2014-10-03 13:18:55 -0700
commitd5e822aba72a059b00d7b1415b46ecdae92e7dc0 (patch)
treec1afd1911fc80bf9121f5e8a1b9c81bc8a989215 /fpdfsdk
parente93d5341d87c54713a9632c8823288fa901a3b78 (diff)
downloadpdfium-d5e822aba72a059b00d7b1415b46ecdae92e7dc0.tar.xz
Enable C linkage in fpdfppo.h
BUG=pdfium-52 R=jun_fang@foxitsoftware.com Review URL: https://codereview.chromium.org/623893003
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/include/fpdfppo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fpdfsdk/include/fpdfppo.h b/fpdfsdk/include/fpdfppo.h
index 57fd638313..3e7e5c9a5e 100644
--- a/fpdfsdk/include/fpdfppo.h
+++ b/fpdfsdk/include/fpdfppo.h
@@ -9,6 +9,10 @@
#include "fpdfview.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
// Function: FPDF_ImportPages
// Import some pages to a PDF document.
// Parameters:
@@ -30,5 +34,10 @@ DLLEXPORT FPDF_BOOL STDCALL FPDF_ImportPages(FPDF_DOCUMENT dest_doc,FPDF_DOCUMEN
// Return value:
// TRUE for success, FALSE for failure.
DLLEXPORT FPDF_BOOL STDCALL FPDF_CopyViewerPreferences(FPDF_DOCUMENT dest_doc, FPDF_DOCUMENT src_doc);
+
+#ifdef __cplusplus
+};
#endif
+#endif //_FPDFPPO_H_
+