diff options
author | Peng Wu <alexepico@gmail.com> | 2016-06-28 12:33:33 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-06-28 12:33:33 +0800 |
commit | 9c2ca38f0b45f3d2937a7ccb05a7a119297107a3 (patch) | |
tree | d2a184597b17baeff73ddf3cf68f3b37955e373f /src/pinyin.h | |
parent | 05c2c6e853ce05a0843ae34f1df6a2226e255dc8 (diff) | |
download | libpinyin-9c2ca38f0b45f3d2937a7ccb05a7a119297107a3.tar.gz libpinyin-9c2ca38f0b45f3d2937a7ccb05a7a119297107a3.tar.xz libpinyin-9c2ca38f0b45f3d2937a7ccb05a7a119297107a3.zip |
update pinyin_get_character_offset function
Diffstat (limited to 'src/pinyin.h')
-rw-r--r-- | src/pinyin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pinyin.h b/src/pinyin.h index 863e945..dc68ebe 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -901,16 +901,16 @@ bool pinyin_get_right_character_offset(pinyin_instance_t * instance, /** * pinyin_get_character_offset: * @instance: the pinyin instance. - * @cursor: the lookup cursor. - * @offset: the character offset. + * @offset: the lookup offset. + * @length: the character offset. * @returns: whether the get operation is successful. * - * Get the character offset from the lookup cursor. + * Get the character offset from the lookup offset. * */ bool pinyin_get_character_offset(pinyin_instance_t * instance, - size_t cursor, - size_t * offset); + size_t offset, + size_t * length); #if 0 /** |