blob: 88449b57403b6f46482c866d5228c62c02f09775 [file] [log] [blame]
Jungshik Shin87232d82017-05-13 21:10:13 -07001// © 2016 and later: Unicode, Inc. and others.
Jungshik Shin5feb9ad2016-10-21 12:52:48 -07002// License & terms of use: http://www.unicode.org/copyright.html
jshin@chromium.org6f31ac32014-03-26 22:15:14 +00003/******************************************************************************
4*
5* Copyright (C) 2001, International Business Machines
6* Corporation and others. All Rights Reserved.
7*
8*******************************************************************************
9* file name: stubdata.c
10*
11* Define initialized data that will build into a valid, but empty
12* ICU data library. Used to bootstrap the ICU build, which has these
13* dependencies:
14* ICU Common library depends on ICU data
15* ICU data requires data building tools.
16* ICU data building tools require the ICU common library.
17*
18* The stub data library (for which this file is the source) is sufficient
19* for running the data building tools.
20*
21*/
jshin@chromium.org6f31ac32014-03-26 22:15:14 +000022
Frank Tang1f164ee2022-11-08 12:31:27 -080023#include "ucmndata.h"
jshin@chromium.org6f31ac32014-03-26 22:15:14 +000024
Jungshik Shin87232d82017-05-13 21:10:13 -070025extern "C" U_EXPORT const ICU_Data_Header U_ICUDATA_ENTRY_POINT = {
Jungshik Shine0d9b902016-10-28 12:56:54 -070026 { /* DataHeader */
27 { /* MappedData */
28 32, /* headerSize */
29 0xda, /* magic1, (see struct MappedData in udata.c) */
30 0x27, /* magic2 */
31 },
32 { /*UDataInfo */
33 sizeof(UDataInfo), /* size */
34 0, /* reserved */
jshin@chromium.org6f31ac32014-03-26 22:15:14 +000035
36#if U_IS_BIG_ENDIAN
Jungshik Shine0d9b902016-10-28 12:56:54 -070037 1,
jshin@chromium.org6f31ac32014-03-26 22:15:14 +000038#else
Jungshik Shine0d9b902016-10-28 12:56:54 -070039 0,
jshin@chromium.org6f31ac32014-03-26 22:15:14 +000040#endif
41
Jungshik Shine0d9b902016-10-28 12:56:54 -070042 U_CHARSET_FAMILY,
43 sizeof(UChar),
44 0, /* reserved */
45 { /* data format identifier */
46 0x54, 0x6f, 0x43, 0x50}, /* "ToCP" */
47 {1, 0, 0, 0}, /* format version major, minor, milli, micro */
48 {0, 0, 0, 0} /* dataVersion */
49 },
jshin@chromium.org6f31ac32014-03-26 22:15:14 +000050 },
51 {0,0,0,0,0,0,0,0}, /* Padding[8] */
52 0, /* count */
53 0, /* Reserved */
54 { /* TOC structure */
55/* { */
56 0 , 0 , 0, 0 /* name and data entries. Count says there are none, */
57 /* but put one in just in case. */
58/* } */
59 }
60};
61
62