OLD | NEW |
1 // Copyright (C) 2016 and later: Unicode, Inc. and others. | 1 // Copyright (C) 2016 and later: Unicode, Inc. and others. |
2 // License & terms of use: http://www.unicode.org/copyright.html | 2 // License & terms of use: http://www.unicode.org/copyright.html |
3 /* | 3 /* |
4 ********************************************************************** | 4 ********************************************************************** |
5 * Copyright (C) 1996-2016, International Business Machines | 5 * Copyright (C) 1996-2016, International Business Machines |
6 * Corporation and others. All Rights Reserved. | 6 * Corporation and others. All Rights Reserved. |
7 ********************************************************************** | 7 ********************************************************************** |
8 * | 8 * |
9 * FILE NAME : UTYPES.H (formerly ptypes.h) | 9 * FILE NAME : UTYPES.H (formerly ptypes.h) |
10 * | 10 * |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 #define U_TOOLUTIL_API U_EXPORT | 300 #define U_TOOLUTIL_API U_EXPORT |
301 #elif defined(U_STATIC_IMPLEMENTATION) | 301 #elif defined(U_STATIC_IMPLEMENTATION) |
302 #define U_DATA_API | 302 #define U_DATA_API |
303 #define U_COMMON_API | 303 #define U_COMMON_API |
304 #define U_I18N_API | 304 #define U_I18N_API |
305 #define U_LAYOUT_API | 305 #define U_LAYOUT_API |
306 #define U_LAYOUTEX_API | 306 #define U_LAYOUTEX_API |
307 #define U_IO_API | 307 #define U_IO_API |
308 #define U_TOOLUTIL_API | 308 #define U_TOOLUTIL_API |
309 #elif defined(U_COMMON_IMPLEMENTATION) | 309 #elif defined(U_COMMON_IMPLEMENTATION) |
| 310 #if defined(U_ICUDATAENTRY_IN_COMMON) |
| 311 #define U_DATA_API U_EXPORT |
| 312 #else |
310 #define U_DATA_API U_IMPORT | 313 #define U_DATA_API U_IMPORT |
| 314 #endif |
311 #define U_COMMON_API U_EXPORT | 315 #define U_COMMON_API U_EXPORT |
312 #define U_I18N_API U_IMPORT | 316 #define U_I18N_API U_IMPORT |
313 #define U_LAYOUT_API U_IMPORT | 317 #define U_LAYOUT_API U_IMPORT |
314 #define U_LAYOUTEX_API U_IMPORT | 318 #define U_LAYOUTEX_API U_IMPORT |
315 #define U_IO_API U_IMPORT | 319 #define U_IO_API U_IMPORT |
316 #define U_TOOLUTIL_API U_IMPORT | 320 #define U_TOOLUTIL_API U_IMPORT |
317 #elif defined(U_I18N_IMPLEMENTATION) | 321 #elif defined(U_I18N_IMPLEMENTATION) |
318 #define U_DATA_API U_IMPORT | 322 #define U_DATA_API U_IMPORT |
319 #define U_COMMON_API U_IMPORT | 323 #define U_COMMON_API U_IMPORT |
320 #define U_I18N_API U_EXPORT | 324 #define U_I18N_API U_EXPORT |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 * Return a string for a UErrorCode value. | 696 * Return a string for a UErrorCode value. |
693 * The string will be the same as the name of the error code constant | 697 * The string will be the same as the name of the error code constant |
694 * in the UErrorCode enum above. | 698 * in the UErrorCode enum above. |
695 * @stable ICU 2.0 | 699 * @stable ICU 2.0 |
696 */ | 700 */ |
697 U_STABLE const char * U_EXPORT2 | 701 U_STABLE const char * U_EXPORT2 |
698 u_errorName(UErrorCode code); | 702 u_errorName(UErrorCode code); |
699 | 703 |
700 | 704 |
701 #endif /* _UTYPES */ | 705 #endif /* _UTYPES */ |
OLD | NEW |