ICU-770 Add the i18n data cleanup functions.

X-SVN-Rev: 5621
This commit is contained in:
George Rhoten 2001-08-30 03:06:19 +00:00
parent 42a35fc241
commit 6050ed1893

View file

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