]>
git.saurik.com Git - apple/icu.git/blob - icuSources/tools/gencase/gencase.h
2 *******************************************************************************
4 * Copyright (C) 2004, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
10 * tab size: 8 (not used)
13 * created on: 2004aug28
14 * created by: Markus W. Scherer
20 #include "unicode/utypes.h"
26 /* gencase ------------------------------------------------------------------ */
28 #define UGENCASE_EXC_SHIFT 16
29 #define UGENCASE_EXC_MASK 0xffff0000
31 /* special casing data */
35 UChar lowerCase
[32], upperCase
[32], titleCase
[32];
38 /* case folding data */
45 /* case mapping properties */
47 UChar32 code
, lowerCase
, upperCase
, titleCase
;
48 SpecialCasing
*specialCasing
;
49 CaseFolding
*caseFolding
;
54 extern UBool beVerbose
, haveCopyright
;
56 /* properties vectors in gencase.c */
61 writeUCDFilename(char *basename
, const char *filename
, const char *suffix
);
64 isToken(const char *token
, const char *s
);
67 setUnicodeVersion(const char *v
);
72 U_CFUNC
uint32_t U_EXPORT2
73 getFoldedPropsValue(UNewTrie
*trie
, UChar32 start
, int32_t offset
);
76 addCaseSensitive(UChar32 first
, UChar32 last
);
79 makeCaseClosure(void);
85 generateData(const char *dataDir
);