summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/PYPEmojiTable.h.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/PYPEmojiTable.h.in b/scripts/PYPEmojiTable.h.in
new file mode 100644
index 0000000..7c1226c
--- /dev/null
+++ b/scripts/PYPEmojiTable.h.in
@@ -0,0 +1,21 @@
+#ifndef __PY_LIB_PINYIN_EMOJI_TABLE_H
+#define __PY_LIB_PINYIN_EMOJI_TABLE_H
+
+namespace PY{
+
+typedef struct {
+ const char * m_emoji_match;
+ const char * m_emoji_string;
+} EmojiItem;
+
+const EmojiItem english_emoji_table[] = {
+@ENGLISH_EMOJIS@
+};
+
+const EmojiItem chinese_emoji_table[] = {
+@CHINESE_EMOJIS@
+};
+
+};
+
+#endif