ICU-2194 add ustrprep_cleanup to ucln_cmn

X-SVN-Rev: 11199
This commit is contained in:
Ram Viswanadha 2003-02-28 22:17:06 +00:00
parent 27ff8c0977
commit cf37cfbbb4
4 changed files with 5 additions and 4 deletions

View file

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

View file

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

View file

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

View file

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