summaryrefslogtreecommitdiffstats
path: root/src/lookup/phrase_lookup.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-02-21 10:41:31 +0800
committerPeng Wu <alexepico@gmail.com>2012-02-21 10:41:31 +0800
commit1ddce5136799a57d5c1fb745a747abdb76c6f9f3 (patch)
tree5ce890cfea6190d82d7f85bd06f55b7fb970a531 /src/lookup/phrase_lookup.h
parent285222db4fecdd2f92a54ba48736fee5f604e795 (diff)
downloadlibpinyin-1ddce5136799a57d5c1fb745a747abdb76c6f9f3.tar.gz
libpinyin-1ddce5136799a57d5c1fb745a747abdb76c6f9f3.tar.xz
libpinyin-1ddce5136799a57d5c1fb745a747abdb76c6f9f3.zip
update lookup directory
Diffstat (limited to 'src/lookup/phrase_lookup.h')
-rw-r--r--src/lookup/phrase_lookup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lookup/phrase_lookup.h b/src/lookup/phrase_lookup.h
index a0f0ac2..e1f3ef5 100644
--- a/src/lookup/phrase_lookup.h
+++ b/src/lookup/phrase_lookup.h
@@ -54,7 +54,7 @@ protected:
/* Saved sentence */
int m_sentence_length;
- utf16_t * m_sentence;
+ ucs4_t * m_sentence;
protected:
/* Explicitly search the next phrase,
@@ -78,7 +78,7 @@ public:
~PhraseLookup();
/* Note: this method only accepts the characters in phrase large table. */
- bool get_best_match(int sentence_length, utf16_t sentence[], MatchResults & results);
+ bool get_best_match(int sentence_length, ucs4_t sentence[], MatchResults & results);
/* Note: free the phrase by g_free */
bool convert_to_utf8(MatchResults results,