From 6050ed1893fe2215b1fdd5a048785ddc84493e85 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Thu, 30 Aug 2001 03:06:19 +0000 Subject: [PATCH] ICU-770 Add the i18n data cleanup functions. X-SVN-Rev: 5621 --- icu4c/source/common/ucln.h | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 icu4c/source/common/ucln.h diff --git a/icu4c/source/common/ucln.h b/icu4c/source/common/ucln.h new file mode 100644 index 00000000000..c49b4c882f3 --- /dev/null +++ b/icu4c/source/common/ucln.h @@ -0,0 +1,39 @@ +/* +****************************************************************************** +* * +* 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_H__ +#define __UCLN_H__ + +#include "unicode/utypes.h" + +typedef enum ECleanupLibraryType { + UCLN_START = -1, + UCLN_LAYOUT, + UCLN_USTDIO, + UCLN_I18N, + UCLN_COMMON /* This must be the last one to cleanup. */ +}; + +#ifndef XP_CPLUSPLUS +typedef enum ECleanupLibraryType ECleanupLibraryType; +#endif + +typedef UBool cleanupFunc(void); + +U_CAPI void U_EXPORT2 ucln_registerCleanup(ECleanupLibraryType type, + cleanupFunc *func); + +#endif