summaryrefslogtreecommitdiffstats
path: root/src/storage/facade_phrase_table.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-02-20 11:00:48 +0800
committerPeng Wu <alexepico@gmail.com>2012-02-20 11:00:48 +0800
commit14a05845995550c15c8267a82750103c1149daac (patch)
tree9e924ad6299aac8d8dc221820eca67bc00e6bdd6 /src/storage/facade_phrase_table.h
parent036cd24c064bac2b3a5d7e8e92c3bb34f376f353 (diff)
downloadlibpinyin-14a05845995550c15c8267a82750103c1149daac.tar.gz
libpinyin-14a05845995550c15c8267a82750103c1149daac.tar.xz
libpinyin-14a05845995550c15c8267a82750103c1149daac.zip
update phrase table headers
Diffstat (limited to 'src/storage/facade_phrase_table.h')
-rw-r--r--src/storage/facade_phrase_table.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/facade_phrase_table.h b/src/storage/facade_phrase_table.h
index fadf03f..7ff3a70 100644
--- a/src/storage/facade_phrase_table.h
+++ b/src/storage/facade_phrase_table.h
@@ -58,7 +58,7 @@ public:
}
/* search method */
- int search(int phrase_length, /* in */ utf16_t phrase[],
+ int search(int phrase_length, /* in */ ucs4_t phrase[],
/* out */ phrase_token_t & token){
int result = SEARCH_NONE;
token = null_token;
@@ -74,14 +74,14 @@ public:
}
/* add/remove index method */
- int add_index(int phrase_length, /* in */ utf16_t phrase[],
+ int add_index(int phrase_length, /* in */ ucs4_t phrase[],
/* in */ phrase_token_t token) {
assert(NULL != m_user_phrase_table);
return m_user_phrase_table->add_index
(phrase_length, phrase, token);
}
- int remove_index(int phrase_length, /* in */ utf16_t phrase[],
+ int remove_index(int phrase_length, /* in */ ucs4_t phrase[],
/* out */ phrase_token_t & token){
assert(NULL != m_user_phrase_table);
return m_user_phrase_table->remove_index