ICU-770 Add the i18n data cleanup functions.

X-SVN-Rev: 5620
This commit is contained in:
George Rhoten 2001-08-30 03:01:06 +00:00
parent e3be3468c0
commit 42a35fc241
3 changed files with 68 additions and 0 deletions

View file

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

View 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);
}

View 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