summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-10-16 12:59:34 +0800
committerPeng Wu <alexepico@gmail.com>2015-10-16 12:59:34 +0800
commit7f77d9dcbc043d00d3ef2eacfb1237b32b1d6136 (patch)
tree26be9cd04f8f4102757649ae1b91f62d19750f68 /src/pinyin.h
parent51e7af528a4fe1c5da660eba48268369225c064c (diff)
downloadlibpinyin-7f77d9dcbc043d00d3ef2eacfb1237b32b1d6136.tar.gz
libpinyin-7f77d9dcbc043d00d3ef2eacfb1237b32b1d6136.tar.xz
libpinyin-7f77d9dcbc043d00d3ef2eacfb1237b32b1d6136.zip
write pinyin_set_full_pinyin_scheme
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pinyin.h b/src/pinyin.h
index adb2bb8..31c3bf5 100644
--- a/src/pinyin.h
+++ b/src/pinyin.h
@@ -204,6 +204,18 @@ void pinyin_end_get_phrases(export_iterator_t * iter);
bool pinyin_save(pinyin_context_t * context);
/**
+ * pinyin_set_full_pinyin_scheme:
+ * @context: the pinyin context.
+ * @scheme: the full pinyin scheme.
+ * @returns: whether the set full pinyin scheme succeeded.
+ *
+ * Change the full pinyin scheme of the pinyin context.
+ *
+ */
+bool pinyin_set_full_pinyin_scheme(pinyin_context_t * context,
+ FullPinyinScheme scheme);
+
+/**
* pinyin_set_double_pinyin_scheme:
* @context: the pinyin context.
* @scheme: the double pinyin scheme.