2001-08-30 03:01:06 +00:00
|
|
|
/*
|
|
|
|
******************************************************************************
|
|
|
|
* *
|
|
|
|
* Copyright (C) 2001-2001, International Business Machines *
|
|
|
|
* Corporation and others. All Rights Reserved. *
|
|
|
|
* *
|
|
|
|
******************************************************************************
|
|
|
|
* file name: ucln_cmn.c
|
|
|
|
* encoding: US-ASCII
|
|
|
|
* tab size: 8 (not used)
|
|
|
|
* indentation:4
|
|
|
|
*
|
|
|
|
* created on: 2001July05
|
|
|
|
* created by: George Rhoten
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ucln.h"
|
|
|
|
#include "ucln_in.h"
|
|
|
|
|
2001-08-31 02:14:47 +00:00
|
|
|
static UBool i18n_cleanup(void)
|
2001-08-30 03:01:06 +00:00
|
|
|
{
|
2002-09-20 01:54:48 +00:00
|
|
|
#if !UCONFIG_NO_TRANSLITERATION
|
2002-08-21 19:12:24 +00:00
|
|
|
transliterator_cleanup();
|
2002-09-20 01:54:48 +00:00
|
|
|
#endif
|
|
|
|
|
2003-05-13 23:12:37 +00:00
|
|
|
#if !UCONFIG_NO_REGULAR_EXPRESSIONS
|
|
|
|
regex_cleanup();
|
|
|
|
#endif
|
|
|
|
|
2002-09-20 01:54:48 +00:00
|
|
|
#if !UCONFIG_NO_FORMATTING
|
2003-04-29 16:55:44 +00:00
|
|
|
numfmt_cleanup();
|
|
|
|
currency_cleanup();
|
2003-05-13 23:12:37 +00:00
|
|
|
timeZone_cleanup();
|
2002-09-20 01:54:48 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !UCONFIG_NO_COLLATION
|
2003-05-13 23:12:37 +00:00
|
|
|
collator_cleanup();
|
2001-09-21 00:19:53 +00:00
|
|
|
ucol_cleanup();
|
|
|
|
ucol_bld_cleanup();
|
2002-09-20 01:54:48 +00:00
|
|
|
#endif
|
2002-11-07 20:06:39 +00:00
|
|
|
|
2001-08-31 02:14:47 +00:00
|
|
|
return TRUE;
|
2001-08-30 03:01:06 +00:00
|
|
|
}
|
|
|
|
|
2001-08-31 02:14:47 +00:00
|
|
|
void ucln_i18n_registerCleanup()
|
2001-08-30 03:01:06 +00:00
|
|
|
{
|
|
|
|
ucln_registerCleanup(UCLN_I18N, i18n_cleanup);
|
|
|
|
}
|
|
|
|
|