summaryrefslogtreecommitdiffstats
path: root/src/PYTypes.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-08-06 09:34:42 +0800
committerPeng Wu <alexepico@gmail.com>2012-08-06 09:34:42 +0800
commit3300a9085afbb30ea8ee00642b0e6c6c6fa8a164 (patch)
tree35f9245956637685f6164ca67c9b9ce103c5bf72 /src/PYTypes.h
parentcae24c0a0508024dad2092552740a635a5ec8ac2 (diff)
downloadibus-libpinyin-3300a9085afbb30ea8ee00642b0e6c6c6fa8a164.tar.gz
ibus-libpinyin-3300a9085afbb30ea8ee00642b0e6c6c6fa8a164.tar.xz
ibus-libpinyin-3300a9085afbb30ea8ee00642b0e6c6c6fa8a164.zip
clean up PYTypes.h
Diffstat (limited to 'src/PYTypes.h')
-rw-r--r--src/PYTypes.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/PYTypes.h b/src/PYTypes.h
index 0a66b0b..39ce8c5 100644
--- a/src/PYTypes.h
+++ b/src/PYTypes.h
@@ -25,44 +25,6 @@
namespace PY {
-#define PINYIN_INCOMPLETE_PINYIN (1U << 0)
-
-#define PINYIN_CORRECT_GN_TO_NG (1U << 1)
-#define PINYIN_CORRECT_MG_TO_NG (1U << 2)
-#define PINYIN_CORRECT_IOU_TO_IU (1U << 3)
-#define PINYIN_CORRECT_UEI_TO_UI (1U << 4)
-#define PINYIN_CORRECT_UEN_TO_UN (1U << 5)
-#define PINYIN_CORRECT_UE_TO_VE (1U << 6)
-#define PINYIN_CORRECT_V_TO_U (1U << 7)
-#define PINYIN_CORRECT_ON_TO_ONG (1U << 8)
-#define PINYIN_CORRECT_ALL (0x000001fe)
-
-#define PINYIN_FUZZY_C_CH (1U << 9)
-#define PINYIN_FUZZY_CH_C (1U << 10)
-#define PINYIN_FUZZY_Z_ZH (1U << 11)
-#define PINYIN_FUZZY_ZH_Z (1U << 12)
-#define PINYIN_FUZZY_S_SH (1U << 13)
-#define PINYIN_FUZZY_SH_S (1U << 14)
-#define PINYIN_FUZZY_L_N (1U << 15)
-#define PINYIN_FUZZY_N_L (1U << 16)
-#define PINYIN_FUZZY_F_H (1U << 17)
-#define PINYIN_FUZZY_H_F (1U << 18)
-#define PINYIN_FUZZY_L_R (1U << 19)
-#define PINYIN_FUZZY_R_L (1U << 20)
-#define PINYIN_FUZZY_K_G (1U << 21)
-#define PINYIN_FUZZY_G_K (1U << 22)
-
-#define PINYIN_FUZZY_AN_ANG (1U << 23)
-#define PINYIN_FUZZY_ANG_AN (1U << 24)
-#define PINYIN_FUZZY_EN_ENG (1U << 25)
-#define PINYIN_FUZZY_ENG_EN (1U << 26)
-#define PINYIN_FUZZY_IN_ING (1U << 27)
-#define PINYIN_FUZZY_ING_IN (1U << 28)
-#define PINYIN_FUZZY_IAN_IANG PINYIN_FUZZY_AN_ANG
-#define PINYIN_FUZZY_IANG_IAN PINYIN_FUZZY_ANG_AN
-#define PINYIN_FUZZY_UAN_UANG PINYIN_FUZZY_AN_ANG
-#define PINYIN_FUZZY_UANG_UAN PINYIN_FUZZY_ANG_AN
-#define PINYIN_FUZZY_ALL (0x1ffffe00)
#define MAX_UTF8_LEN 6
#define MAX_PHRASE_LEN 16