mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-9353 add symbols to dictionarydata.cpp for linker
X-SVN-Rev: 32187
This commit is contained in:
parent
ed2c14b425
commit
53650b04c5
2 changed files with 4 additions and 1 deletions
|
@ -291,7 +291,7 @@ ICULanguageBreakFactory::loadDictionaryMatcherFor(UScriptCode script, int32_t /*
|
|||
int len = 0;
|
||||
if (extStart != NULL) {
|
||||
len = (int)(extStart - dictfname);
|
||||
u_UCharsToChars(extStart+1, ext, sizeof(ext)); // null-terminates the buffer
|
||||
u_UCharsToChars(extStart+1, ext, sizeof(ext)-1); // null-terminates the buffer
|
||||
u_UCharsToChars(dictfname, dictnbuf, len);
|
||||
}
|
||||
dictnbuf[len] = '\0'; // null-terminate
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
U_NAMESPACE_BEGIN
|
||||
|
||||
const int32_t DictionaryData::TRIE_TYPE_BYTES;
|
||||
const int32_t DictionaryData::TRIE_TYPE_UCHARS;
|
||||
|
||||
UCharsDictionaryMatcher::~UCharsDictionaryMatcher() {
|
||||
udata_close(file);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue