From 1ff95fff4df77f9ffac6812d4e8e9ac47c4c0eed Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Wed, 15 Mar 2017 21:00:16 +0000 Subject: [PATCH] ICU-12992 jungshik says that Windows does not like inline U_COMMON_API functions X-SVN-Rev: 39823 --- icu4c/source/common/unicode/char16ptr.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/icu4c/source/common/unicode/char16ptr.h b/icu4c/source/common/unicode/char16ptr.h index 27efa5da2d0..744aef2c9ca 100644 --- a/icu4c/source/common/unicode/char16ptr.h +++ b/icu4c/source/common/unicode/char16ptr.h @@ -235,7 +235,7 @@ const char16_t *ConstChar16Ptr::get() const { return u.cp; } * @return p as const UChar * * @draft ICU 59 */ -inline U_COMMON_API const UChar *toUCharPtr(const char16_t *p) { +inline const UChar *toUCharPtr(const char16_t *p) { #ifdef U_ALIASING_BARRIER U_ALIASING_BARRIER(p); #endif @@ -249,7 +249,7 @@ inline U_COMMON_API const UChar *toUCharPtr(const char16_t *p) { * @return p as UChar * * @draft ICU 59 */ -inline U_COMMON_API UChar *toUCharPtr(char16_t *p) { +inline UChar *toUCharPtr(char16_t *p) { #ifdef U_ALIASING_BARRIER U_ALIASING_BARRIER(p); #endif @@ -263,7 +263,7 @@ inline U_COMMON_API UChar *toUCharPtr(char16_t *p) { * @return p as const OldUChar * * @draft ICU 59 */ -inline U_COMMON_API const OldUChar *toOldUCharPtr(const char16_t *p) { +inline const OldUChar *toOldUCharPtr(const char16_t *p) { #ifdef U_ALIASING_BARRIER U_ALIASING_BARRIER(p); #endif @@ -277,7 +277,7 @@ inline U_COMMON_API const OldUChar *toOldUCharPtr(const char16_t *p) { * @return p as OldUChar * * @draft ICU 59 */ -inline U_COMMON_API OldUChar *toOldUCharPtr(char16_t *p) { +inline OldUChar *toOldUCharPtr(char16_t *p) { #ifdef U_ALIASING_BARRIER U_ALIASING_BARRIER(p); #endif -- 2.40.0