summaryrefslogtreecommitdiffstats
path: root/src/storage/phrase_large_table3.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-01-12 15:07:12 +0800
committerPeng Wu <alexepico@gmail.com>2016-01-12 15:07:12 +0800
commitde3179e4d600dfa45408c8618dbf0b326dc44a20 (patch)
treeb2743ed75a25a3083dcc08421a7561ccedf30c3f /src/storage/phrase_large_table3.h
parentfc7fffecf01667281cb094147e20aedcd4d7a8dd (diff)
downloadlibpinyin-de3179e4d600dfa45408c8618dbf0b326dc44a20.tar.gz
libpinyin-de3179e4d600dfa45408c8618dbf0b326dc44a20.tar.xz
libpinyin-de3179e4d600dfa45408c8618dbf0b326dc44a20.zip
update phrase_large_table3.h
Diffstat (limited to 'src/storage/phrase_large_table3.h')
-rw-r--r--src/storage/phrase_large_table3.h5
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);