ICU-9353 add symbols to dictionarydata.cpp for linker

X-SVN-Rev: 32187
This commit is contained in:
Maxime Serrano 2012-08-17 00:10:22 +00:00
parent ed2c14b425
commit 53650b04c5
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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);
}