aboutsummaryrefslogtreecommitdiff
path: root/main/vapi
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2018-12-27 12:35:48 +0100
committerfiaxh <git@lightrise.org>2018-12-27 13:01:35 +0100
commit965f4da75ae5a5b308191bd61890b4277504f5b1 (patch)
tree038763267d512b8f64681af80fdeec4e09de6f17 /main/vapi
parentd0d68f5878267320eb99ad544e9117553af11532 (diff)
downloaddino-965f4da75ae5a5b308191bd61890b4277504f5b1.tar.gz
dino-965f4da75ae5a5b308191bd61890b4277504f5b1.zip
Detect emoji-only messages and display them larger
Diffstat (limited to 'main/vapi')
-rw-r--r--main/vapi/icu-uc.vapi12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/vapi/icu-uc.vapi b/main/vapi/icu-uc.vapi
new file mode 100644
index 00000000..12cc0587
--- /dev/null
+++ b/main/vapi/icu-uc.vapi
@@ -0,0 +1,12 @@
+namespace Unicode {
+ [CCode (cprefix = "UCHAR_", cheader_filename = "unicode/uchar.h")]
+ enum Property {
+ EMOJI,
+ EMOJI_PRESENTATION,
+ EMOJI_MODIFIER,
+ EMOJI_MODIFIER_BASE,
+ }
+
+ [CCode (cname = "u_hasBinaryProperty", cheader_filename = "unicode/uchar.h")]
+ bool has_binary_property(unichar c, Property p);
+}