diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-08-19 10:28:50 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-08-19 10:28:50 -0700 |
commit | 71c15a5e6652952a94ba3a3ef7ac0392e3a06962 (patch) | |
tree | c6983e985c49e4f30906082b73045db14d8cb481 /core/src/fpdftext/unicodenormalizationdata.h | |
parent | a2b3ae23556fb2f1adbc008574f33bf365476af9 (diff) | |
download | pdfium-71c15a5e6652952a94ba3a3ef7ac0392e3a06962.tar.xz |
Extern in .cpp files is a code smell.
Part 1. Move to headers so compiler can type check against
the definitions.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1299963002 .
Diffstat (limited to 'core/src/fpdftext/unicodenormalizationdata.h')
-rw-r--r-- | core/src/fpdftext/unicodenormalizationdata.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/src/fpdftext/unicodenormalizationdata.h b/core/src/fpdftext/unicodenormalizationdata.h new file mode 100644 index 0000000000..1970f87ab3 --- /dev/null +++ b/core/src/fpdftext/unicodenormalizationdata.h @@ -0,0 +1,18 @@ +// 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. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#ifndef CORE_SRC_FPDFTEXT_UNICODENORMALIZATIONDATA_H_ +#define CORE_SRC_FPDFTEXT_UNICODENORMALIZATIONDATA_H_ + +#include "../../include/fxcrt/fx_system.h" + +extern const FX_WCHAR g_UnicodeData_Normalization[]; +extern const FX_WCHAR g_UnicodeData_Normalization_Map1[]; +extern const FX_WCHAR g_UnicodeData_Normalization_Map2[]; +extern const FX_WCHAR g_UnicodeData_Normalization_Map3[]; +extern const FX_WCHAR g_UnicodeData_Normalization_Map4[]; + +#endif // CORE_SRC_FPDFTEXT_UNICODENORMALIZATIONDATA_H_ |