From 965f4da75ae5a5b308191bd61890b4277504f5b1 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Thu, 27 Dec 2018 12:35:48 +0100 Subject: Detect emoji-only messages and display them larger --- main/vapi/icu-uc.vapi | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 main/vapi/icu-uc.vapi (limited to 'main/vapi') 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); +} -- cgit v1.2.3-70-g09d2