add comments
authorPeng Wu <alexepico@gmail.com>
Tue, 4 Dec 2012 02:10:02 +0000 (10:10 +0800)
committerPeng Wu <alexepico@gmail.com>
Tue, 4 Dec 2012 02:10:02 +0000 (10:10 +0800)
src/pinyin.h

index fd4e43a17d0538eac14bd772842d8944bb2c2c96..03f391f62a4c8c34e8e2b6420ace8140f2167a7f 100644 (file)
@@ -513,11 +513,30 @@ bool pinyin_train(pinyin_instance_t * instance);
  */
 bool pinyin_reset(pinyin_instance_t * instance);
 
-
+/**
+ * pinyin_get_chewing_string:
+ * @instance: the pinyin instance.
+ * @key: the chewing key.
+ * @utf8_str: the chewing string.
+ * @returns: whether the get operation is successful.
+ *
+ * Get the chewing string of the key.
+ *
+ */
 bool pinyin_get_chewing_string(pinyin_instance_t * instance,
                                ChewingKey * key,
                                gchar ** utf8_str);
 
+/**
+ * pinyin_get_pinyin_string:
+ * @instance: the pinyin instance.
+ * @key: the pinyin key.
+ * @utf8_str: the pinyin string.
+ * @returns: whether the get operation is successful.
+ *
+ * Get the pinyin string of the key.
+ *
+ */
 bool pinyin_get_pinyin_string(pinyin_instance_t * instance,
                               ChewingKey * key,
                               gchar ** utf8_str);