aboutsummaryrefslogtreecommitdiff
path: root/main/vapi/icu-uc.vapi
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2025-01-02 14:22:41 +0100
committerMarvin W <git@larma.de>2025-01-03 17:44:43 +0100
commit398c52e1b9a5c91cd99277463080819ebdedfe1d (patch)
treedc8aef72d3bdd27a75b14608af4f174a0548c670 /main/vapi/icu-uc.vapi
parentb490eb662fb8fb9ddbc8bbaea2b5608e7a511158 (diff)
downloaddino-398c52e1b9a5c91cd99277463080819ebdedfe1d.tar.gz
dino-398c52e1b9a5c91cd99277463080819ebdedfe1d.zip
Work around pango bug
See https://gitlab.gnome.org/GNOME/pango/-/issues/798 and https://gitlab.gnome.org/GNOME/pango/-/issues/832
Diffstat (limited to 'main/vapi/icu-uc.vapi')
-rw-r--r--main/vapi/icu-uc.vapi11
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);
+
}