diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-01 20:27:38 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-02-01 20:27:38 -0500 |
commit | 5d9509c51b0ffe7b77c15c5f3a0bac1f8fa4de03 (patch) | |
tree | ba950f5c9414991cb85b976d0e1b3c9de20e875c /gtk/gtkcomposetable.h | |
parent | c9cac5fbc3f0d7eccef9bcd10157fbeccab23e86 (diff) | |
download | gtk+-5d9509c51b0ffe7b77c15c5f3a0bac1f8fa4de03.tar.gz |
imcontext: Move code around
Move all the checking code to gtkcomposetable.c, and
add api that we can use in tests.
Diffstat (limited to 'gtk/gtkcomposetable.h')
-rw-r--r-- | gtk/gtkcomposetable.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gtk/gtkcomposetable.h b/gtk/gtkcomposetable.h index 69d82652d1..2b31f3678f 100644 --- a/gtk/gtkcomposetable.h +++ b/gtk/gtkcomposetable.h @@ -51,12 +51,24 @@ GSList * gtk_compose_table_list_add_file (GSList *compose_tab const char *compose_file); gboolean gtk_compose_table_check (const GtkComposeTable *table, - guint16 *compose_buffer, + const guint16 *compose_buffer, int n_compose, gboolean *compose_finish, gboolean *compose_match, gunichar *output_value); +gboolean gtk_compose_table_compact_check (const GtkComposeTableCompact *table, + const guint16 *compose_buffer, + int n_compose, + gboolean *compose_finish, + gboolean *compose_match, + gunichar *output_char); + +gboolean gtk_check_algorithmically (const guint16 *compose_buffer, + int n_compose, + gunichar *output); + + G_END_DECLS #endif /* __GTK_COMPOSETABLE_H__ */ |