diff options
author | Peng Wu <alexepico@gmail.com> | 2016-01-12 15:07:12 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-01-12 15:07:12 +0800 |
commit | de3179e4d600dfa45408c8618dbf0b326dc44a20 (patch) | |
tree | b2743ed75a25a3083dcc08421a7561ccedf30c3f | |
parent | fc7fffecf01667281cb094147e20aedcd4d7a8dd (diff) | |
download | libpinyin-de3179e4d600dfa45408c8618dbf0b326dc44a20.tar.gz libpinyin-de3179e4d600dfa45408c8618dbf0b326dc44a20.tar.xz libpinyin-de3179e4d600dfa45408c8618dbf0b326dc44a20.zip |
update phrase_large_table3.h
-rw-r--r-- | src/storage/phrase_large_table3.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/storage/phrase_large_table3.h b/src/storage/phrase_large_table3.h index 3200679..6cbd5ae 100644 --- a/src/storage/phrase_large_table3.h +++ b/src/storage/phrase_large_table3.h @@ -22,6 +22,7 @@ #ifndef PHRASE_LARGE_TABLE3_H #define PHRASE_LARGE_TABLE3_H +#include <stdio.h> #include "novel_types.h" #include "memory_chunk.h" @@ -47,9 +48,9 @@ public: } /* load/store method */ - bool load(Trie * index, MemoryChunk * content); + bool load(FILE * index, MemoryChunk * content); - bool store(Trie * new_index, MemoryChunk * new_content); + bool store(FILE * new_index, MemoryChunk * new_content); bool load_text(FILE * file); |