summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
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);
/**