OLD | NEW |
1 /* | 1 /* |
2 ****************************************************************************** | 2 ****************************************************************************** |
3 * Copyright (C) 2001-2013, International Business Machines | 3 * Copyright (C) 2001-2013, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ****************************************************************************** | 5 ****************************************************************************** |
6 * file name: uinit.cpp | 6 * file name: uinit.cpp |
7 * encoding: US-ASCII | 7 * encoding: US-ASCII |
8 * tab size: 8 (not used) | 8 * tab size: 8 (not used) |
9 * indentation:4 | 9 * indentation:4 |
10 * | 10 * |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 * is available. | 48 * is available. |
49 * Users should really open the service objects they need and check | 49 * Users should really open the service objects they need and check |
50 * for errors there, to make sure that the actual items they need are | 50 * for errors there, to make sure that the actual items they need are |
51 * available. | 51 * available. |
52 */ | 52 */ |
53 ucnv_io_countKnownConverters(&status); | 53 ucnv_io_countKnownConverters(&status); |
54 #endif | 54 #endif |
55 ucln_common_registerCleanup(UCLN_COMMON_UINIT, uinit_cleanup); | 55 ucln_common_registerCleanup(UCLN_COMMON_UINIT, uinit_cleanup); |
56 } | 56 } |
57 | 57 |
| 58 U_NAMESPACE_END |
| 59 |
| 60 U_NAMESPACE_USE |
| 61 |
58 /* | 62 /* |
59 * ICU Initialization Function. Need not be called. | 63 * ICU Initialization Function. Need not be called. |
60 */ | 64 */ |
61 U_CAPI void U_EXPORT2 | 65 U_CAPI void U_EXPORT2 |
62 u_init(UErrorCode *status) { | 66 u_init(UErrorCode *status) { |
63 UTRACE_ENTRY_OC(UTRACE_U_INIT); | 67 UTRACE_ENTRY_OC(UTRACE_U_INIT); |
64 umtx_initOnce(gICUInitOnce, &initData, *status); | 68 umtx_initOnce(gICUInitOnce, &initData, *status); |
65 UTRACE_EXIT_STATUS(*status); | 69 UTRACE_EXIT_STATUS(*status); |
66 } | 70 } |
67 | |
68 U_NAMESPACE_END | |
OLD | NEW |