michael@0: /* michael@0: ****************************************************************************** michael@0: * * michael@0: * Copyright (C) 2001-2013, International Business Machines * michael@0: * Corporation and others. All Rights Reserved. * michael@0: * * michael@0: ****************************************************************************** michael@0: * file name: ucln_io.c michael@0: * encoding: US-ASCII michael@0: * tab size: 8 (not used) michael@0: * indentation:4 michael@0: * michael@0: * created on: 2006August11 michael@0: * created by: George Rhoten michael@0: */ michael@0: michael@0: #include "ucln.h" michael@0: #include "ucln_io.h" michael@0: #include "uassert.h" michael@0: michael@0: #ifndef U_IO_IMPLEMENTATION michael@0: #error U_IO_IMPLEMENTATION not set - must be set for all ICU source files in io/ - see http://userguide.icu-project.org/howtouseicu michael@0: #endif michael@0: michael@0: michael@0: /** Auto-client */ michael@0: #define UCLN_TYPE UCLN_IO michael@0: #include "ucln_imp.h" michael@0: michael@0: /* Leave this copyright notice here! It needs to go somewhere in this library. */ michael@0: static const char copyright[] = U_COPYRIGHT_STRING; michael@0: michael@0: static cleanupFunc *gCleanupFunctions[UCLN_IO_COUNT]; michael@0: michael@0: static UBool io_cleanup(void) michael@0: { michael@0: ECleanupIOType libType = UCLN_IO_START; michael@0: michael@0: while (++libType