diff options
author | Peng Wu <alexepico@gmail.com> | 2016-07-01 14:27:14 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-07-01 14:27:14 +0800 |
commit | 2dda741858ffdcc6d10b0fa1256beccd7bf06b85 (patch) | |
tree | 58c30c95462c6d15ed73731e1a5d0ac6f56e4e16 /src/pinyin.h | |
parent | a6822d0946427c803d5f3952c934224bbb537907 (diff) | |
download | libpinyin-2dda741858ffdcc6d10b0fa1256beccd7bf06b85.tar.gz libpinyin-2dda741858ffdcc6d10b0fa1256beccd7bf06b85.tar.xz libpinyin-2dda741858ffdcc6d10b0fa1256beccd7bf06b85.zip |
rename API
Diffstat (limited to 'src/pinyin.h')
-rw-r--r-- | src/pinyin.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/pinyin.h b/src/pinyin.h index d29011b..60f76ed 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -871,7 +871,7 @@ bool pinyin_get_pinyin_offset(pinyin_instance_t * instance, size_t * offset); /** - * pinyin_get_left_character_offset: + * pinyin_get_left_pinyin_offset: * @instance: the pinyin instance. * @offset: the lookup offset. * @left: the left offset. @@ -880,12 +880,12 @@ bool pinyin_get_pinyin_offset(pinyin_instance_t * instance, * Get the left offset from the lookup offset. * */ -bool pinyin_get_left_character_offset(pinyin_instance_t * instance, - size_t offset, - size_t * left); +bool pinyin_get_left_pinyin_offset(pinyin_instance_t * instance, + size_t offset, + size_t * left); /** - * pinyin_get_right_character_offset: + * pinyin_get_right_pinyin_offset: * @instance: the pinyin instance. * @offset: the lookup offset. * @right: the right offset. @@ -894,9 +894,9 @@ bool pinyin_get_left_character_offset(pinyin_instance_t * instance, * Get the right offset from the lookup offset. * */ -bool pinyin_get_right_character_offset(pinyin_instance_t * instance, - size_t offset, - size_t * right); +bool pinyin_get_right_pinyin_offset(pinyin_instance_t * instance, + size_t offset, + size_t * right); /** * pinyin_get_character_offset: |