mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-2194 add ustrprep_cleanup to ucln_cmn
X-SVN-Rev: 11199
This commit is contained in:
parent
27ff8c0977
commit
cf37cfbbb4
4 changed files with 5 additions and 4 deletions
icu4c/source/common
|
@ -39,8 +39,7 @@ enum {
|
|||
_IDNA_MAP_TO_NOTHING = 0xFFF
|
||||
};
|
||||
|
||||
U_CFUNC UBool U_EXPORT2
|
||||
ustrprep_cleanup();
|
||||
|
||||
|
||||
/* error codes for prototyping
|
||||
#define U_IDNA_ERROR_START U_ERROR_LIMIT
|
||||
|
|
|
@ -36,7 +36,7 @@ static UErrorCode dataErrorCode =U_ZERO_ERROR;
|
|||
static const char* DATA_NAME = "uidna";
|
||||
static const char* DATA_TYPE = "icu";
|
||||
|
||||
U_CFUNC UBool U_EXPORT2
|
||||
U_CFUNC UBool
|
||||
ustrprep_cleanup() {
|
||||
if(idnData!=NULL) {
|
||||
udata_close(idnData);
|
||||
|
|
|
@ -70,7 +70,7 @@ u_cleanup(void)
|
|||
ures_cleanup();
|
||||
udata_cleanup();
|
||||
putil_cleanup();
|
||||
|
||||
ustrprep_cleanup();
|
||||
/*
|
||||
* WARNING! Destroying the global mutex can cause synchronization
|
||||
* problems. ICU must be reinitialized from a single thread
|
||||
|
|
|
@ -37,6 +37,8 @@ U_CFUNC UBool ustring_cleanup(void);
|
|||
|
||||
U_CFUNC UBool breakiterator_cleanup(void);
|
||||
|
||||
U_CFUNC UBool ustrprep_cleanup(void);
|
||||
|
||||
#ifdef ICU_UNICODECONVERTER_USE_DEPRECATES
|
||||
/* Obsolete: The UnicodeConverter is obsolete and going away. */
|
||||
/* @return true if cleanup complete successfully*/
|
||||
|
|
Loading…
Add table
Reference in a new issue