Chromium Code Reviews| Index: public/fpdf_macro.h |
| diff --git a/public/fpdf_macro.h b/public/fpdf_macro.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..224a32d9305d23b426a90812dbaba4a105e5b957 |
| --- /dev/null |
| +++ b/public/fpdf_macro.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2014 PDFium Authors. All rights reserved. |
|
Tom Sepez
2015/10/14 16:57:45
This should remain in the fpdf_datavail.h file; wh
jun_fang
2015/10/15 10:22:28
I replied it for your first comment.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| + |
| +#ifndef PUBLIC_FPDF_MACRO_H_ |
| +#define PUBLIC_FPDF_MACRO_H_ |
| + |
| +#ifdef __cplusplus |
| +extern "C" { |
| +#endif |
| + |
| +#define PDF_LINEARIZATION_UNKNOWN -1 |
| +#define PDF_NOT_LINEARIZED 0 |
| +#define PDF_LINEARIZED 1 |
| +#define PDF_FORM_NOTAVAIL 0 |
| +#define PDF_FORM_AVAIL 1 |
| +#define PDF_FORM_NOTEXIST 2 |
| + |
| +#ifdef __cplusplus |
| +} |
| +#endif |
| + |
| +#endif // PUBLIC_FPDF_MACRO_H_ |