Commit 9708a6da authored by ovalhub's avatar ovalhub
Browse files

added a few more missing enums

parent 0b1937e1
......@@ -1515,6 +1515,9 @@ void _init_char(PyObject *m)
INSTALL_ENUM(UIndicPositionalCategory, "TOP_AND_LEFT_AND_RIGHT", U_INPC_TOP_AND_LEFT_AND_RIGHT);
INSTALL_ENUM(UIndicPositionalCategory, "TOP_AND_RIGHT", U_INPC_TOP_AND_RIGHT);
INSTALL_ENUM(UIndicPositionalCategory, "VISUAL_ORDER_LEFT", U_INPC_VISUAL_ORDER_LEFT);
#if U_ICU_VERSION_HEX >= VERSION_HEX(66, 0, 0)
INSTALL_ENUM(UIndicPositionalCategory, "TOP_AND_BOTTOM_AND_LEFT", U_INPC_TOP_AND_BOTTOM_AND_LEFT);
#endif
INSTALL_ENUM(UIndicSyllabicCategory, "OTHER", U_INSC_OTHER);
INSTALL_ENUM(UIndicSyllabicCategory, "AVAGRAHA", U_INSC_AVAGRAHA);
......@@ -1557,7 +1560,7 @@ void _init_char(PyObject *m)
INSTALL_ENUM(UVerticalOrientation, "TRANSFORMED_ROTATED", U_VO_TRANSFORMED_ROTATED);
INSTALL_ENUM(UVerticalOrientation, "TRANSFORMED_UPRIGHT", U_VO_TRANSFORMED_UPRIGHT);
INSTALL_ENUM(UVerticalOrientation, "UPRIGHT", U_VO_UPRIGHT);
#endif
#endif // ICU >= 63
#if U_ICU_VERSION_HEX >= 0x04000000
INSTALL_ENUM(UWordBreakValues, "CR", U_WB_CR);
......
......@@ -572,6 +572,12 @@ void _init_script(PyObject *m)
INSTALL_ENUM(UScriptCode, "NYIAKENG_PUACHUE_HMONG", USCRIPT_NYIAKENG_PUACHUE_HMONG);
INSTALL_ENUM(UScriptCode, "WANCHO", USCRIPT_WANCHO);
#endif
#if U_ICU_VERSION_HEX >= VERSION_HEX(66, 0, 0)
INSTALL_ENUM(UScriptCode, "CHORASMIAN", USCRIPT_CHORASMIAN);
INSTALL_ENUM(UScriptCode, "DIVES_AKURU", USCRIPT_DIVES_AKURU);
INSTALL_ENUM(UScriptCode, "KHITAN_SMALL_SCRIPT", USCRIPT_KHITAN_SMALL_SCRIPT);
INSTALL_ENUM(UScriptCode, "YEZIDI", USCRIPT_YEZIDI);
#endif
#if U_ICU_VERSION_HEX >= VERSION_HEX(51, 0, 0)
INSTALL_ENUM(UScriptUsage, "NOT_ENCODED", USCRIPT_USAGE_NOT_ENCODED);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment