From 3b07d6126db7834386bf1aab160a3642340730ef Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 13 Jun 2016 15:31:54 +0800 Subject: fixes compile --- src/pinyin.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/pinyin.h') diff --git a/src/pinyin.h b/src/pinyin.h index 26ffb81..b15925a 100644 --- a/src/pinyin.h +++ b/src/pinyin.h @@ -870,10 +870,30 @@ bool pinyin_get_pinyin_offset(pinyin_instance_t * instance, size_t cursor, size_t * offset); +/** + * pinyin_get_left_character_offset: + * @instance: the pinyin instance. + * @offset: the lookup offset. + * @left: the left offset. + * @returns: whether the get operation is successful. + * + * Get the left offset from the lookup offset. + * + */ bool pinyin_get_left_character_offset(pinyin_instance_t * instance, size_t offset, size_t * left); +/** + * pinyin_get_right_character_offset: + * @instance: the pinyin instance. + * @offset: the lookup offset. + * @right: the right offset. + * @returns: whether the get operation is successful. + * + * Get the right offset from the lookup offset. + * + */ bool pinyin_get_right_character_offset(pinyin_instance_t * instance, size_t offset, size_t * right); -- cgit