From 71c15a5e6652952a94ba3a3ef7ac0392e3a06962 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 19 Aug 2015 10:28:50 -0700 Subject: 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 . --- core/src/fpdftext/unicodenormalizationdata.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 core/src/fpdftext/unicodenormalizationdata.h (limited to 'core/src/fpdftext/unicodenormalizationdata.h') 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_ -- cgit v1.2.3