From 483edec762139c1360a0e641834de3308f7eb03b Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 20 Feb 2012 11:27:45 +0800 Subject: update class definition in phrase_large_table.cpp --- src/storage/phrase_large_table.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/storage/phrase_large_table.cpp b/src/storage/phrase_large_table.cpp index b8f3328..131a19a 100644 --- a/src/storage/phrase_large_table.cpp +++ b/src/storage/phrase_large_table.cpp @@ -40,11 +40,11 @@ public: bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end); /* search/add_index/remove_index 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 add_index( int phrase_length, /* in */ utf16_t phrase[], /* in */ phrase_token_t token); - int remove_index( int phrase_length, /* in */ utf16_t phrase[], /* out */ phrase_token_t & token); + int add_index( int phrase_length, /* in */ ucs4_t phrase[], /* in */ phrase_token_t token); + int remove_index( int phrase_length, /* in */ ucs4_t phrase[], /* out */ phrase_token_t & token); }; template @@ -56,11 +56,11 @@ public: bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end); /* search/add_index/remove_index method */ - int search( /* in */ utf16_t phrase[], + int search( /* in */ ucs4_t phrase[], /* out */ phrase_token_t & token); - int add_index(/* in */ utf16_t phrase[], /* in */ phrase_token_t token); - int remove_index(/* in */ utf16_t phrase[], /* out */ phrase_token_t & token); + int add_index(/* in */ ucs4_t phrase[], /* in */ phrase_token_t token); + int remove_index(/* in */ ucs4_t phrase[], /* out */ phrase_token_t & token); }; }; @@ -137,7 +137,7 @@ PhraseLengthIndexLevel::~PhraseLengthIndexLevel(){ for ( size_t i = 0 ; i < m_phrase_array_indexes->len; ++i){ switch (i){ CASE(0); - CASE(1); + CASE(1); CASE(2); CASE(3); CASE(4); -- cgit