summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-05-27 17:26:03 +0800
committerPeng Wu <alexepico@gmail.com>2015-05-27 17:26:03 +0800
commit1f30ff7ba5b589a1b6f16d9b330f6baa71ac57d8 (patch)
tree61d71a9d930605b30cd78e37043e9c5ab7ea5283 /src/pinyin.h
parent2138e95c8c6a3a702346ea4072de593f2865f215 (diff)
downloadlibpinyin-1f30ff7ba5b589a1b6f16d9b330f6baa71ac57d8.tar.gz
libpinyin-1f30ff7ba5b589a1b6f16d9b330f6baa71ac57d8.tar.xz
libpinyin-1f30ff7ba5b589a1b6f16d9b330f6baa71ac57d8.zip
update pinyin.cpp
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pinyin.h b/src/pinyin.h
index ebee9a2..019aea9 100644
--- a/src/pinyin.h
+++ b/src/pinyin.h
@@ -63,6 +63,7 @@ pinyin_context_t * pinyin_init(const char * systemdir, const char * userdir);
/**
* pinyin_load_phrase_library:
* @context: the pinyin context.
+ * @target: the table target.
* @index: the phrase index to be loaded.
* @returns: whether the load succeeded.
*
@@ -70,11 +71,13 @@ pinyin_context_t * pinyin_init(const char * systemdir, const char * userdir);
*
*/
bool pinyin_load_phrase_library(pinyin_context_t * context,
+ TABLE_TARGET target,
guint8 index);
/**
* pinyin_unload_phrase_library:
* @context: the pinyin context.
+ * @target: the table target.
* @index: the phrase index to be unloaded.
* @returns: whether the unload succeeded.
*
@@ -82,6 +85,7 @@ bool pinyin_load_phrase_library(pinyin_context_t * context,
*
*/
bool pinyin_unload_phrase_library(pinyin_context_t * context,
+ TABLE_TARGET target,
guint8 index);
/**