summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-01-27 09:47:45 -0800
committerTom Sepez <tsepez@chromium.org>2015-01-27 09:47:45 -0800
commiteef005055d6aafc2cc6066af37ce47d8b15ec7cd (patch)
treeab47aecac44e920d06b0d5e5aac6e15ad316a827 /core/include
parenta03932372b0906a340a6e3860c87e45f9ec79042 (diff)
downloadpdfium-eef005055d6aafc2cc6066af37ce47d8b15ec7cd.tar.xz
Kill scattered extern _PDF_CharType declarations.chromium/2292chromium/2291chromium/2290
While we're at it, avoid an indirection through a pointer, and use a name that isn't reserved for the compiler (leading _ CAP). This is a small portion of the associated bug: BUG=https://code.google.com/p/pdfium/issues/detail?id=112 R=brucedawson@chromium.org Review URL: https://codereview.chromium.org/880663003
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fpdfapi/fpdf_parser.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/include/fpdfapi/fpdf_parser.h b/core/include/fpdfapi/fpdf_parser.h
index e1a0f5cf1a..0ed8ed20d8 100644
--- a/core/include/fpdfapi/fpdf_parser.h
+++ b/core/include/fpdfapi/fpdf_parser.h
@@ -46,6 +46,14 @@ class CFX_PrivateData;
#define FPDFPERM_ASSEMBLE 0x0400
#define FPDFPERM_PRINT_HIGH 0x0800
#define FPDF_PAGE_MAX_NUM 0xFFFFF
+
+// Indexed by 8-bit character code, contains either:
+// 'W' - for whitespace: NUL, TAB, CR, LF, FF, 0x80, 0xff
+// 'N' - for numeric: 0123456789+-.
+// 'D' - for delimiter: %()/<>[]{}
+// 'R' - otherwise.
+extern const char PDF_CharType[256];
+
class IPDF_EnumPageHandler
{
public: