Skip to content

Instantly share code, notes, and snippets.

@samcv
Created February 13, 2017 21:42
Show Gist options
  • Save samcv/80500585c276c5486b9e42e792ebf9a9 to your computer and use it in GitHub Desktop.
Save samcv/80500585c276c5486b9e42e792ebf9a9 to your computer and use it in GitHub Desktop.
/* Bidi_Class */
#define Uni_PVal_BIDI_CLASS_L 0
#define Uni_PVal_BIDI_CLASS_AL 1
#define Uni_PVal_BIDI_CLASS_AN 2
#define Uni_PVal_BIDI_CLASS_B 3
#define Uni_PVal_BIDI_CLASS_BN 4
#define Uni_PVal_BIDI_CLASS_CS 5
#define Uni_PVal_BIDI_CLASS_EN 6
#define Uni_PVal_BIDI_CLASS_ES 7
#define Uni_PVal_BIDI_CLASS_ET 8
#define Uni_PVal_BIDI_CLASS_FSI 9
#define Uni_PVal_BIDI_CLASS_LRE 10
#define Uni_PVal_BIDI_CLASS_LRI 11
#define Uni_PVal_BIDI_CLASS_LRO 12
#define Uni_PVal_BIDI_CLASS_NSM 13
#define Uni_PVal_BIDI_CLASS_ON 14
#define Uni_PVal_BIDI_CLASS_PDF 15
#define Uni_PVal_BIDI_CLASS_PDI 16
#define Uni_PVal_BIDI_CLASS_R 17
#define Uni_PVal_BIDI_CLASS_RLE 18
#define Uni_PVal_BIDI_CLASS_RLI 19
#define Uni_PVal_BIDI_CLASS_RLO 20
#define Uni_PVal_BIDI_CLASS_S 21
#define Uni_PVal_BIDI_CLASS_WS 22
/* Canonical_Combining_Class */
#define Uni_PVal_CANONICAL_COMBINING_CLASS_0 0
#define Uni_PVal_CANONICAL_COMBINING_CLASS_1 1
#define Uni_PVal_CANONICAL_COMBINING_CLASS_7 2
#define Uni_PVal_CANONICAL_COMBINING_CLASS_8 3
#define Uni_PVal_CANONICAL_COMBINING_CLASS_9 4
#define Uni_PVal_CANONICAL_COMBINING_CLASS_10 5
#define Uni_PVal_CANONICAL_COMBINING_CLASS_11 6
#define Uni_PVal_CANONICAL_COMBINING_CLASS_12 7
#define Uni_PVal_CANONICAL_COMBINING_CLASS_13 8
#define Uni_PVal_CANONICAL_COMBINING_CLASS_14 9
#define Uni_PVal_CANONICAL_COMBINING_CLASS_15 10
#define Uni_PVal_CANONICAL_COMBINING_CLASS_16 11
#define Uni_PVal_CANONICAL_COMBINING_CLASS_17 12
#define Uni_PVal_CANONICAL_COMBINING_CLASS_18 13
#define Uni_PVal_CANONICAL_COMBINING_CLASS_19 14
#define Uni_PVal_CANONICAL_COMBINING_CLASS_20 15
#define Uni_PVal_CANONICAL_COMBINING_CLASS_21 16
#define Uni_PVal_CANONICAL_COMBINING_CLASS_22 17
#define Uni_PVal_CANONICAL_COMBINING_CLASS_23 18
#define Uni_PVal_CANONICAL_COMBINING_CLASS_24 19
#define Uni_PVal_CANONICAL_COMBINING_CLASS_25 20
#define Uni_PVal_CANONICAL_COMBINING_CLASS_26 21
#define Uni_PVal_CANONICAL_COMBINING_CLASS_27 22
#define Uni_PVal_CANONICAL_COMBINING_CLASS_28 23
#define Uni_PVal_CANONICAL_COMBINING_CLASS_29 24
#define Uni_PVal_CANONICAL_COMBINING_CLASS_30 25
#define Uni_PVal_CANONICAL_COMBINING_CLASS_31 26
#define Uni_PVal_CANONICAL_COMBINING_CLASS_32 27
#define Uni_PVal_CANONICAL_COMBINING_CLASS_33 28
#define Uni_PVal_CANONICAL_COMBINING_CLASS_34 29
#define Uni_PVal_CANONICAL_COMBINING_CLASS_35 30
#define Uni_PVal_CANONICAL_COMBINING_CLASS_36 31
#define Uni_PVal_CANONICAL_COMBINING_CLASS_84 32
#define Uni_PVal_CANONICAL_COMBINING_CLASS_91 33
#define Uni_PVal_CANONICAL_COMBINING_CLASS_103 34
#define Uni_PVal_CANONICAL_COMBINING_CLASS_107 35
#define Uni_PVal_CANONICAL_COMBINING_CLASS_118 36
#define Uni_PVal_CANONICAL_COMBINING_CLASS_122 37
#define Uni_PVal_CANONICAL_COMBINING_CLASS_129 38
#define Uni_PVal_CANONICAL_COMBINING_CLASS_130 39
#define Uni_PVal_CANONICAL_COMBINING_CLASS_132 40
#define Uni_PVal_CANONICAL_COMBINING_CLASS_202 41
#define Uni_PVal_CANONICAL_COMBINING_CLASS_214 42
#define Uni_PVal_CANONICAL_COMBINING_CLASS_216 43
#define Uni_PVal_CANONICAL_COMBINING_CLASS_218 44
#define Uni_PVal_CANONICAL_COMBINING_CLASS_220 45
#define Uni_PVal_CANONICAL_COMBINING_CLASS_222 46
#define Uni_PVal_CANONICAL_COMBINING_CLASS_224 47
#define Uni_PVal_CANONICAL_COMBINING_CLASS_226 48
#define Uni_PVal_CANONICAL_COMBINING_CLASS_228 49
#define Uni_PVal_CANONICAL_COMBINING_CLASS_230 50
#define Uni_PVal_CANONICAL_COMBINING_CLASS_232 51
#define Uni_PVal_CANONICAL_COMBINING_CLASS_233 52
#define Uni_PVal_CANONICAL_COMBINING_CLASS_234 53
#define Uni_PVal_CANONICAL_COMBINING_CLASS_240 54
/* East_Asian_Width */
#define Uni_PVal_EAST_ASIAN_WIDTH_N 0
#define Uni_PVal_EAST_ASIAN_WIDTH_A 1
#define Uni_PVal_EAST_ASIAN_WIDTH_F 2
#define Uni_PVal_EAST_ASIAN_WIDTH_H 3
#define Uni_PVal_EAST_ASIAN_WIDTH_Na 4
#define Uni_PVal_EAST_ASIAN_WIDTH_W 5
/* General_Category_1 */
#define Uni_PVal_GENERAL_CATEGORY_1_ 0
#define Uni_PVal_GENERAL_CATEGORY_1_C 1
#define Uni_PVal_GENERAL_CATEGORY_1_L 2
#define Uni_PVal_GENERAL_CATEGORY_1_M 3
#define Uni_PVal_GENERAL_CATEGORY_1_N 4
#define Uni_PVal_GENERAL_CATEGORY_1_P 5
#define Uni_PVal_GENERAL_CATEGORY_1_S 6
#define Uni_PVal_GENERAL_CATEGORY_1_Z 7
/* General_Category_2 */
#define Uni_PVal_GENERAL_CATEGORY_2_ 0
#define Uni_PVal_GENERAL_CATEGORY_2_c 1
#define Uni_PVal_GENERAL_CATEGORY_2_d 2
#define Uni_PVal_GENERAL_CATEGORY_2_e 3
#define Uni_PVal_GENERAL_CATEGORY_2_f 4
#define Uni_PVal_GENERAL_CATEGORY_2_i 5
#define Uni_PVal_GENERAL_CATEGORY_2_k 6
#define Uni_PVal_GENERAL_CATEGORY_2_l 7
#define Uni_PVal_GENERAL_CATEGORY_2_m 8
#define Uni_PVal_GENERAL_CATEGORY_2_n 9
#define Uni_PVal_GENERAL_CATEGORY_2_o 10
#define Uni_PVal_GENERAL_CATEGORY_2_p 11
#define Uni_PVal_GENERAL_CATEGORY_2_s 12
#define Uni_PVal_GENERAL_CATEGORY_2_t 13
#define Uni_PVal_GENERAL_CATEGORY_2_u 14
/* Grapheme_Cluster_Break */
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_Other 0
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_Control 1
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_CR 2
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_E_Base 3
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_E_Base_GAZ 4
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_E_Modifier 5
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_Extend 6
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_Glue_After_Zwj 7
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_L 8
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_LF 9
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_LV 10
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_LVT 11
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_Prepend 12
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_Regional_Indicator 13
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_SpacingMark 14
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_T 15
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_V 16
#define Uni_PVal_GRAPHEME_CLUSTER_BREAK_ZWJ 17
/* Jamo_Short_Name */
#define Uni_PVal_JAMO_SHORT_NAME_ 0
#define Uni_PVal_JAMO_SHORT_NAME_A 1
#define Uni_PVal_JAMO_SHORT_NAME_AE 2
#define Uni_PVal_JAMO_SHORT_NAME_B 3
#define Uni_PVal_JAMO_SHORT_NAME_BB 4
#define Uni_PVal_JAMO_SHORT_NAME_BS 5
#define Uni_PVal_JAMO_SHORT_NAME_C 6
#define Uni_PVal_JAMO_SHORT_NAME_D 7
#define Uni_PVal_JAMO_SHORT_NAME_DD 8
#define Uni_PVal_JAMO_SHORT_NAME_E 9
#define Uni_PVal_JAMO_SHORT_NAME_EO 10
#define Uni_PVal_JAMO_SHORT_NAME_EU 11
#define Uni_PVal_JAMO_SHORT_NAME_G 12
#define Uni_PVal_JAMO_SHORT_NAME_GG 13
#define Uni_PVal_JAMO_SHORT_NAME_GS 14
#define Uni_PVal_JAMO_SHORT_NAME_H 15
#define Uni_PVal_JAMO_SHORT_NAME_I 16
#define Uni_PVal_JAMO_SHORT_NAME_J 17
#define Uni_PVal_JAMO_SHORT_NAME_JJ 18
#define Uni_PVal_JAMO_SHORT_NAME_K 19
#define Uni_PVal_JAMO_SHORT_NAME_L 20
#define Uni_PVal_JAMO_SHORT_NAME_LB 21
#define Uni_PVal_JAMO_SHORT_NAME_LG 22
#define Uni_PVal_JAMO_SHORT_NAME_LH 23
#define Uni_PVal_JAMO_SHORT_NAME_LM 24
#define Uni_PVal_JAMO_SHORT_NAME_LP 25
#define Uni_PVal_JAMO_SHORT_NAME_LS 26
#define Uni_PVal_JAMO_SHORT_NAME_LT 27
#define Uni_PVal_JAMO_SHORT_NAME_M 28
#define Uni_PVal_JAMO_SHORT_NAME_N 29
#define Uni_PVal_JAMO_SHORT_NAME_NG 30
#define Uni_PVal_JAMO_SHORT_NAME_NH 31
#define Uni_PVal_JAMO_SHORT_NAME_NJ 32
#define Uni_PVal_JAMO_SHORT_NAME_O 33
#define Uni_PVal_JAMO_SHORT_NAME_OE 34
#define Uni_PVal_JAMO_SHORT_NAME_P 35
#define Uni_PVal_JAMO_SHORT_NAME_R 36
#define Uni_PVal_JAMO_SHORT_NAME_S 37
#define Uni_PVal_JAMO_SHORT_NAME_SS 38
#define Uni_PVal_JAMO_SHORT_NAME_T 39
#define Uni_PVal_JAMO_SHORT_NAME_U 40
#define Uni_PVal_JAMO_SHORT_NAME_WA 41
#define Uni_PVal_JAMO_SHORT_NAME_WAE 42
#define Uni_PVal_JAMO_SHORT_NAME_WE 43
#define Uni_PVal_JAMO_SHORT_NAME_WEO 44
#define Uni_PVal_JAMO_SHORT_NAME_WI 45
#define Uni_PVal_JAMO_SHORT_NAME_YA 46
#define Uni_PVal_JAMO_SHORT_NAME_YAE 47
#define Uni_PVal_JAMO_SHORT_NAME_YE 48
#define Uni_PVal_JAMO_SHORT_NAME_YEO 49
#define Uni_PVal_JAMO_SHORT_NAME_YI 50
#define Uni_PVal_JAMO_SHORT_NAME_YO 51
#define Uni_PVal_JAMO_SHORT_NAME_YU 52
/* Joining_Group */
#define Uni_PVal_JOINING_GROUP_No_Joining_Group 0
#define Uni_PVal_JOINING_GROUP_African_Feh 1
#define Uni_PVal_JOINING_GROUP_African_Noon 2
#define Uni_PVal_JOINING_GROUP_African_Qaf 3
#define Uni_PVal_JOINING_GROUP_Ain 4
#define Uni_PVal_JOINING_GROUP_Alaph 5
#define Uni_PVal_JOINING_GROUP_Alef 6
#define Uni_PVal_JOINING_GROUP_Beh 7
#define Uni_PVal_JOINING_GROUP_Beth 8
#define Uni_PVal_JOINING_GROUP_Burushaski_Yeh_Barree 9
#define Uni_PVal_JOINING_GROUP_Dal 10
#define Uni_PVal_JOINING_GROUP_Dalath_Rish 11
#define Uni_PVal_JOINING_GROUP_E 12
#define Uni_PVal_JOINING_GROUP_Farsi_Yeh 13
#define Uni_PVal_JOINING_GROUP_Fe 14
#define Uni_PVal_JOINING_GROUP_Feh 15
#define Uni_PVal_JOINING_GROUP_Final_Semkath 16
#define Uni_PVal_JOINING_GROUP_Gaf 17
#define Uni_PVal_JOINING_GROUP_Gamal 18
#define Uni_PVal_JOINING_GROUP_Hah 19
#define Uni_PVal_JOINING_GROUP_He 20
#define Uni_PVal_JOINING_GROUP_Heh 21
#define Uni_PVal_JOINING_GROUP_Heh_Goal 22
#define Uni_PVal_JOINING_GROUP_Heth 23
#define Uni_PVal_JOINING_GROUP_Kaf 24
#define Uni_PVal_JOINING_GROUP_Kaph 25
#define Uni_PVal_JOINING_GROUP_Khaph 26
#define Uni_PVal_JOINING_GROUP_Knotted_Heh 27
#define Uni_PVal_JOINING_GROUP_Lam 28
#define Uni_PVal_JOINING_GROUP_Lamadh 29
#define Uni_PVal_JOINING_GROUP_Manichaean_Aleph 30
#define Uni_PVal_JOINING_GROUP_Manichaean_Ayin 31
#define Uni_PVal_JOINING_GROUP_Manichaean_Beth 32
#define Uni_PVal_JOINING_GROUP_Manichaean_Daleth 33
#define Uni_PVal_JOINING_GROUP_Manichaean_Dhamedh 34
#define Uni_PVal_JOINING_GROUP_Manichaean_Five 35
#define Uni_PVal_JOINING_GROUP_Manichaean_Gimel 36
#define Uni_PVal_JOINING_GROUP_Manichaean_Heth 37
#define Uni_PVal_JOINING_GROUP_Manichaean_Hundred 38
#define Uni_PVal_JOINING_GROUP_Manichaean_Kaph 39
#define Uni_PVal_JOINING_GROUP_Manichaean_Lamedh 40
#define Uni_PVal_JOINING_GROUP_Manichaean_Mem 41
#define Uni_PVal_JOINING_GROUP_Manichaean_Nun 42
#define Uni_PVal_JOINING_GROUP_Manichaean_One 43
#define Uni_PVal_JOINING_GROUP_Manichaean_Pe 44
#define Uni_PVal_JOINING_GROUP_Manichaean_Qoph 45
#define Uni_PVal_JOINING_GROUP_Manichaean_Resh 46
#define Uni_PVal_JOINING_GROUP_Manichaean_Sadhe 47
#define Uni_PVal_JOINING_GROUP_Manichaean_Samekh 48
#define Uni_PVal_JOINING_GROUP_Manichaean_Taw 49
#define Uni_PVal_JOINING_GROUP_Manichaean_Ten 50
#define Uni_PVal_JOINING_GROUP_Manichaean_Teth 51
#define Uni_PVal_JOINING_GROUP_Manichaean_Thamedh 52
#define Uni_PVal_JOINING_GROUP_Manichaean_Twenty 53
#define Uni_PVal_JOINING_GROUP_Manichaean_Waw 54
#define Uni_PVal_JOINING_GROUP_Manichaean_Yodh 55
#define Uni_PVal_JOINING_GROUP_Manichaean_Zayin 56
#define Uni_PVal_JOINING_GROUP_Meem 57
#define Uni_PVal_JOINING_GROUP_Mim 58
#define Uni_PVal_JOINING_GROUP_Noon 59
#define Uni_PVal_JOINING_GROUP_Nun 60
#define Uni_PVal_JOINING_GROUP_Nya 61
#define Uni_PVal_JOINING_GROUP_Pe 62
#define Uni_PVal_JOINING_GROUP_Qaf 63
#define Uni_PVal_JOINING_GROUP_Qaph 64
#define Uni_PVal_JOINING_GROUP_Reh 65
#define Uni_PVal_JOINING_GROUP_Reversed_Pe 66
#define Uni_PVal_JOINING_GROUP_Rohingya_Yeh 67
#define Uni_PVal_JOINING_GROUP_Sad 68
#define Uni_PVal_JOINING_GROUP_Sadhe 69
#define Uni_PVal_JOINING_GROUP_Seen 70
#define Uni_PVal_JOINING_GROUP_Semkath 71
#define Uni_PVal_JOINING_GROUP_Shin 72
#define Uni_PVal_JOINING_GROUP_Straight_Waw 73
#define Uni_PVal_JOINING_GROUP_Swash_Kaf 74
#define Uni_PVal_JOINING_GROUP_Syriac_Waw 75
#define Uni_PVal_JOINING_GROUP_Tah 76
#define Uni_PVal_JOINING_GROUP_Taw 77
#define Uni_PVal_JOINING_GROUP_Teh_Marbuta 78
#define Uni_PVal_JOINING_GROUP_Teh_Marbuta_Goal 79
#define Uni_PVal_JOINING_GROUP_Teth 80
#define Uni_PVal_JOINING_GROUP_Waw 81
#define Uni_PVal_JOINING_GROUP_Yeh 82
#define Uni_PVal_JOINING_GROUP_Yeh_Barree 83
#define Uni_PVal_JOINING_GROUP_Yeh_With_Tail 84
#define Uni_PVal_JOINING_GROUP_Yudh 85
#define Uni_PVal_JOINING_GROUP_Yudh_He 86
#define Uni_PVal_JOINING_GROUP_Zain 87
#define Uni_PVal_JOINING_GROUP_Zhain 88
/* Joining_Type */
#define Uni_PVal_JOINING_TYPE_Non_Joining 0
#define Uni_PVal_JOINING_TYPE_C 1
#define Uni_PVal_JOINING_TYPE_D 2
#define Uni_PVal_JOINING_TYPE_L 3
#define Uni_PVal_JOINING_TYPE_R 4
#define Uni_PVal_JOINING_TYPE_T 5
/* Line_Break */
#define Uni_PVal_LINE_BREAK_XX 0
#define Uni_PVal_LINE_BREAK_AI 1
#define Uni_PVal_LINE_BREAK_AL 2
#define Uni_PVal_LINE_BREAK_B2 3
#define Uni_PVal_LINE_BREAK_BA 4
#define Uni_PVal_LINE_BREAK_BB 5
#define Uni_PVal_LINE_BREAK_BK 6
#define Uni_PVal_LINE_BREAK_CB 7
#define Uni_PVal_LINE_BREAK_CJ 8
#define Uni_PVal_LINE_BREAK_CL 9
#define Uni_PVal_LINE_BREAK_CM 10
#define Uni_PVal_LINE_BREAK_CP 11
#define Uni_PVal_LINE_BREAK_CR 12
#define Uni_PVal_LINE_BREAK_EB 13
#define Uni_PVal_LINE_BREAK_EM 14
#define Uni_PVal_LINE_BREAK_EX 15
#define Uni_PVal_LINE_BREAK_GL 16
#define Uni_PVal_LINE_BREAK_H2 17
#define Uni_PVal_LINE_BREAK_H3 18
#define Uni_PVal_LINE_BREAK_HL 19
#define Uni_PVal_LINE_BREAK_HY 20
#define Uni_PVal_LINE_BREAK_ID 21
#define Uni_PVal_LINE_BREAK_IN 22
#define Uni_PVal_LINE_BREAK_IS 23
#define Uni_PVal_LINE_BREAK_JL 24
#define Uni_PVal_LINE_BREAK_JT 25
#define Uni_PVal_LINE_BREAK_JV 26
#define Uni_PVal_LINE_BREAK_LF 27
#define Uni_PVal_LINE_BREAK_NL 28
#define Uni_PVal_LINE_BREAK_NS 29
#define Uni_PVal_LINE_BREAK_NU 30
#define Uni_PVal_LINE_BREAK_OP 31
#define Uni_PVal_LINE_BREAK_PO 32
#define Uni_PVal_LINE_BREAK_PR 33
#define Uni_PVal_LINE_BREAK_QU 34
#define Uni_PVal_LINE_BREAK_RI 35
#define Uni_PVal_LINE_BREAK_SA 36
#define Uni_PVal_LINE_BREAK_SG 37
#define Uni_PVal_LINE_BREAK_SP 38
#define Uni_PVal_LINE_BREAK_SY 39
#define Uni_PVal_LINE_BREAK_WJ 40
#define Uni_PVal_LINE_BREAK_ZW 41
#define Uni_PVal_LINE_BREAK_ZWJ 42
/* Numeric_Type */
#define Uni_PVal_NUMERIC_TYPE_None 0
#define Uni_PVal_NUMERIC_TYPE_Decimal 1
#define Uni_PVal_NUMERIC_TYPE_Digit 2
#define Uni_PVal_NUMERIC_TYPE_Numeric 3
/* Numeric_Value_Denominator */
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_1 0
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_2 1
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_3 2
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_4 3
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_5 4
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_6 5
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_7 6
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_8 7
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_9 8
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_10 9
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_12 10
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_16 11
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_20 12
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_40 13
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_80 14
#define Uni_PVal_NUMERIC_VALUE_DENOMINATOR_160 15
/* Numeric_Value_Numerator */
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_negative_1 0
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_0 1
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_1 2
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_2 3
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_3 4
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_4 5
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_5 6
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_6 7
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_7 8
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_8 9
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_9 10
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_10 11
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_11 12
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_12 13
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_13 14
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_14 15
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_15 16
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_16 17
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_17 18
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_18 19
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_19 20
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_20 21
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_21 22
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_22 23
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_23 24
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_24 25
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_25 26
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_26 27
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_27 28
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_28 29
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_29 30
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_30 31
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_31 32
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_32 33
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_33 34
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_34 35
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_35 36
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_36 37
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_37 38
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_38 39
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_39 40
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_40 41
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_41 42
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_42 43
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_43 44
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_44 45
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_45 46
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_46 47
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_47 48
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_48 49
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_49 50
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_50 51
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_60 52
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_70 53
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_80 54
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_90 55
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_100 56
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_200 57
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_300 58
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_400 59
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_500 60
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_600 61
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_700 62
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_800 63
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_900 64
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_1000 65
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_2000 66
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_3000 67
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_4000 68
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_5000 69
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_6000 70
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_7000 71
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_8000 72
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_9000 73
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_10000 74
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_20000 75
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_30000 76
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_40000 77
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_50000 78
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_60000 79
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_70000 80
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_80000 81
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_90000 82
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_100000 83
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_200000 84
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_216000 85
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_300000 86
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_400000 87
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_432000 88
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_500000 89
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_600000 90
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_700000 91
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_800000 92
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_900000 93
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_1000000 94
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_100000000 95
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_10000000000 96
#define Uni_PVal_NUMERIC_VALUE_NUMERATOR_1000000000000 97
/* Word_Break */
#define Uni_PVal_WORD_BREAK_Other 0
#define Uni_PVal_WORD_BREAK_ALetter 1
#define Uni_PVal_WORD_BREAK_CR 2
#define Uni_PVal_WORD_BREAK_Double_Quote 3
#define Uni_PVal_WORD_BREAK_E_Base 4
#define Uni_PVal_WORD_BREAK_E_Base_GAZ 5
#define Uni_PVal_WORD_BREAK_E_Modifier 6
#define Uni_PVal_WORD_BREAK_Extend 7
#define Uni_PVal_WORD_BREAK_ExtendNumLet 8
#define Uni_PVal_WORD_BREAK_Format 9
#define Uni_PVal_WORD_BREAK_Glue_After_Zwj 10
#define Uni_PVal_WORD_BREAK_Hebrew_Letter 11
#define Uni_PVal_WORD_BREAK_Katakana 12
#define Uni_PVal_WORD_BREAK_LF 13
#define Uni_PVal_WORD_BREAK_MidLetter 14
#define Uni_PVal_WORD_BREAK_MidNum 15
#define Uni_PVal_WORD_BREAK_MidNumLet 16
#define Uni_PVal_WORD_BREAK_Newline 17
#define Uni_PVal_WORD_BREAK_Numeric 18
#define Uni_PVal_WORD_BREAK_Regional_Indicator 19
#define Uni_PVal_WORD_BREAK_Single_Quote 20
#define Uni_PVal_WORD_BREAK_ZWJ 21
struct binary_prop_bitfield {
unsigned int Numeric_Value_Numerator :7;
unsigned int XID_Start :1;
unsigned int Joining_Group :7;
unsigned int XID_Continue :1;
unsigned int Line_Break :6;
unsigned int Numeric_Type :2;
unsigned int Word_Break :5;
unsigned int Joining_Type :3;
unsigned int Grapheme_Cluster_Break :5;
unsigned int General_Category_1 :3;
unsigned int Bidi_Class :5;
unsigned int East_Asian_Width :3;
unsigned int Numeric_Value_Denominator :4;
unsigned int General_Category_2 :4;
unsigned int Jamo_Short_Name :6;
unsigned int White_Space :1;
unsigned int Variation_Selector :1;
unsigned int Canonical_Combining_Class :6;
unsigned int Uppercase :1;
unsigned int Unified_Ideograph :1;
unsigned int Terminal_Punctuation :1;
unsigned int Soft_Dotted :1;
unsigned int Sentence_Terminal :1;
unsigned int Radical :1;
unsigned int Quotation_Mark :1;
unsigned int Prepended_Concatenation_Mark :1;
unsigned int Pattern_White_Space :1;
unsigned int Pattern_Syntax :1;
unsigned int Other_Uppercase :1;
unsigned int Other_Math :1;
unsigned int Other_Lowercase :1;
unsigned int Other_ID_Start :1;
unsigned int Other_ID_Continue :1;
unsigned int Other_Grapheme_Extend :1;
unsigned int Other_Default_Ignorable_Code_Point :1;
unsigned int Other_Alphabetic :1;
unsigned int Noncharacter_Code_Point :1;
unsigned int NFKD_QC :1;
unsigned int NFKC_QC :1;
unsigned int NFKC_CF :1;
unsigned int NFD_QC :1;
unsigned int NFC_QC :1;
unsigned int Math :1;
unsigned int Lowercase :1;
unsigned int Logical_Order_Exception :1;
unsigned int Join_Control :1;
unsigned int IDS_Trinary_Operator :1;
unsigned int IDS_Binary_Operator :1;
unsigned int ID_Start :1;
unsigned int ID_Continue :1;
unsigned int Ideographic :1;
unsigned int Hyphen :1;
unsigned int Hex_Digit :1;
unsigned int Grapheme_Link :1;
unsigned int Grapheme_Extend :1;
unsigned int Grapheme_Base :1;
unsigned int Full_Composition_Exclusion :1;
unsigned int FC_NFKC :1;
unsigned int Extender :1;
unsigned int Expands_On_NFKD :1;
unsigned int Expands_On_NFKC :1;
unsigned int Expands_On_NFD :1;
unsigned int Expands_On_NFC :1;
unsigned int Emoji_Presentation :1;
unsigned int Emoji_Modifier_Base :1;
unsigned int Emoji_Modifier :1;
unsigned int Emoji :1;
unsigned int Diacritic :1;
unsigned int Deprecated :1;
unsigned int Default_Ignorable_Code_Point :1;
unsigned int Dash :1;
unsigned int Changes_When_Uppercased :1;
unsigned int Changes_When_Titlecased :1;
unsigned int Changes_When_NFKC_Casefolded :1;
unsigned int Changes_When_Lowercased :1;
unsigned int Changes_When_Casemapped :1;
unsigned int Changes_When_Casefolded :1;
unsigned int Cased :1;
unsigned int Case_Ignorable :1;
unsigned int Bidi_Mirrored :1;
unsigned int Bidi_Control :1;
unsigned int ASCII_Hex_Digit :1;
unsigned int Any :1;
unsigned int Alphabetic :1;
};
typedef struct binary_prop_bitfield binary_prop_bitfield;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment