Chromium Code Reviews| Index: testing/c_api_test.h |
| diff --git a/testing/c_api_test.h b/testing/c_api_test.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b443011e577e482ca3e3ee0794b6daab41d934af |
| --- /dev/null |
| +++ b/testing/c_api_test.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright (c) 2015 PDFium Authors. All rights reserved. |
|
Lei Zhang
2015/05/12 21:43:03
nit: no (c)
Tom Sepez
2015/05/12 22:36:55
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef TESTING_C_API_TEST_H_ |
| +#define TESTING_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 // TESTING_C_API_TEST_H_ |