diff options
Diffstat (limited to 'main/vapi')
-rw-r--r-- | main/vapi/icu-uc.vapi | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/main/vapi/icu-uc.vapi b/main/vapi/icu-uc.vapi index db1609ad..9eb3d274 100644 --- a/main/vapi/icu-uc.vapi +++ b/main/vapi/icu-uc.vapi @@ -1,14 +1,23 @@ namespace ICU { -[CCode (cprefix = "UCHAR_", cheader_filename = "unicode/uchar.h")] +[CCode (cname = "UProperty", cprefix = "UCHAR_", has_type_id = false, cheader_filename = "unicode/uchar.h")] public enum Property { EMOJI, EMOJI_PRESENTATION, EMOJI_MODIFIER, EMOJI_MODIFIER_BASE, + BIDI_CLASS, +} + +[CCode (cname = "UCharDirection", cprefix = "U_", has_type_id = false, cheader_filename = "unicode/uchar.h")] +public enum CharDirection { + DIR_NON_SPACING_MARK, } [CCode (cname = "u_hasBinaryProperty", cheader_filename = "unicode/uchar.h")] public bool has_binary_property(unichar c, Property p); +[CCode (cname = "u_getIntPropertyValue", cheader_filename = "unicode/uchar.h")] +public int32 get_int_property_value(unichar c, Property p); + } |