| OLD | NEW |
| 1 /* | 1 /* |
| 2 ********************************************************************** | 2 ********************************************************************** |
| 3 * Copyright (C) 1999-2012, International Business Machines | 3 * Copyright (C) 1999-2014, International Business Machines |
| 4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
| 5 ********************************************************************** | 5 ********************************************************************** |
| 6 * Date Name Description | 6 * Date Name Description |
| 7 * 11/17/99 aliu Creation. | 7 * 11/17/99 aliu Creation. |
| 8 ********************************************************************** | 8 ********************************************************************** |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include "utypeinfo.h" // for 'typeid' to work | 11 #include "utypeinfo.h" // for 'typeid' to work |
| 12 | 12 |
| 13 #include "unicode/utypes.h" | 13 #include "unicode/utypes.h" |
| (...skipping 1598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1612 _registerSpecialInverse(UNICODE_STRING_SIMPLE("Title"), | 1612 _registerSpecialInverse(UNICODE_STRING_SIMPLE("Title"), |
| 1613 UNICODE_STRING_SIMPLE("Lower"), FALSE); | 1613 UNICODE_STRING_SIMPLE("Lower"), FALSE); |
| 1614 | 1614 |
| 1615 ucln_i18n_registerCleanup(UCLN_I18N_TRANSLITERATOR, utrans_transliterator_cl
eanup); | 1615 ucln_i18n_registerCleanup(UCLN_I18N_TRANSLITERATOR, utrans_transliterator_cl
eanup); |
| 1616 | 1616 |
| 1617 return TRUE; | 1617 return TRUE; |
| 1618 } | 1618 } |
| 1619 | 1619 |
| 1620 U_NAMESPACE_END | 1620 U_NAMESPACE_END |
| 1621 | 1621 |
| 1622 // Defined in ucln_in.h: | 1622 // Defined in transreg.h: |
| 1623 | 1623 |
| 1624 /** | 1624 /** |
| 1625 * Release all static memory held by transliterator. This will | 1625 * Release all static memory held by transliterator. This will |
| 1626 * necessarily invalidate any rule-based transliterators held by the | 1626 * necessarily invalidate any rule-based transliterators held by the |
| 1627 * user, because RBTs hold pointers to common data objects. | 1627 * user, because RBTs hold pointers to common data objects. |
| 1628 */ | 1628 */ |
| 1629 U_CFUNC UBool utrans_transliterator_cleanup(void) { | 1629 U_CFUNC UBool utrans_transliterator_cleanup(void) { |
| 1630 U_NAMESPACE_USE | 1630 U_NAMESPACE_USE |
| 1631 TransliteratorIDParser::cleanup(); | 1631 TransliteratorIDParser::cleanup(); |
| 1632 if (registry) { | 1632 if (registry) { |
| 1633 delete registry; | 1633 delete registry; |
| 1634 registry = NULL; | 1634 registry = NULL; |
| 1635 } | 1635 } |
| 1636 return TRUE; | 1636 return TRUE; |
| 1637 } | 1637 } |
| 1638 | 1638 |
| 1639 #endif /* #if !UCONFIG_NO_TRANSLITERATION */ | 1639 #endif /* #if !UCONFIG_NO_TRANSLITERATION */ |
| 1640 | 1640 |
| 1641 //eof | 1641 //eof |
| OLD | NEW |