diff options
author | Peng Wu <alexepico@gmail.com> | 2010-08-23 14:08:53 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2010-08-23 14:08:53 +0800 |
commit | 29fd54b78973059b8df54f6607c1c9722b2d6c72 (patch) | |
tree | fb479d8169aaf087d7d58ce225618e78a34d875a | |
parent | 241aedc1bcd468389851ad3aaa748463c73a8a5a (diff) | |
download | libpinyin-29fd54b78973059b8df54f6607c1c9722b2d6c72.tar.gz libpinyin-29fd54b78973059b8df54f6607c1c9722b2d6c72.tar.xz libpinyin-29fd54b78973059b8df54f6607c1c9722b2d6c72.zip |
fixes a typo.
-rw-r--r-- | src/storage/phrase_large_table.h | 6 | ||||
-rwxr-xr-x | src/storage/pinyin_large_table.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/storage/phrase_large_table.h b/src/storage/phrase_large_table.h index 08ffa73..810b8ac 100644 --- a/src/storage/phrase_large_table.h +++ b/src/storage/phrase_large_table.h @@ -38,7 +38,7 @@ protected: //shift one utf16_t for class PhraseLengthIndexLevel, just like PinyinLengthIndexLevel. public: bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t &end); + 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[], @@ -53,7 +53,7 @@ protected: GArray* m_phrase_array_indexes; public: bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t end); + 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[], @@ -69,7 +69,7 @@ protected: MemoryChunk m_chunk; public: bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t &end); + 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[], diff --git a/src/storage/pinyin_large_table.h b/src/storage/pinyin_large_table.h index f119ac2..b1e5386 100755 --- a/src/storage/pinyin_large_table.h +++ b/src/storage/pinyin_large_table.h @@ -53,7 +53,7 @@ public: } bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t &end); + bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end); /*bool load_text(FILE * file);*/ /*bool save_text(FILE * file);*/ @@ -72,7 +72,7 @@ public: PinyinLengthIndexLevel(); ~PinyinLengthIndexLevel(); bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t& end); + bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end); /*search/add_index method */ int search( int phrase_length, /* in */ PinyinCustomSettings * custom, @@ -93,7 +93,7 @@ protected: PhraseIndexRanges ranges); public: bool load(MemoryChunk * chunk, table_offset_t offset, table_offset_t end); - bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t& end); + bool store(MemoryChunk * new_chunk, table_offset_t offset, table_offset_t & end); /*search/add_index method */ int search(/* in */ PinyinCustomSettings * custom, |