diff options
author | Peng Wu <alexepico@gmail.com> | 2016-01-22 09:58:42 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-01-22 09:58:42 +0800 |
commit | a56ff04587ffbf134132716b40e63e42a2e25a7e (patch) | |
tree | bd5b91668dbc468e6d8a5b9548da4c36c3446416 /src/storage/phrase_large_table3.cpp | |
parent | 229fc2d9928943d21699eb17bb8886be4b1c523c (diff) | |
download | libpinyin-a56ff04587ffbf134132716b40e63e42a2e25a7e.tar.gz libpinyin-a56ff04587ffbf134132716b40e63e42a2e25a7e.tar.xz libpinyin-a56ff04587ffbf134132716b40e63e42a2e25a7e.zip |
update PhraseTableEntry
Diffstat (limited to 'src/storage/phrase_large_table3.cpp')
-rw-r--r-- | src/storage/phrase_large_table3.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/phrase_large_table3.cpp b/src/storage/phrase_large_table3.cpp index a007bf9..f03db32 100644 --- a/src/storage/phrase_large_table3.cpp +++ b/src/storage/phrase_large_table3.cpp @@ -47,11 +47,11 @@ protected: public: /* search method */ - int search(/* in */ const ucs4_t phrase[], /* out */ PhraseTokens tokens) const; + int search(/* out */ PhraseTokens tokens) const; /* add_index/remove_index method */ - int add_index(/* in */ const ucs4_t phrase[], /* in */ phrase_token_t token); - int remove_index(/* in */ const ucs4_t phrase[], /* in */ phrase_token_t token); + int add_index(/* in */ phrase_token_t token); + int remove_index(/* in */ phrase_token_t token); /* get length method */ int get_length() const; |