ICU-12992 jungshik says that Windows does not like inline U_COMMON_API functions

X-SVN-Rev: 39823
This commit is contained in:
Markus Scherer 2017-03-15 21:00:16 +00:00
parent 8afd3f9b68
commit 1ff95fff4d

View File

@ -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