summaryrefslogtreecommitdiffstats
path: root/utils/utils_helper.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-05-21 12:07:13 +0800
committerPeng Wu <alexepico@gmail.com>2012-05-21 12:07:13 +0800
commit931df7d5a0924cde0c5b249b5f82a8d5bf9039b5 (patch)
tree4e0eb8b3dd48255c010efaaa7f8292726b95551d /utils/utils_helper.h
parentad922c4b6f8a6f2062a980e7b15b4fa17428b182 (diff)
downloadlibpinyin-931df7d5a0924cde0c5b249b5f82a8d5bf9039b5.tar.gz
libpinyin-931df7d5a0924cde0c5b249b5f82a8d5bf9039b5.tar.xz
libpinyin-931df7d5a0924cde0c5b249b5f82a8d5bf9039b5.zip
rename init_phrase_index to load_phrase_index
Diffstat (limited to 'utils/utils_helper.h')
-rw-r--r--utils/utils_helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/utils_helper.h b/utils/utils_helper.h
index 19ece80..59286db 100644
--- a/utils/utils_helper.h
+++ b/utils/utils_helper.h
@@ -23,7 +23,7 @@
#ifndef UTILS_HELPER_H
#define UTILS_HELPER_H
-static bool init_phrase_index(FacadePhraseIndex * phrase_index) {
+static bool load_phrase_index(FacadePhraseIndex * phrase_index) {
MemoryChunk * chunk = NULL;
for (size_t i = 0; i < PHRASE_INDEX_LIBRARY_COUNT; ++i) {
const char * bin_file = pinyin_phrase_files[i];