summaryrefslogtreecommitdiff
path: root/gtk/compose/gtkcomposedata.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-08 17:59:50 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-13 22:03:23 -0400
commit54dffa07f309c90677ae57eea8feb41acc5be717 (patch)
treec4f24ec9e6e61cfe106c2e00d549ee1568be0fc3 /gtk/compose/gtkcomposedata.h
parent1cff4bb27ae2abe421a062c6ea8c1fda56151425 (diff)
downloadgtk+-54dffa07f309c90677ae57eea8feb41acc5be717.tar.gz
composetable: Drop GtkComposeTableCompact
All tables use the compact format now, and we generate caches in that format too. Bump the cache version to 3 for this. Replace the python script for generating the builtin table by a small C program using the same code to generate the data for the builtin table. This drops the restriction on only generating a single character in the builtin sequences.
Diffstat (limited to 'gtk/compose/gtkcomposedata.h')
-rw-r--r--gtk/compose/gtkcomposedata.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/compose/gtkcomposedata.h b/gtk/compose/gtkcomposedata.h
new file mode 100644
index 0000000000..057347a36b
--- /dev/null
+++ b/gtk/compose/gtkcomposedata.h
@@ -0,0 +1,9 @@
+#ifndef __GTK_COMPOSE_DATA__
+#define __GTK_COMPOSE_DATA__
+
+#define MAX_SEQ_LEN 5
+#define N_INDEX_SIZE 30
+#define DATA_SIZE 16521
+#define N_CHARS 1572
+
+#endif