summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-06-12 15:06:57 +0800
committerPeng Wu <alexepico@gmail.com>2016-06-12 15:06:57 +0800
commit008edeec2e2aba365e1ece63667fb56cab213f97 (patch)
tree59ad67ac44990faab6a30b79ed4a441a2a5e5d37 /src/pinyin.h
parent83f5dac8e36949b7c848b2894f1d9c15ebefec47 (diff)
downloadlibpinyin-008edeec2e2aba365e1ece63667fb56cab213f97.tar.gz
libpinyin-008edeec2e2aba365e1ece63667fb56cab213f97.tar.xz
libpinyin-008edeec2e2aba365e1ece63667fb56cab213f97.zip
update pinyin.h
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pinyin.h b/src/pinyin.h
index b486197..41526b3 100644
--- a/src/pinyin.h
+++ b/src/pinyin.h
@@ -802,7 +802,7 @@ bool pinyin_get_n_pinyin(pinyin_instance_t * instance,
/**
* pinyin_get_pinyin_key:
* @instance: the pinyin instance.
- * @index: the index of the pinyin key.
+ * @offset: the offset of the pinyin key.
* @key: the retrieved pinyin key.
* @returns: whether the get operation is successful.
*
@@ -810,13 +810,13 @@ bool pinyin_get_n_pinyin(pinyin_instance_t * instance,
*
*/
bool pinyin_get_pinyin_key(pinyin_instance_t * instance,
- guint index,
+ size_t offset,
ChewingKey ** key);
/**
* pinyin_get_pinyin_key_rest:
* @instance: the pinyin index.
- * @index: the index of the pinyin key rest.
+ * @offset: the offset of the pinyin key rest.
* @key_rest: the retrieved pinyin key rest.
* @returns: whether the get operation is successful.
*
@@ -824,7 +824,7 @@ bool pinyin_get_pinyin_key(pinyin_instance_t * instance,
*
*/
bool pinyin_get_pinyin_key_rest(pinyin_instance_t * instance,
- guint index,
+ size_t offset,
ChewingKeyRest ** key_rest);
/**