]>
git.saurik.com Git - apple/icu.git/blob - icuSources/tools/gennorm/gennorm.h
2 *******************************************************************************
4 * Copyright (C) 1999-2002, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
8 * file name: genprops.h
10 * tab size: 8 (not used)
13 * created on: 1999dec13
14 * created by: Markus W. Scherer
17 #ifndef __GENPROPS_H__
18 #define __GENPROPS_H__
20 #include "unicode/utypes.h"
21 #include "unicode/uset.h"
23 /* file definitions */
24 #define DATA_NAME "unorm"
25 #define DATA_TYPE "icu"
28 * data structure that holds the normalization properties for one or more
29 * code point(s) at build time
32 uint8_t udataCC
, lenNFD
, lenNFKD
;
33 uint8_t qcFlags
, combiningFlags
;
34 uint16_t canonBothCCs
, compatBothCCs
, combiningIndex
, specialTag
;
36 uint32_t value32
; /* temporary variable for generating runtime norm32 and fcd values */
43 extern UBool beVerbose
, haveCopyright
;
47 setUnicodeVersion(const char *v
);
53 storeNorm(uint32_t code
, Norm
*norm
);
56 setQCFlags(uint32_t code
, uint8_t qcFlags
);
59 setCompositionExclusion(uint32_t code
);
62 setFNC(uint32_t c
, UChar
*s
);
68 generateData(const char *dataDir
);