ICU-10557 Use U_NAMESPACE_USE where needed
X-SVN-Rev: 34756
This commit is contained in:
parent
3ac01a5b95
commit
477564f6d6
@ -56,12 +56,15 @@ initData(UErrorCode &status)
|
||||
}
|
||||
|
||||
U_NAMESPACE_END
|
||||
|
||||
U_NAMESPACE_USE
|
||||
|
||||
/*
|
||||
* ICU Initialization Function. Need not be called.
|
||||
*/
|
||||
U_CAPI void U_EXPORT2
|
||||
u_init(UErrorCode *status) {
|
||||
UTRACE_ENTRY_OC(UTRACE_U_INIT);
|
||||
icu::umtx_initOnce(icu::gICUInitOnce, &icu::initData, *status);
|
||||
umtx_initOnce(gICUInitOnce, &initData, *status);
|
||||
UTRACE_EXIT_STATUS(*status);
|
||||
}
|
||||
|
@ -1444,11 +1444,13 @@ U_NAMESPACE_END
|
||||
|
||||
/* public API --------------------------------------------------------------- */
|
||||
|
||||
U_NAMESPACE_USE
|
||||
|
||||
U_CAPI int32_t U_EXPORT2
|
||||
u_charName(UChar32 code, UCharNameChoice nameChoice,
|
||||
char *buffer, int32_t bufferLength,
|
||||
UErrorCode *pErrorCode) {
|
||||
AlgorithmicRange *algRange;
|
||||
AlgorithmicRange *algRange;
|
||||
uint32_t *p;
|
||||
uint32_t i;
|
||||
int32_t length;
|
||||
|
Loading…
Reference in New Issue
Block a user