1 /******************************************************************************
3 * Copyright (C) 2001, International Business Machines
4 * Corporation and others. All Rights Reserved.
6 *******************************************************************************
7 * file name: stubdata.c
9 * Define initialized data that will build into a valid, but empty
10 * ICU data library. Used to bootstrap the ICU build, which has these
12 * ICU Common library depends on ICU data
13 * ICU data requires data building tools.
14 * ICU data building tools require the ICU common library.
16 * The stub data library (for which this file is the source) is sufficient
17 * for running the data building tools.
20 #include "unicode/utypes.h"
21 #include "unicode/udata.h"
22 #include "unicode/uversion.h"
27 uint8_t magic1
, magic2
;
30 uint32_t count
, reserved
;
33 const char *const name;
34 const void *const data;
37 int fakeNameAndData
[4]; /* TODO: Change this header type from */
38 /* pointerTOC to OffsetTOC. */
41 U_EXPORT
const ICU_Data_Header U_ICUDATA_ENTRY_POINT
= {
43 0xda, /* magic1, (see struct MappedData in udata.c) */
46 sizeof(UDataInfo
), /* size */
58 { /* data format identifier */
59 0x54, 0x6f, 0x43, 0x50}, /* "ToCP" */
60 {1, 0, 0, 0}, /* format version major, minor, milli, micro */
61 {0, 0, 0, 0} /* dataVersion */
63 {0,0,0,0,0,0,0,0}, /* Padding[8] */
68 0 , 0 , 0, 0 /* name and data entries. Count says there are none, */
69 /* but put one in just in case. */