summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdfview_c_api_test.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-05-12 17:28:08 -0700
committerTom Sepez <tsepez@chromium.org>2015-05-12 17:28:08 -0700
commitcf22eb8ac24d944aac08d6a17c12b8a3a602c6f5 (patch)
tree60da3c149c8587662c020c629c1d50ed7e4a859d /fpdfsdk/src/fpdfview_c_api_test.h
parent12df7f730cea21885c177254bb2b4e1b9e1bea59 (diff)
downloadpdfium-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 'fpdfsdk/src/fpdfview_c_api_test.h')
-rw-r--r--fpdfsdk/src/fpdfview_c_api_test.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/fpdfsdk/src/fpdfview_c_api_test.h b/fpdfsdk/src/fpdfview_c_api_test.h
new file mode 100644
index 0000000000..755d8215c9
--- /dev/null
+++ b/fpdfsdk/src/fpdfview_c_api_test.h
@@ -0,0 +1,20 @@
+// Copyright 2015 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef FPDFSDK_SRC_FPDFVIEW_C_API_TEST_H_
+#define FPDFSDK_SRC_FPDFVIEW_C_API_TEST_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+// Function to call from gtest harness to ensure linker resolution. Returns
+// 1 on success or 0 on error.
+int CheckPDFiumCApi();
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // FPDFSDK_SRC_FPDFVIEW_C_API_TEST_H_