aboutsummaryrefslogtreecommitdiff
path: root/main/vapi
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2019-12-22 04:10:53 +0100
committerMarvin W <git@larma.de>2019-12-23 16:58:53 +0100
commita0a956ee0878d24bd06be7f5d75dc4ccd4e7901d (patch)
treecbb079649066c2001b6d6881137108e70eed9d3f /main/vapi
parent3218dc0211ac717230fe03fad82681a626d968b5 (diff)
downloaddino-a0a956ee0878d24bd06be7f5d75dc4ccd4e7901d.tar.gz
dino-a0a956ee0878d24bd06be7f5d75dc4ccd4e7901d.zip
Properly check Jids everywhere
Diffstat (limited to 'main/vapi')
-rw-r--r--main/vapi/icu-uc.vapi14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/vapi/icu-uc.vapi b/main/vapi/icu-uc.vapi
index 23732a15..db1609ad 100644
--- a/main/vapi/icu-uc.vapi
+++ b/main/vapi/icu-uc.vapi
@@ -1,12 +1,14 @@
-namespace Unicode {
- [CCode (cprefix = "UCHAR_", cheader_filename = "unicode/uchar.h")]
- public enum Property {
+namespace ICU {
+
+[CCode (cprefix = "UCHAR_", cheader_filename = "unicode/uchar.h")]
+public enum Property {
EMOJI,
EMOJI_PRESENTATION,
EMOJI_MODIFIER,
EMOJI_MODIFIER_BASE,
- }
+}
+
+[CCode (cname = "u_hasBinaryProperty", cheader_filename = "unicode/uchar.h")]
+public bool has_binary_property(unichar c, Property p);
- [CCode (cname = "u_hasBinaryProperty", cheader_filename = "unicode/uchar.h")]
- public bool has_binary_property(unichar c, Property p);
}