mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 01:42:37 +00:00
ICU-770 Add the i18n data cleanup functions.
X-SVN-Rev: 5620
This commit is contained in:
parent
e3be3468c0
commit
42a35fc241
3 changed files with 68 additions and 0 deletions
|
@ -290,6 +290,10 @@ SOURCE=.\ucal.cpp
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ucln_in.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ucol.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -1421,6 +1425,10 @@ InputPath=.\unicode\ucal.h
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ucln_in.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\unicode\ucol.h
|
||||
|
||||
!IF "$(CFG)" == "i18n - Win32 Release"
|
||||
|
|
29
icu4c/source/i18n/ucln_in.c
Normal file
29
icu4c/source/i18n/ucln_in.c
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
******************************************************************************
|
||||
* *
|
||||
* 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"
|
||||
|
||||
UBool i18n_cleanup(void)
|
||||
{
|
||||
ucol_cleanup();
|
||||
}
|
||||
|
||||
void i18n_registerCleanup()
|
||||
{
|
||||
ucln_registerCleanup(UCLN_I18N, i18n_cleanup);
|
||||
}
|
||||
|
31
icu4c/source/i18n/ucln_in.h
Normal file
31
icu4c/source/i18n/ucln_in.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
/*
|
||||
******************************************************************************
|
||||
* *
|
||||
* Copyright (C) 2001-2001, International Business Machines *
|
||||
* Corporation and others. All Rights Reserved. *
|
||||
* *
|
||||
******************************************************************************
|
||||
* file name: ucln_cmn.h
|
||||
* encoding: US-ASCII
|
||||
* tab size: 8 (not used)
|
||||
* indentation:4
|
||||
*
|
||||
* created on: 2001July05
|
||||
* created by: George Rhoten
|
||||
*/
|
||||
|
||||
#ifndef __UCLN_CMN_H__
|
||||
#define __UCLN_CMN_H__
|
||||
|
||||
#include "unicode/utypes.h"
|
||||
|
||||
/* Main library cleanup function. */
|
||||
U_CFUNC void i18n_registerCleanup(void);
|
||||
|
||||
U_CFUNC UBool ucol_cleanup(void);
|
||||
|
||||
U_CFUNC UBool ucol_bld_cleanup(void);
|
||||
|
||||
U_CFUNC UBool timeZone_cleanup(void);
|
||||
|
||||
#endif
|
Loading…
Add table
Reference in a new issue