summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_phrase3.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-02-25 10:54:04 +0800
committerPeng Wu <alexepico@gmail.com>2016-02-25 10:54:04 +0800
commit1366b0518ab211e7e48901851afa9373f4668c8f (patch)
treea5576199c9eb82ce2b8e52261f1e107edf1a9589 /src/storage/pinyin_phrase3.h
parentc91834aa9ad131f6d67e1f7442cca0029fc4d3cf (diff)
downloadlibpinyin-1366b0518ab211e7e48901851afa9373f4668c8f.tar.gz
libpinyin-1366b0518ab211e7e48901851afa9373f4668c8f.tar.xz
libpinyin-1366b0518ab211e7e48901851afa9373f4668c8f.zip
add comments
Diffstat (limited to 'src/storage/pinyin_phrase3.h')
-rw-r--r--src/storage/pinyin_phrase3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/storage/pinyin_phrase3.h b/src/storage/pinyin_phrase3.h
index fa7afdc..9e72c14 100644
--- a/src/storage/pinyin_phrase3.h
+++ b/src/storage/pinyin_phrase3.h
@@ -102,6 +102,7 @@ inline int pinyin_compare_tone3(ChewingTone lhs,
return (lhs - rhs);
}
+/* compare with incomplete pinyin and zero tone. */
inline int pinyin_compare_with_tones(const ChewingKey * key_lhs,
const ChewingKey * key_rhs,
int phrase_length){