]>
git.saurik.com Git - apple/icu.git/blob - icuSources/common/uinit.c
2 ******************************************************************************
4 * Copyright (C) 2001-2012, International Business Machines *
5 * Corporation and others. All Rights Reserved. *
7 ******************************************************************************
10 * tab size: 8 (not used)
13 * created on: 2001July05
14 * created by: George Rhoten
17 #include "unicode/utypes.h"
18 #include "unicode/icuplug.h"
19 #include "unicode/uclean.h"
21 #include "icuplugimp.h"
26 static void U_CALLCONV
27 initData(UErrorCode
*status
)
32 * ICU4C 3.4 (jitterbug 4497) hardcodes the data for Unicode character
33 * properties for APIs that want to be fast.
34 * Therefore, we need not load them here nor check for errors.
35 * Instead, we load the converter alias table to see if any ICU data
37 * Users should really open the service objects they need and check
38 * for errors there, to make sure that the actual items they need are
41 #if !UCONFIG_NO_CONVERSION
42 ucnv_io_countKnownConverters(status
);
47 * ICU Initialization Function. Need not be called.
50 u_init(UErrorCode
*status
) {
51 UTRACE_ENTRY_OC(UTRACE_U_INIT
);
53 /* initialize plugins */
55 ucln_mutexedInit(initData
, status
);
57 UTRACE_EXIT_STATUS(*status
);