aboutsummaryrefslogtreecommitdiff
path: root/main/vapi/icu-uc.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'main/vapi/icu-uc.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);
+}