mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-3445 UCONFIG fig
X-SVN-Rev: 14094
This commit is contained in:
parent
6fc82370ee
commit
ffff7ea05b
3 changed files with 5 additions and 1 deletions
|
@ -190,7 +190,7 @@ main(int argc, char* argv[]) {
|
|||
"gensprep writes dummy " U_ICUDATA_NAME "_" DATA_NAME "." DATA_TYPE
|
||||
" because UCONFIG_NO_IDNA is set, \n"
|
||||
"see icu/source/common/unicode/uconfig.h\n");
|
||||
generateData(destDir);
|
||||
generateData(destDir, packageName, bundleName);
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
@ -45,10 +45,12 @@ setUnicodeVersionNC(UVersionInfo version);
|
|||
extern void
|
||||
init(void);
|
||||
|
||||
#if !UCONFIG_NO_IDNA
|
||||
extern void
|
||||
storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UStringPrepType type, UErrorCode* status);
|
||||
extern void
|
||||
storeRange(uint32_t start, uint32_t end, UStringPrepType type,UErrorCode* status);
|
||||
#endif
|
||||
|
||||
extern void
|
||||
generateData(const char *dataDir, const char* packageName, const char* bundleName);
|
||||
|
|
|
@ -651,8 +651,10 @@ generateData(const char *dataDir, const char *packageName, const char* bundleNam
|
|||
exit(U_INTERNAL_PROGRAM_ERROR);
|
||||
}
|
||||
|
||||
#if !UCONFIG_NO_IDNA
|
||||
/* done with writing the data .. close the hashtable */
|
||||
uhash_close(hashTable);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !UCONFIG_NO_IDNA
|
||||
|
|
Loading…
Add table
Reference in a new issue