Debian Codegraph @

gtk/gtkcomposetable.h

raw symbols SCIP
1 /* GTK - The GIMP Toolkit
2 * Copyright (C) 2015 Takao Fujiwara <[email protected]>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #pragma once
19
20 #include <glib.h>
21
22
23 G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`!
24
25 typedef struct _GtkComposeTablecxx . . $ _GtkComposeTable# GtkComposeTablecxx . . $ GtkComposeTable#;
26 typedef struct _GtkComposeTableCompactcxx . . $ _GtkComposeTableCompact# GtkComposeTableCompactcxx . . $ GtkComposeTableCompact#;
27
28 /* The layout of the data is as follows:
29 *
30 * The first part of the data contains rows of length max_seq_len + 1,
31 * where the first element is the item of the sequence, and the
32 * following elements are offsets to the data for sequences that
33 * start with the first item of length 1, ..., max_seq_len.
34 *
35 * The second part of the data contains the rest of the sequence
36 * data. It does not have a fixed stride. For each sequence, we
37 * put seq[2], ..., seq[len - 1], followed by the encoded value
38 * for this sequence. In particular for a sequence of length 1,
39 * the offset points directly to the value.
40 *
41 * The values are encoded as follows:
42 *
43 * If the value is a single Unicode character smaller than 0x8000,
44 * then we place it directly. Otherwise, we put the UTF8-encoded
45 * value in the char_data array, and use offset | 0x8000 as the
46 * encoded value.
47 */
48 struct _GtkComposeTablecxx . . $ _GtkComposeTable#
49 {
50 guint16cxx . . $ guint16# *datacxx . . $ _GtkComposeTable#data.;
51 char *char_datacxx . . $ _GtkComposeTable#char_data.;
52 int max_seq_lencxx . . $ _GtkComposeTable#max_seq_len.;
53 int n_index_sizecxx . . $ _GtkComposeTable#n_index_size.;
54 int data_sizecxx . . $ _GtkComposeTable#data_size.;
55 int n_charscxx . . $ _GtkComposeTable#n_chars.;
56 int n_sequencescxx . . $ _GtkComposeTable#n_sequences.;
57 guint32cxx . . $ guint32# idcxx . . $ _GtkComposeTable#id.;
58 };
59
60 GtkComposeTablecxx . . $ GtkComposeTable# * gtk_compose_table_new_with_filecxx . . $ gtk_compose_table_new_with_file(3b03fbc6c7495b92). (const char *compose_file);
61 GtkComposeTablecxx . . $ GtkComposeTable# * gtk_compose_table_parsecxx . . $ gtk_compose_table_parse(88c6fc480683116a). (const char *compose_file,
62 gbooleancxx . . $ gboolean# *found_include);
63 GtkComposeTablecxx . . $ GtkComposeTable# * gtk_compose_table_new_with_datacxx . . $ gtk_compose_table_new_with_data(7eb4e89e50b4a7b2). (const guint16cxx . . $ guint16# *data,
64 int max_seq_len,
65 int n_seqs);
66
67 typedef void (* GtkComposeSequenceCallbackcxx . . $ GtkComposeSequenceCallback#) (gunicharcxx . . $ gunichar# *sequence,
68 int len,
69 const char *value,
70 gpointercxx . . $ gpointer# data);
71
72 void gtk_compose_table_foreachcxx . . $ gtk_compose_table_foreach(e11344d8551522e7). (const GtkComposeTablecxx . . $ GtkComposeTable# *table,
73 GtkComposeSequenceCallbackcxx . . $ GtkComposeSequenceCallback# callback,
74 gpointercxx . . $ gpointer# data);
75
76 gbooleancxx . . $ gboolean# gtk_compose_table_checkcxx . . $ gtk_compose_table_check(790e392cb142cc7b). (const GtkComposeTablecxx . . $ GtkComposeTable# *table,
77 const guintcxx . . $ guint# *compose_buffer,
78 int n_compose,
79 gbooleancxx . . $ gboolean# *compose_finish,
80 gbooleancxx . . $ gboolean# *compose_match,
81 GStringcxx . . $ GString# *output);
82
83 void gtk_compose_table_get_prefixcxx . . $ gtk_compose_table_get_prefix(3d835f7b5016fa22). (const GtkComposeTablecxx . . $ GtkComposeTable# *table,
84 const guintcxx . . $ guint# *compose_buffer,
85 int n_compose,
86 int *prefix);
87
88 gbooleancxx . . $ gboolean# gtk_check_algorithmicallycxx . . $ gtk_check_algorithmically(3c83a77365a5bd8a). (const guintcxx . . $ guint# *compose_buffer,
89 int n_compose,
90 GStringcxx . . $ GString# *output);
91
92 guint32cxx . . $ guint32# gtk_compose_table_data_hashcxx . . $ gtk_compose_table_data_hash(295464d85029c1ae). (const guint16cxx . . $ guint16# *data,
93 int max_seq_len,
94 int n_seqs);
95
96 char * gtk_compose_table_get_x11_compose_file_dircxx . . $ gtk_compose_table_get_x11_compose_file_dir(41208ce6ca65dd58). (void);
97
98 G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`!
99