summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2017-04-25 13:37:39 +0800
committerPeng Wu <alexepico@gmail.com>2017-04-25 13:37:39 +0800
commitcda705686015c5295f1f231e81e494e3c7476672 (patch)
treee6f54f2eafbcc3fb22881c3201d3765c432f6de8
parent32f157d1d204a1d1c4ad3825b8488572a871c86b (diff)
downloadlibpinyin-cda705686015c5295f1f231e81e494e3c7476672.zip
libpinyin-cda705686015c5295f1f231e81e494e3c7476672.tar.gz
libpinyin-cda705686015c5295f1f231e81e494e3c7476672.tar.xz
clean zhuyin.h
-rw-r--r--src/libzhuyin.ver4
-rw-r--r--src/zhuyin.h16
2 files changed, 11 insertions, 9 deletions
diff --git a/src/libzhuyin.ver b/src/libzhuyin.ver
index 40c1822..6ce20da 100644
--- a/src/libzhuyin.ver
+++ b/src/libzhuyin.ver
@@ -22,7 +22,6 @@ LIBZHUYIN {
zhuyin_parse_more_full_pinyins;
zhuyin_parse_chewing;
zhuyin_parse_more_chewings;
- zhuyin_valid_zhuyin_keys;
zhuyin_get_parsed_input_length;
zhuyin_in_chewing_keyboard;
zhuyin_guess_candidates_after_cursor;
@@ -32,7 +31,7 @@ LIBZHUYIN {
zhuyin_lookup_tokens;
zhuyin_train;
zhuyin_reset;
- zhuyin_get_bopomofo_string;
+ zhuyin_get_zhuyin_string;
zhuyin_get_pinyin_string;
zhuyin_token_get_phrase;
zhuyin_token_get_n_pronunciation;
@@ -49,7 +48,6 @@ LIBZHUYIN {
zhuyin_get_zhuyin_key_rest_positions;
zhuyin_get_zhuyin_key_rest_length;
zhuyin_get_zhuyin_key_rest_offset;
- zhuyin_get_raw_user_input;
zhuyin_get_n_phrase;
zhuyin_get_phrase_token;
diff --git a/src/zhuyin.h b/src/zhuyin.h
index 66095f9..44430e1 100644
--- a/src/zhuyin.h
+++ b/src/zhuyin.h
@@ -308,6 +308,7 @@ bool zhuyin_parse_chewing(zhuyin_instance_t * instance,
size_t zhuyin_parse_more_chewings(zhuyin_instance_t * instance,
const char * chewings);
+#if 0
/**
* zhuyin_valid_zhuyin_keys:
* @instance: the zhuyin instance.
@@ -318,6 +319,7 @@ size_t zhuyin_parse_more_chewings(zhuyin_instance_t * instance,
*
*/
bool zhuyin_valid_zhuyin_keys(zhuyin_instance_t * instance);
+#endif
/**
* zhuyin_get_parsed_input_length:
@@ -426,18 +428,18 @@ bool zhuyin_train(zhuyin_instance_t * instance);
bool zhuyin_reset(zhuyin_instance_t * instance);
/**
- * zhuyin_get_bopomofo_string:
+ * zhuyin_get_zhuyin_string:
* @instance: the zhuyin instance.
* @key: the chewing key.
- * @utf8_str: the chewing string.
+ * @utf8_str: the zhuyin string.
* @returns: whether the get operation is successful.
*
- * Get the chewing string of the key.
+ * Get the zhuyin string of the key.
*
*/
-bool zhuyin_get_bopomofo_string(zhuyin_instance_t * instance,
- ChewingKey * key,
- gchar ** utf8_str);
+bool zhuyin_get_zhuyin_string(zhuyin_instance_t * instance,
+ ChewingKey * key,
+ gchar ** utf8_str);
/**
* zhuyin_get_pinyin_string:
@@ -663,6 +665,7 @@ bool zhuyin_get_zhuyin_key_rest_offset(zhuyin_instance_t * instance,
guint16 cursor,
guint16 * offset);
+#if 0
/**
* zhuyin_get_raw_user_input:
* @instance: the zhuyin instance.
@@ -674,6 +677,7 @@ bool zhuyin_get_zhuyin_key_rest_offset(zhuyin_instance_t * instance,
*/
bool zhuyin_get_raw_user_input(zhuyin_instance_t * instance,
const gchar ** utf8_str);
+#endif
/**
* zhuyin_get_n_phrase: