glib2 3.5.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/glib2/extconf.rb +4 -3
- data/ext/glib2/glib2.def +4 -0
- data/ext/glib2/rbglib-bytes.c +1 -1
- data/ext/glib2/rbglib-gc.c +1 -1
- data/ext/glib2/rbglib-variant-type.c +1 -1
- data/ext/glib2/rbglib-variant.c +75 -2
- data/ext/glib2/rbglib.c +25 -59
- data/ext/glib2/rbglib.h +16 -3
- data/ext/glib2/rbglib_bookmarkfile.c +3 -2
- data/ext/glib2/rbglib_convert.c +2 -2
- data/ext/glib2/rbglib_datetime.c +14 -3
- data/ext/glib2/rbglib_error.c +2 -2
- data/ext/glib2/rbglib_fileutils.c +2 -2
- data/ext/glib2/rbglib_gettext.c +1 -1
- data/ext/glib2/rbglib_i18n.c +2 -2
- data/ext/glib2/rbglib_io_constants.c +1 -1
- data/ext/glib2/rbglib_iochannel.c +2 -2
- data/ext/glib2/rbglib_iochannel_win32_socket.c +2 -2
- data/ext/glib2/rbglib_iochannelerror.c +1 -1
- data/ext/glib2/rbglib_keyfile.c +2 -2
- data/ext/glib2/rbglib_maincontext.c +6 -6
- data/ext/glib2/rbglib_mainloop.c +1 -1
- data/ext/glib2/rbglib_matchinfo.c +1 -1
- data/ext/glib2/rbglib_messages.c +1 -1
- data/ext/glib2/rbglib_pollfd.c +1 -1
- data/ext/glib2/rbglib_regex.c +3 -3
- data/ext/glib2/rbglib_shell.c +1 -1
- data/ext/glib2/rbglib_shellerror.c +1 -1
- data/ext/glib2/rbglib_source.c +1 -1
- data/ext/glib2/rbglib_spawn.c +1 -1
- data/ext/glib2/rbglib_spawnerror.c +1 -1
- data/ext/glib2/rbglib_threads.c +1 -1
- data/ext/glib2/rbglib_timer.c +1 -1
- data/ext/glib2/rbglib_timezone.c +1 -1
- data/ext/glib2/rbglib_ucs4.c +1 -1
- data/ext/glib2/rbglib_unichar.c +1 -1
- data/ext/glib2/rbglib_unicode.c +3 -3
- data/ext/glib2/rbglib_utf16.c +1 -1
- data/ext/glib2/rbglib_utf8.c +1 -1
- data/ext/glib2/rbglib_utils.c +1 -1
- data/ext/glib2/rbglib_win32.c +3 -3
- data/ext/glib2/rbgobj_binding.c +1 -1
- data/ext/glib2/rbgobj_boxed.c +1 -1
- data/ext/glib2/rbgobj_closure.c +54 -84
- data/ext/glib2/rbgobj_enums.c +1 -1
- data/ext/glib2/rbgobj_flags.c +1 -1
- data/ext/glib2/rbgobj_object.c +32 -5
- data/ext/glib2/rbgobj_param.c +1 -1
- data/ext/glib2/rbgobj_signal.c +36 -18
- data/ext/glib2/rbgobj_type.c +2 -2
- data/ext/glib2/rbgobj_typeinstance.c +1 -1
- data/ext/glib2/rbgobj_typeinterface.c +4 -4
- data/ext/glib2/rbgobj_typemodule.c +1 -1
- data/ext/glib2/rbgobj_typeplugin.c +1 -1
- data/ext/glib2/rbgobj_value.c +1 -1
- data/ext/glib2/rbgobj_valuetypes.c +14 -4
- data/ext/glib2/rbgobject.c +7 -21
- data/ext/glib2/rbgobject.h +1 -0
- data/ext/glib2/rbgprivate.h +7 -4
- data/ext/glib2/rbgutil.c +20 -1
- data/ext/glib2/rbgutil.h +3 -0
- data/ext/glib2/rbgutil_callback.c +7 -7
- data/lib/glib2/date-time.rb +35 -0
- data/lib/glib2/variant.rb +25 -0
- data/lib/glib2.rb +6 -1
- data/lib/mkmf-gnome.rb +2 -2
- data/test/test-date-time.rb +14 -2
- data/test/test-glib2.rb +21 -9
- data/test/test-variant.rb +44 -1
- metadata +7 -7
- data/ext/glib2/glib-enum-types.c +0 -1233
- data/ext/glib2/glib-enum-types.h +0 -154
data/ext/glib2/glib-enum-types.c
DELETED
@@ -1,1233 +0,0 @@
|
|
1
|
-
|
2
|
-
/* Generated by glib-mkenums.rb ($Id$) */
|
3
|
-
|
4
|
-
#include "glib-enum-types.h"
|
5
|
-
#include <glib-object.h>
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gvariant.h" */
|
10
|
-
GType
|
11
|
-
g_variant_class_get_type (void)
|
12
|
-
{
|
13
|
-
static GType etype = 0;
|
14
|
-
if (etype == 0) {
|
15
|
-
static const GEnumValue values[] = {
|
16
|
-
{ G_VARIANT_CLASS_BOOLEAN, "G_VARIANT_CLASS_BOOLEAN", "boolean" },
|
17
|
-
{ G_VARIANT_CLASS_BYTE, "G_VARIANT_CLASS_BYTE", "byte" },
|
18
|
-
{ G_VARIANT_CLASS_INT16, "G_VARIANT_CLASS_INT16", "int16" },
|
19
|
-
{ G_VARIANT_CLASS_UINT16, "G_VARIANT_CLASS_UINT16", "uint16" },
|
20
|
-
{ G_VARIANT_CLASS_INT32, "G_VARIANT_CLASS_INT32", "int32" },
|
21
|
-
{ G_VARIANT_CLASS_UINT32, "G_VARIANT_CLASS_UINT32", "uint32" },
|
22
|
-
{ G_VARIANT_CLASS_INT64, "G_VARIANT_CLASS_INT64", "int64" },
|
23
|
-
{ G_VARIANT_CLASS_UINT64, "G_VARIANT_CLASS_UINT64", "uint64" },
|
24
|
-
{ G_VARIANT_CLASS_HANDLE, "G_VARIANT_CLASS_HANDLE", "handle" },
|
25
|
-
{ G_VARIANT_CLASS_DOUBLE, "G_VARIANT_CLASS_DOUBLE", "double" },
|
26
|
-
{ G_VARIANT_CLASS_STRING, "G_VARIANT_CLASS_STRING", "string" },
|
27
|
-
{ G_VARIANT_CLASS_OBJECT_PATH, "G_VARIANT_CLASS_OBJECT_PATH", "object-path" },
|
28
|
-
{ G_VARIANT_CLASS_SIGNATURE, "G_VARIANT_CLASS_SIGNATURE", "signature" },
|
29
|
-
{ G_VARIANT_CLASS_VARIANT, "G_VARIANT_CLASS_VARIANT", "variant" },
|
30
|
-
{ G_VARIANT_CLASS_MAYBE, "G_VARIANT_CLASS_MAYBE", "maybe" },
|
31
|
-
{ G_VARIANT_CLASS_ARRAY, "G_VARIANT_CLASS_ARRAY", "array" },
|
32
|
-
{ G_VARIANT_CLASS_TUPLE, "G_VARIANT_CLASS_TUPLE", "tuple" },
|
33
|
-
{ G_VARIANT_CLASS_DICT_ENTRY, "G_VARIANT_CLASS_DICT_ENTRY", "dict-entry" },
|
34
|
-
{ 0, NULL, NULL }
|
35
|
-
};
|
36
|
-
etype = g_enum_register_static ("GVariantClass", values);
|
37
|
-
}
|
38
|
-
return etype;
|
39
|
-
}
|
40
|
-
|
41
|
-
GType
|
42
|
-
g_variant_parse_error_get_type (void)
|
43
|
-
{
|
44
|
-
static GType etype = 0;
|
45
|
-
if (etype == 0) {
|
46
|
-
static const GEnumValue values[] = {
|
47
|
-
{ G_VARIANT_PARSE_ERROR_FAILED, "G_VARIANT_PARSE_ERROR_FAILED", "failed" },
|
48
|
-
{ G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED, "G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED", "basic-type-expected" },
|
49
|
-
{ G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE, "G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE", "cannot-infer-type" },
|
50
|
-
{ G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED, "G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED", "definite-type-expected" },
|
51
|
-
{ G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END, "G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END", "input-not-at-end" },
|
52
|
-
{ G_VARIANT_PARSE_ERROR_INVALID_CHARACTER, "G_VARIANT_PARSE_ERROR_INVALID_CHARACTER", "invalid-character" },
|
53
|
-
{ G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING, "G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING", "invalid-format-string" },
|
54
|
-
{ G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH, "G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH", "invalid-object-path" },
|
55
|
-
{ G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE, "G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE", "invalid-signature" },
|
56
|
-
{ G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING, "G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING", "invalid-type-string" },
|
57
|
-
{ G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE, "G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE", "no-common-type" },
|
58
|
-
{ G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE, "G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE", "number-out-of-range" },
|
59
|
-
{ G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG, "G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG", "number-too-big" },
|
60
|
-
{ G_VARIANT_PARSE_ERROR_TYPE_ERROR, "G_VARIANT_PARSE_ERROR_TYPE_ERROR", "type-error" },
|
61
|
-
{ G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN, "G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN", "unexpected-token" },
|
62
|
-
{ G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD, "G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD", "unknown-keyword" },
|
63
|
-
{ G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT, "G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT", "unterminated-string-constant" },
|
64
|
-
{ G_VARIANT_PARSE_ERROR_VALUE_EXPECTED, "G_VARIANT_PARSE_ERROR_VALUE_EXPECTED", "value-expected" },
|
65
|
-
{ 0, NULL, NULL }
|
66
|
-
};
|
67
|
-
etype = g_enum_register_static ("GVariantParseError", values);
|
68
|
-
}
|
69
|
-
return etype;
|
70
|
-
}
|
71
|
-
|
72
|
-
|
73
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gspawn.h" */
|
74
|
-
GType
|
75
|
-
g_spawn_error_get_type (void)
|
76
|
-
{
|
77
|
-
static GType etype = 0;
|
78
|
-
if (etype == 0) {
|
79
|
-
static const GEnumValue values[] = {
|
80
|
-
{ G_SPAWN_ERROR_FORK, "G_SPAWN_ERROR_FORK", "fork" },
|
81
|
-
{ G_SPAWN_ERROR_READ, "G_SPAWN_ERROR_READ", "read" },
|
82
|
-
{ G_SPAWN_ERROR_CHDIR, "G_SPAWN_ERROR_CHDIR", "chdir" },
|
83
|
-
{ G_SPAWN_ERROR_ACCES, "G_SPAWN_ERROR_ACCES", "acces" },
|
84
|
-
{ G_SPAWN_ERROR_PERM, "G_SPAWN_ERROR_PERM", "perm" },
|
85
|
-
{ G_SPAWN_ERROR_TOO_BIG, "G_SPAWN_ERROR_TOO_BIG", "too-big" },
|
86
|
-
{ G_SPAWN_ERROR_2BIG, "G_SPAWN_ERROR_2BIG", "2big" },
|
87
|
-
{ G_SPAWN_ERROR_NOEXEC, "G_SPAWN_ERROR_NOEXEC", "noexec" },
|
88
|
-
{ G_SPAWN_ERROR_NAMETOOLONG, "G_SPAWN_ERROR_NAMETOOLONG", "nametoolong" },
|
89
|
-
{ G_SPAWN_ERROR_NOENT, "G_SPAWN_ERROR_NOENT", "noent" },
|
90
|
-
{ G_SPAWN_ERROR_NOMEM, "G_SPAWN_ERROR_NOMEM", "nomem" },
|
91
|
-
{ G_SPAWN_ERROR_NOTDIR, "G_SPAWN_ERROR_NOTDIR", "notdir" },
|
92
|
-
{ G_SPAWN_ERROR_LOOP, "G_SPAWN_ERROR_LOOP", "loop" },
|
93
|
-
{ G_SPAWN_ERROR_TXTBUSY, "G_SPAWN_ERROR_TXTBUSY", "txtbusy" },
|
94
|
-
{ G_SPAWN_ERROR_IO, "G_SPAWN_ERROR_IO", "io" },
|
95
|
-
{ G_SPAWN_ERROR_NFILE, "G_SPAWN_ERROR_NFILE", "nfile" },
|
96
|
-
{ G_SPAWN_ERROR_MFILE, "G_SPAWN_ERROR_MFILE", "mfile" },
|
97
|
-
{ G_SPAWN_ERROR_INVAL, "G_SPAWN_ERROR_INVAL", "inval" },
|
98
|
-
{ G_SPAWN_ERROR_ISDIR, "G_SPAWN_ERROR_ISDIR", "isdir" },
|
99
|
-
{ G_SPAWN_ERROR_LIBBAD, "G_SPAWN_ERROR_LIBBAD", "libbad" },
|
100
|
-
{ G_SPAWN_ERROR_FAILED, "G_SPAWN_ERROR_FAILED", "failed" },
|
101
|
-
{ 0, NULL, NULL }
|
102
|
-
};
|
103
|
-
etype = g_enum_register_static ("GSpawnError", values);
|
104
|
-
}
|
105
|
-
return etype;
|
106
|
-
}
|
107
|
-
|
108
|
-
GType
|
109
|
-
g_spawn_flags_get_type (void)
|
110
|
-
{
|
111
|
-
static GType etype = 0;
|
112
|
-
if (etype == 0) {
|
113
|
-
static const GFlagsValue values[] = {
|
114
|
-
{ G_SPAWN_DEFAULT, "G_SPAWN_DEFAULT", "default" },
|
115
|
-
{ G_SPAWN_LEAVE_DESCRIPTORS_OPEN, "G_SPAWN_LEAVE_DESCRIPTORS_OPEN", "leave-descriptors-open" },
|
116
|
-
{ G_SPAWN_DO_NOT_REAP_CHILD, "G_SPAWN_DO_NOT_REAP_CHILD", "do-not-reap-child" },
|
117
|
-
{ G_SPAWN_SEARCH_PATH, "G_SPAWN_SEARCH_PATH", "search-path" },
|
118
|
-
{ G_SPAWN_STDOUT_TO_DEV_NULL, "G_SPAWN_STDOUT_TO_DEV_NULL", "stdout-to-dev-null" },
|
119
|
-
{ G_SPAWN_STDERR_TO_DEV_NULL, "G_SPAWN_STDERR_TO_DEV_NULL", "stderr-to-dev-null" },
|
120
|
-
{ G_SPAWN_CHILD_INHERITS_STDIN, "G_SPAWN_CHILD_INHERITS_STDIN", "child-inherits-stdin" },
|
121
|
-
{ G_SPAWN_FILE_AND_ARGV_ZERO, "G_SPAWN_FILE_AND_ARGV_ZERO", "file-and-argv-zero" },
|
122
|
-
{ G_SPAWN_SEARCH_PATH_FROM_ENVP, "G_SPAWN_SEARCH_PATH_FROM_ENVP", "search-path-from-envp" },
|
123
|
-
{ G_SPAWN_CLOEXEC_PIPES, "G_SPAWN_CLOEXEC_PIPES", "cloexec-pipes" },
|
124
|
-
{ 0, NULL, NULL }
|
125
|
-
};
|
126
|
-
etype = g_flags_register_static ("GSpawnFlags", values);
|
127
|
-
}
|
128
|
-
return etype;
|
129
|
-
}
|
130
|
-
|
131
|
-
|
132
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gkeyfile.h" */
|
133
|
-
GType
|
134
|
-
g_key_file_error_get_type (void)
|
135
|
-
{
|
136
|
-
static GType etype = 0;
|
137
|
-
if (etype == 0) {
|
138
|
-
static const GEnumValue values[] = {
|
139
|
-
{ G_KEY_FILE_ERROR_UNKNOWN_ENCODING, "G_KEY_FILE_ERROR_UNKNOWN_ENCODING", "unknown-encoding" },
|
140
|
-
{ G_KEY_FILE_ERROR_PARSE, "G_KEY_FILE_ERROR_PARSE", "parse" },
|
141
|
-
{ G_KEY_FILE_ERROR_NOT_FOUND, "G_KEY_FILE_ERROR_NOT_FOUND", "not-found" },
|
142
|
-
{ G_KEY_FILE_ERROR_KEY_NOT_FOUND, "G_KEY_FILE_ERROR_KEY_NOT_FOUND", "key-not-found" },
|
143
|
-
{ G_KEY_FILE_ERROR_GROUP_NOT_FOUND, "G_KEY_FILE_ERROR_GROUP_NOT_FOUND", "group-not-found" },
|
144
|
-
{ G_KEY_FILE_ERROR_INVALID_VALUE, "G_KEY_FILE_ERROR_INVALID_VALUE", "invalid-value" },
|
145
|
-
{ 0, NULL, NULL }
|
146
|
-
};
|
147
|
-
etype = g_enum_register_static ("GKeyFileError", values);
|
148
|
-
}
|
149
|
-
return etype;
|
150
|
-
}
|
151
|
-
|
152
|
-
GType
|
153
|
-
g_key_file_flags_get_type (void)
|
154
|
-
{
|
155
|
-
static GType etype = 0;
|
156
|
-
if (etype == 0) {
|
157
|
-
static const GFlagsValue values[] = {
|
158
|
-
{ G_KEY_FILE_NONE, "G_KEY_FILE_NONE", "none" },
|
159
|
-
{ G_KEY_FILE_KEEP_COMMENTS, "G_KEY_FILE_KEEP_COMMENTS", "keep-comments" },
|
160
|
-
{ G_KEY_FILE_KEEP_TRANSLATIONS, "G_KEY_FILE_KEEP_TRANSLATIONS", "keep-translations" },
|
161
|
-
{ 0, NULL, NULL }
|
162
|
-
};
|
163
|
-
etype = g_flags_register_static ("GKeyFileFlags", values);
|
164
|
-
}
|
165
|
-
return etype;
|
166
|
-
}
|
167
|
-
|
168
|
-
|
169
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gnode.h" */
|
170
|
-
GType
|
171
|
-
g_traverse_flags_get_type (void)
|
172
|
-
{
|
173
|
-
static GType etype = 0;
|
174
|
-
if (etype == 0) {
|
175
|
-
static const GFlagsValue values[] = {
|
176
|
-
{ G_TRAVERSE_LEAVES, "G_TRAVERSE_LEAVES", "leaves" },
|
177
|
-
{ G_TRAVERSE_NON_LEAVES, "G_TRAVERSE_NON_LEAVES", "non-leaves" },
|
178
|
-
{ G_TRAVERSE_ALL, "G_TRAVERSE_ALL", "all" },
|
179
|
-
{ G_TRAVERSE_MASK, "G_TRAVERSE_MASK", "mask" },
|
180
|
-
{ G_TRAVERSE_LEAFS, "G_TRAVERSE_LEAFS", "leafs" },
|
181
|
-
{ G_TRAVERSE_NON_LEAFS, "G_TRAVERSE_NON_LEAFS", "non-leafs" },
|
182
|
-
{ 0, NULL, NULL }
|
183
|
-
};
|
184
|
-
etype = g_flags_register_static ("GTraverseFlags", values);
|
185
|
-
}
|
186
|
-
return etype;
|
187
|
-
}
|
188
|
-
|
189
|
-
GType
|
190
|
-
g_traverse_type_get_type (void)
|
191
|
-
{
|
192
|
-
static GType etype = 0;
|
193
|
-
if (etype == 0) {
|
194
|
-
static const GEnumValue values[] = {
|
195
|
-
{ G_IN_ORDER, "G_IN_ORDER", "in-order" },
|
196
|
-
{ G_PRE_ORDER, "G_PRE_ORDER", "pre-order" },
|
197
|
-
{ G_POST_ORDER, "G_POST_ORDER", "post-order" },
|
198
|
-
{ G_LEVEL_ORDER, "G_LEVEL_ORDER", "level-order" },
|
199
|
-
{ 0, NULL, NULL }
|
200
|
-
};
|
201
|
-
etype = g_enum_register_static ("GTraverseType", values);
|
202
|
-
}
|
203
|
-
return etype;
|
204
|
-
}
|
205
|
-
|
206
|
-
|
207
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gshell.h" */
|
208
|
-
GType
|
209
|
-
g_shell_error_get_type (void)
|
210
|
-
{
|
211
|
-
static GType etype = 0;
|
212
|
-
if (etype == 0) {
|
213
|
-
static const GEnumValue values[] = {
|
214
|
-
{ G_SHELL_ERROR_BAD_QUOTING, "G_SHELL_ERROR_BAD_QUOTING", "bad-quoting" },
|
215
|
-
{ G_SHELL_ERROR_EMPTY_STRING, "G_SHELL_ERROR_EMPTY_STRING", "empty-string" },
|
216
|
-
{ G_SHELL_ERROR_FAILED, "G_SHELL_ERROR_FAILED", "failed" },
|
217
|
-
{ 0, NULL, NULL }
|
218
|
-
};
|
219
|
-
etype = g_enum_register_static ("GShellError", values);
|
220
|
-
}
|
221
|
-
return etype;
|
222
|
-
}
|
223
|
-
|
224
|
-
|
225
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gslice.h" */
|
226
|
-
GType
|
227
|
-
g_slice_config_get_type (void)
|
228
|
-
{
|
229
|
-
static GType etype = 0;
|
230
|
-
if (etype == 0) {
|
231
|
-
static const GEnumValue values[] = {
|
232
|
-
{ G_SLICE_CONFIG_ALWAYS_MALLOC, "G_SLICE_CONFIG_ALWAYS_MALLOC", "always-malloc" },
|
233
|
-
{ G_SLICE_CONFIG_BYPASS_MAGAZINES, "G_SLICE_CONFIG_BYPASS_MAGAZINES", "bypass-magazines" },
|
234
|
-
{ G_SLICE_CONFIG_WORKING_SET_MSECS, "G_SLICE_CONFIG_WORKING_SET_MSECS", "working-set-msecs" },
|
235
|
-
{ G_SLICE_CONFIG_COLOR_INCREMENT, "G_SLICE_CONFIG_COLOR_INCREMENT", "color-increment" },
|
236
|
-
{ G_SLICE_CONFIG_CHUNK_SIZES, "G_SLICE_CONFIG_CHUNK_SIZES", "chunk-sizes" },
|
237
|
-
{ G_SLICE_CONFIG_CONTENTION_COUNTER, "G_SLICE_CONFIG_CONTENTION_COUNTER", "contention-counter" },
|
238
|
-
{ 0, NULL, NULL }
|
239
|
-
};
|
240
|
-
etype = g_enum_register_static ("GSliceConfig", values);
|
241
|
-
}
|
242
|
-
return etype;
|
243
|
-
}
|
244
|
-
|
245
|
-
|
246
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gregex.h" */
|
247
|
-
GType
|
248
|
-
g_regex_error_get_type (void)
|
249
|
-
{
|
250
|
-
static GType etype = 0;
|
251
|
-
if (etype == 0) {
|
252
|
-
static const GEnumValue values[] = {
|
253
|
-
{ G_REGEX_ERROR_COMPILE, "G_REGEX_ERROR_COMPILE", "compile" },
|
254
|
-
{ G_REGEX_ERROR_OPTIMIZE, "G_REGEX_ERROR_OPTIMIZE", "optimize" },
|
255
|
-
{ G_REGEX_ERROR_REPLACE, "G_REGEX_ERROR_REPLACE", "replace" },
|
256
|
-
{ G_REGEX_ERROR_MATCH, "G_REGEX_ERROR_MATCH", "match" },
|
257
|
-
{ G_REGEX_ERROR_INTERNAL, "G_REGEX_ERROR_INTERNAL", "internal" },
|
258
|
-
{ G_REGEX_ERROR_STRAY_BACKSLASH, "G_REGEX_ERROR_STRAY_BACKSLASH", "stray-backslash" },
|
259
|
-
{ G_REGEX_ERROR_MISSING_CONTROL_CHAR, "G_REGEX_ERROR_MISSING_CONTROL_CHAR", "missing-control-char" },
|
260
|
-
{ G_REGEX_ERROR_UNRECOGNIZED_ESCAPE, "G_REGEX_ERROR_UNRECOGNIZED_ESCAPE", "unrecognized-escape" },
|
261
|
-
{ G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER, "G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER", "quantifiers-out-of-order" },
|
262
|
-
{ G_REGEX_ERROR_QUANTIFIER_TOO_BIG, "G_REGEX_ERROR_QUANTIFIER_TOO_BIG", "quantifier-too-big" },
|
263
|
-
{ G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS, "G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS", "unterminated-character-class" },
|
264
|
-
{ G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS, "G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS", "invalid-escape-in-character-class" },
|
265
|
-
{ G_REGEX_ERROR_RANGE_OUT_OF_ORDER, "G_REGEX_ERROR_RANGE_OUT_OF_ORDER", "range-out-of-order" },
|
266
|
-
{ G_REGEX_ERROR_NOTHING_TO_REPEAT, "G_REGEX_ERROR_NOTHING_TO_REPEAT", "nothing-to-repeat" },
|
267
|
-
{ G_REGEX_ERROR_UNRECOGNIZED_CHARACTER, "G_REGEX_ERROR_UNRECOGNIZED_CHARACTER", "unrecognized-character" },
|
268
|
-
{ G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS, "G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS", "posix-named-class-outside-class" },
|
269
|
-
{ G_REGEX_ERROR_UNMATCHED_PARENTHESIS, "G_REGEX_ERROR_UNMATCHED_PARENTHESIS", "unmatched-parenthesis" },
|
270
|
-
{ G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE, "G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE", "inexistent-subpattern-reference" },
|
271
|
-
{ G_REGEX_ERROR_UNTERMINATED_COMMENT, "G_REGEX_ERROR_UNTERMINATED_COMMENT", "unterminated-comment" },
|
272
|
-
{ G_REGEX_ERROR_EXPRESSION_TOO_LARGE, "G_REGEX_ERROR_EXPRESSION_TOO_LARGE", "expression-too-large" },
|
273
|
-
{ G_REGEX_ERROR_MEMORY_ERROR, "G_REGEX_ERROR_MEMORY_ERROR", "memory-error" },
|
274
|
-
{ G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND, "G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND", "variable-length-lookbehind" },
|
275
|
-
{ G_REGEX_ERROR_MALFORMED_CONDITION, "G_REGEX_ERROR_MALFORMED_CONDITION", "malformed-condition" },
|
276
|
-
{ G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES, "G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES", "too-many-conditional-branches" },
|
277
|
-
{ G_REGEX_ERROR_ASSERTION_EXPECTED, "G_REGEX_ERROR_ASSERTION_EXPECTED", "assertion-expected" },
|
278
|
-
{ G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME, "G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME", "unknown-posix-class-name" },
|
279
|
-
{ G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED, "G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED", "posix-collating-elements-not-supported" },
|
280
|
-
{ G_REGEX_ERROR_HEX_CODE_TOO_LARGE, "G_REGEX_ERROR_HEX_CODE_TOO_LARGE", "hex-code-too-large" },
|
281
|
-
{ G_REGEX_ERROR_INVALID_CONDITION, "G_REGEX_ERROR_INVALID_CONDITION", "invalid-condition" },
|
282
|
-
{ G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND, "G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND", "single-byte-match-in-lookbehind" },
|
283
|
-
{ G_REGEX_ERROR_INFINITE_LOOP, "G_REGEX_ERROR_INFINITE_LOOP", "infinite-loop" },
|
284
|
-
{ G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR, "G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR", "missing-subpattern-name-terminator" },
|
285
|
-
{ G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME, "G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME", "duplicate-subpattern-name" },
|
286
|
-
{ G_REGEX_ERROR_MALFORMED_PROPERTY, "G_REGEX_ERROR_MALFORMED_PROPERTY", "malformed-property" },
|
287
|
-
{ G_REGEX_ERROR_UNKNOWN_PROPERTY, "G_REGEX_ERROR_UNKNOWN_PROPERTY", "unknown-property" },
|
288
|
-
{ G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG, "G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG", "subpattern-name-too-long" },
|
289
|
-
{ G_REGEX_ERROR_TOO_MANY_SUBPATTERNS, "G_REGEX_ERROR_TOO_MANY_SUBPATTERNS", "too-many-subpatterns" },
|
290
|
-
{ G_REGEX_ERROR_INVALID_OCTAL_VALUE, "G_REGEX_ERROR_INVALID_OCTAL_VALUE", "invalid-octal-value" },
|
291
|
-
{ G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE, "G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE", "too-many-branches-in-define" },
|
292
|
-
{ G_REGEX_ERROR_DEFINE_REPETION, "G_REGEX_ERROR_DEFINE_REPETION", "define-repetion" },
|
293
|
-
{ G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS, "G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS", "inconsistent-newline-options" },
|
294
|
-
{ G_REGEX_ERROR_MISSING_BACK_REFERENCE, "G_REGEX_ERROR_MISSING_BACK_REFERENCE", "missing-back-reference" },
|
295
|
-
{ G_REGEX_ERROR_INVALID_RELATIVE_REFERENCE, "G_REGEX_ERROR_INVALID_RELATIVE_REFERENCE", "invalid-relative-reference" },
|
296
|
-
{ G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN, "G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN", "backtracking-control-verb-argument-forbidden" },
|
297
|
-
{ G_REGEX_ERROR_UNKNOWN_BACKTRACKING_CONTROL_VERB, "G_REGEX_ERROR_UNKNOWN_BACKTRACKING_CONTROL_VERB", "unknown-backtracking-control-verb" },
|
298
|
-
{ G_REGEX_ERROR_NUMBER_TOO_BIG, "G_REGEX_ERROR_NUMBER_TOO_BIG", "number-too-big" },
|
299
|
-
{ G_REGEX_ERROR_MISSING_SUBPATTERN_NAME, "G_REGEX_ERROR_MISSING_SUBPATTERN_NAME", "missing-subpattern-name" },
|
300
|
-
{ G_REGEX_ERROR_MISSING_DIGIT, "G_REGEX_ERROR_MISSING_DIGIT", "missing-digit" },
|
301
|
-
{ G_REGEX_ERROR_INVALID_DATA_CHARACTER, "G_REGEX_ERROR_INVALID_DATA_CHARACTER", "invalid-data-character" },
|
302
|
-
{ G_REGEX_ERROR_EXTRA_SUBPATTERN_NAME, "G_REGEX_ERROR_EXTRA_SUBPATTERN_NAME", "extra-subpattern-name" },
|
303
|
-
{ G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED, "G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED", "backtracking-control-verb-argument-required" },
|
304
|
-
{ G_REGEX_ERROR_INVALID_CONTROL_CHAR, "G_REGEX_ERROR_INVALID_CONTROL_CHAR", "invalid-control-char" },
|
305
|
-
{ G_REGEX_ERROR_MISSING_NAME, "G_REGEX_ERROR_MISSING_NAME", "missing-name" },
|
306
|
-
{ G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS, "G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS", "not-supported-in-class" },
|
307
|
-
{ G_REGEX_ERROR_TOO_MANY_FORWARD_REFERENCES, "G_REGEX_ERROR_TOO_MANY_FORWARD_REFERENCES", "too-many-forward-references" },
|
308
|
-
{ G_REGEX_ERROR_NAME_TOO_LONG, "G_REGEX_ERROR_NAME_TOO_LONG", "name-too-long" },
|
309
|
-
{ G_REGEX_ERROR_CHARACTER_VALUE_TOO_LARGE, "G_REGEX_ERROR_CHARACTER_VALUE_TOO_LARGE", "character-value-too-large" },
|
310
|
-
{ 0, NULL, NULL }
|
311
|
-
};
|
312
|
-
etype = g_enum_register_static ("GRegexError", values);
|
313
|
-
}
|
314
|
-
return etype;
|
315
|
-
}
|
316
|
-
|
317
|
-
GType
|
318
|
-
g_regex_compile_flags_get_type (void)
|
319
|
-
{
|
320
|
-
static GType etype = 0;
|
321
|
-
if (etype == 0) {
|
322
|
-
static const GFlagsValue values[] = {
|
323
|
-
{ G_REGEX_CASELESS, "G_REGEX_CASELESS", "caseless" },
|
324
|
-
{ G_REGEX_MULTILINE, "G_REGEX_MULTILINE", "multiline" },
|
325
|
-
{ G_REGEX_DOTALL, "G_REGEX_DOTALL", "dotall" },
|
326
|
-
{ G_REGEX_EXTENDED, "G_REGEX_EXTENDED", "extended" },
|
327
|
-
{ G_REGEX_ANCHORED, "G_REGEX_ANCHORED", "anchored" },
|
328
|
-
{ G_REGEX_DOLLAR_ENDONLY, "G_REGEX_DOLLAR_ENDONLY", "dollar-endonly" },
|
329
|
-
{ G_REGEX_UNGREEDY, "G_REGEX_UNGREEDY", "ungreedy" },
|
330
|
-
{ G_REGEX_RAW, "G_REGEX_RAW", "raw" },
|
331
|
-
{ G_REGEX_NO_AUTO_CAPTURE, "G_REGEX_NO_AUTO_CAPTURE", "no-auto-capture" },
|
332
|
-
{ G_REGEX_OPTIMIZE, "G_REGEX_OPTIMIZE", "optimize" },
|
333
|
-
{ G_REGEX_FIRSTLINE, "G_REGEX_FIRSTLINE", "firstline" },
|
334
|
-
{ G_REGEX_DUPNAMES, "G_REGEX_DUPNAMES", "dupnames" },
|
335
|
-
{ G_REGEX_NEWLINE_CR, "G_REGEX_NEWLINE_CR", "newline-cr" },
|
336
|
-
{ G_REGEX_NEWLINE_LF, "G_REGEX_NEWLINE_LF", "newline-lf" },
|
337
|
-
{ G_REGEX_NEWLINE_CRLF, "G_REGEX_NEWLINE_CRLF", "newline-crlf" },
|
338
|
-
{ G_REGEX_NEWLINE_ANYCRLF, "G_REGEX_NEWLINE_ANYCRLF", "newline-anycrlf" },
|
339
|
-
{ G_REGEX_BSR_ANYCRLF, "G_REGEX_BSR_ANYCRLF", "bsr-anycrlf" },
|
340
|
-
{ G_REGEX_JAVASCRIPT_COMPAT, "G_REGEX_JAVASCRIPT_COMPAT", "javascript-compat" },
|
341
|
-
{ 0, NULL, NULL }
|
342
|
-
};
|
343
|
-
etype = g_flags_register_static ("GRegexCompileFlags", values);
|
344
|
-
}
|
345
|
-
return etype;
|
346
|
-
}
|
347
|
-
|
348
|
-
GType
|
349
|
-
g_regex_match_flags_get_type (void)
|
350
|
-
{
|
351
|
-
static GType etype = 0;
|
352
|
-
if (etype == 0) {
|
353
|
-
static const GFlagsValue values[] = {
|
354
|
-
{ G_REGEX_MATCH_ANCHORED, "G_REGEX_MATCH_ANCHORED", "anchored" },
|
355
|
-
{ G_REGEX_MATCH_NOTBOL, "G_REGEX_MATCH_NOTBOL", "notbol" },
|
356
|
-
{ G_REGEX_MATCH_NOTEOL, "G_REGEX_MATCH_NOTEOL", "noteol" },
|
357
|
-
{ G_REGEX_MATCH_NOTEMPTY, "G_REGEX_MATCH_NOTEMPTY", "notempty" },
|
358
|
-
{ G_REGEX_MATCH_PARTIAL, "G_REGEX_MATCH_PARTIAL", "partial" },
|
359
|
-
{ G_REGEX_MATCH_NEWLINE_CR, "G_REGEX_MATCH_NEWLINE_CR", "newline-cr" },
|
360
|
-
{ G_REGEX_MATCH_NEWLINE_LF, "G_REGEX_MATCH_NEWLINE_LF", "newline-lf" },
|
361
|
-
{ G_REGEX_MATCH_NEWLINE_CRLF, "G_REGEX_MATCH_NEWLINE_CRLF", "newline-crlf" },
|
362
|
-
{ G_REGEX_MATCH_NEWLINE_ANY, "G_REGEX_MATCH_NEWLINE_ANY", "newline-any" },
|
363
|
-
{ G_REGEX_MATCH_NEWLINE_ANYCRLF, "G_REGEX_MATCH_NEWLINE_ANYCRLF", "newline-anycrlf" },
|
364
|
-
{ G_REGEX_MATCH_BSR_ANYCRLF, "G_REGEX_MATCH_BSR_ANYCRLF", "bsr-anycrlf" },
|
365
|
-
{ G_REGEX_MATCH_BSR_ANY, "G_REGEX_MATCH_BSR_ANY", "bsr-any" },
|
366
|
-
{ G_REGEX_MATCH_PARTIAL_SOFT, "G_REGEX_MATCH_PARTIAL_SOFT", "partial-soft" },
|
367
|
-
{ G_REGEX_MATCH_PARTIAL_HARD, "G_REGEX_MATCH_PARTIAL_HARD", "partial-hard" },
|
368
|
-
{ G_REGEX_MATCH_NOTEMPTY_ATSTART, "G_REGEX_MATCH_NOTEMPTY_ATSTART", "notempty-atstart" },
|
369
|
-
{ 0, NULL, NULL }
|
370
|
-
};
|
371
|
-
etype = g_flags_register_static ("GRegexMatchFlags", values);
|
372
|
-
}
|
373
|
-
return etype;
|
374
|
-
}
|
375
|
-
|
376
|
-
|
377
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gmarkup.h" */
|
378
|
-
GType
|
379
|
-
g_markup_error_get_type (void)
|
380
|
-
{
|
381
|
-
static GType etype = 0;
|
382
|
-
if (etype == 0) {
|
383
|
-
static const GEnumValue values[] = {
|
384
|
-
{ G_MARKUP_ERROR_BAD_UTF8, "G_MARKUP_ERROR_BAD_UTF8", "bad-utf8" },
|
385
|
-
{ G_MARKUP_ERROR_EMPTY, "G_MARKUP_ERROR_EMPTY", "empty" },
|
386
|
-
{ G_MARKUP_ERROR_PARSE, "G_MARKUP_ERROR_PARSE", "parse" },
|
387
|
-
{ G_MARKUP_ERROR_UNKNOWN_ELEMENT, "G_MARKUP_ERROR_UNKNOWN_ELEMENT", "unknown-element" },
|
388
|
-
{ G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, "G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE", "unknown-attribute" },
|
389
|
-
{ G_MARKUP_ERROR_INVALID_CONTENT, "G_MARKUP_ERROR_INVALID_CONTENT", "invalid-content" },
|
390
|
-
{ G_MARKUP_ERROR_MISSING_ATTRIBUTE, "G_MARKUP_ERROR_MISSING_ATTRIBUTE", "missing-attribute" },
|
391
|
-
{ 0, NULL, NULL }
|
392
|
-
};
|
393
|
-
etype = g_enum_register_static ("GMarkupError", values);
|
394
|
-
}
|
395
|
-
return etype;
|
396
|
-
}
|
397
|
-
|
398
|
-
GType
|
399
|
-
g_markup_parse_flags_get_type (void)
|
400
|
-
{
|
401
|
-
static GType etype = 0;
|
402
|
-
if (etype == 0) {
|
403
|
-
static const GFlagsValue values[] = {
|
404
|
-
{ G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG, "G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG", "do-not-use-this-unsupported-flag" },
|
405
|
-
{ G_MARKUP_TREAT_CDATA_AS_TEXT, "G_MARKUP_TREAT_CDATA_AS_TEXT", "treat-cdata-as-text" },
|
406
|
-
{ G_MARKUP_PREFIX_ERROR_POSITION, "G_MARKUP_PREFIX_ERROR_POSITION", "prefix-error-position" },
|
407
|
-
{ G_MARKUP_IGNORE_QUALIFIED, "G_MARKUP_IGNORE_QUALIFIED", "ignore-qualified" },
|
408
|
-
{ 0, NULL, NULL }
|
409
|
-
};
|
410
|
-
etype = g_flags_register_static ("GMarkupParseFlags", values);
|
411
|
-
}
|
412
|
-
return etype;
|
413
|
-
}
|
414
|
-
|
415
|
-
GType
|
416
|
-
g_markup_collect_type_get_type (void)
|
417
|
-
{
|
418
|
-
static GType etype = 0;
|
419
|
-
if (etype == 0) {
|
420
|
-
static const GFlagsValue values[] = {
|
421
|
-
{ G_MARKUP_COLLECT_INVALID, "G_MARKUP_COLLECT_INVALID", "invalid" },
|
422
|
-
{ G_MARKUP_COLLECT_STRING, "G_MARKUP_COLLECT_STRING", "string" },
|
423
|
-
{ G_MARKUP_COLLECT_STRDUP, "G_MARKUP_COLLECT_STRDUP", "strdup" },
|
424
|
-
{ G_MARKUP_COLLECT_BOOLEAN, "G_MARKUP_COLLECT_BOOLEAN", "boolean" },
|
425
|
-
{ G_MARKUP_COLLECT_TRISTATE, "G_MARKUP_COLLECT_TRISTATE", "tristate" },
|
426
|
-
{ G_MARKUP_COLLECT_OPTIONAL, "G_MARKUP_COLLECT_OPTIONAL", "optional" },
|
427
|
-
{ 0, NULL, NULL }
|
428
|
-
};
|
429
|
-
etype = g_flags_register_static ("GMarkupCollectType", values);
|
430
|
-
}
|
431
|
-
return etype;
|
432
|
-
}
|
433
|
-
|
434
|
-
|
435
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gtestutils.h" */
|
436
|
-
GType
|
437
|
-
g_test_trap_flags_get_type (void)
|
438
|
-
{
|
439
|
-
static GType etype = 0;
|
440
|
-
if (etype == 0) {
|
441
|
-
static const GFlagsValue values[] = {
|
442
|
-
{ G_TEST_TRAP_SILENCE_STDOUT, "G_TEST_TRAP_SILENCE_STDOUT", "silence-stdout" },
|
443
|
-
{ G_TEST_TRAP_SILENCE_STDERR, "G_TEST_TRAP_SILENCE_STDERR", "silence-stderr" },
|
444
|
-
{ G_TEST_TRAP_INHERIT_STDIN, "G_TEST_TRAP_INHERIT_STDIN", "inherit-stdin" },
|
445
|
-
{ 0, NULL, NULL }
|
446
|
-
};
|
447
|
-
etype = g_flags_register_static ("GTestTrapFlags", values);
|
448
|
-
}
|
449
|
-
return etype;
|
450
|
-
}
|
451
|
-
|
452
|
-
GType
|
453
|
-
g_test_subprocess_flags_get_type (void)
|
454
|
-
{
|
455
|
-
static GType etype = 0;
|
456
|
-
if (etype == 0) {
|
457
|
-
static const GFlagsValue values[] = {
|
458
|
-
{ G_TEST_SUBPROCESS_INHERIT_STDIN, "G_TEST_SUBPROCESS_INHERIT_STDIN", "in" },
|
459
|
-
{ G_TEST_SUBPROCESS_INHERIT_STDOUT, "G_TEST_SUBPROCESS_INHERIT_STDOUT", "out" },
|
460
|
-
{ G_TEST_SUBPROCESS_INHERIT_STDERR, "G_TEST_SUBPROCESS_INHERIT_STDERR", "err" },
|
461
|
-
{ 0, NULL, NULL }
|
462
|
-
};
|
463
|
-
etype = g_flags_register_static ("GTestSubprocessFlags", values);
|
464
|
-
}
|
465
|
-
return etype;
|
466
|
-
}
|
467
|
-
|
468
|
-
GType
|
469
|
-
g_test_log_type_get_type (void)
|
470
|
-
{
|
471
|
-
static GType etype = 0;
|
472
|
-
if (etype == 0) {
|
473
|
-
static const GEnumValue values[] = {
|
474
|
-
{ G_TEST_LOG_NONE, "G_TEST_LOG_NONE", "none" },
|
475
|
-
{ G_TEST_LOG_ERROR, "G_TEST_LOG_ERROR", "error" },
|
476
|
-
{ G_TEST_LOG_START_BINARY, "G_TEST_LOG_START_BINARY", "start-binary" },
|
477
|
-
{ G_TEST_LOG_LIST_CASE, "G_TEST_LOG_LIST_CASE", "list-case" },
|
478
|
-
{ G_TEST_LOG_SKIP_CASE, "G_TEST_LOG_SKIP_CASE", "skip-case" },
|
479
|
-
{ G_TEST_LOG_START_CASE, "G_TEST_LOG_START_CASE", "start-case" },
|
480
|
-
{ G_TEST_LOG_STOP_CASE, "G_TEST_LOG_STOP_CASE", "stop-case" },
|
481
|
-
{ G_TEST_LOG_MIN_RESULT, "G_TEST_LOG_MIN_RESULT", "min-result" },
|
482
|
-
{ G_TEST_LOG_MAX_RESULT, "G_TEST_LOG_MAX_RESULT", "max-result" },
|
483
|
-
{ G_TEST_LOG_MESSAGE, "G_TEST_LOG_MESSAGE", "message" },
|
484
|
-
{ G_TEST_LOG_START_SUITE, "G_TEST_LOG_START_SUITE", "start-suite" },
|
485
|
-
{ G_TEST_LOG_STOP_SUITE, "G_TEST_LOG_STOP_SUITE", "stop-suite" },
|
486
|
-
{ 0, NULL, NULL }
|
487
|
-
};
|
488
|
-
etype = g_enum_register_static ("GTestLogType", values);
|
489
|
-
}
|
490
|
-
return etype;
|
491
|
-
}
|
492
|
-
|
493
|
-
GType
|
494
|
-
g_test_file_type_get_type (void)
|
495
|
-
{
|
496
|
-
static GType etype = 0;
|
497
|
-
if (etype == 0) {
|
498
|
-
static const GEnumValue values[] = {
|
499
|
-
{ G_TEST_DIST, "G_TEST_DIST", "dist" },
|
500
|
-
{ G_TEST_BUILT, "G_TEST_BUILT", "built" },
|
501
|
-
{ 0, NULL, NULL }
|
502
|
-
};
|
503
|
-
etype = g_enum_register_static ("GTestFileType", values);
|
504
|
-
}
|
505
|
-
return etype;
|
506
|
-
}
|
507
|
-
|
508
|
-
|
509
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gfileutils.h" */
|
510
|
-
GType
|
511
|
-
g_file_error_get_type (void)
|
512
|
-
{
|
513
|
-
static GType etype = 0;
|
514
|
-
if (etype == 0) {
|
515
|
-
static const GEnumValue values[] = {
|
516
|
-
{ G_FILE_ERROR_EXIST, "G_FILE_ERROR_EXIST", "exist" },
|
517
|
-
{ G_FILE_ERROR_ISDIR, "G_FILE_ERROR_ISDIR", "isdir" },
|
518
|
-
{ G_FILE_ERROR_ACCES, "G_FILE_ERROR_ACCES", "acces" },
|
519
|
-
{ G_FILE_ERROR_NAMETOOLONG, "G_FILE_ERROR_NAMETOOLONG", "nametoolong" },
|
520
|
-
{ G_FILE_ERROR_NOENT, "G_FILE_ERROR_NOENT", "noent" },
|
521
|
-
{ G_FILE_ERROR_NOTDIR, "G_FILE_ERROR_NOTDIR", "notdir" },
|
522
|
-
{ G_FILE_ERROR_NXIO, "G_FILE_ERROR_NXIO", "nxio" },
|
523
|
-
{ G_FILE_ERROR_NODEV, "G_FILE_ERROR_NODEV", "nodev" },
|
524
|
-
{ G_FILE_ERROR_ROFS, "G_FILE_ERROR_ROFS", "rofs" },
|
525
|
-
{ G_FILE_ERROR_TXTBSY, "G_FILE_ERROR_TXTBSY", "txtbsy" },
|
526
|
-
{ G_FILE_ERROR_FAULT, "G_FILE_ERROR_FAULT", "fault" },
|
527
|
-
{ G_FILE_ERROR_LOOP, "G_FILE_ERROR_LOOP", "loop" },
|
528
|
-
{ G_FILE_ERROR_NOSPC, "G_FILE_ERROR_NOSPC", "nospc" },
|
529
|
-
{ G_FILE_ERROR_NOMEM, "G_FILE_ERROR_NOMEM", "nomem" },
|
530
|
-
{ G_FILE_ERROR_MFILE, "G_FILE_ERROR_MFILE", "mfile" },
|
531
|
-
{ G_FILE_ERROR_NFILE, "G_FILE_ERROR_NFILE", "nfile" },
|
532
|
-
{ G_FILE_ERROR_BADF, "G_FILE_ERROR_BADF", "badf" },
|
533
|
-
{ G_FILE_ERROR_INVAL, "G_FILE_ERROR_INVAL", "inval" },
|
534
|
-
{ G_FILE_ERROR_PIPE, "G_FILE_ERROR_PIPE", "pipe" },
|
535
|
-
{ G_FILE_ERROR_AGAIN, "G_FILE_ERROR_AGAIN", "again" },
|
536
|
-
{ G_FILE_ERROR_INTR, "G_FILE_ERROR_INTR", "intr" },
|
537
|
-
{ G_FILE_ERROR_IO, "G_FILE_ERROR_IO", "io" },
|
538
|
-
{ G_FILE_ERROR_PERM, "G_FILE_ERROR_PERM", "perm" },
|
539
|
-
{ G_FILE_ERROR_NOSYS, "G_FILE_ERROR_NOSYS", "nosys" },
|
540
|
-
{ G_FILE_ERROR_FAILED, "G_FILE_ERROR_FAILED", "failed" },
|
541
|
-
{ 0, NULL, NULL }
|
542
|
-
};
|
543
|
-
etype = g_enum_register_static ("GFileError", values);
|
544
|
-
}
|
545
|
-
return etype;
|
546
|
-
}
|
547
|
-
|
548
|
-
GType
|
549
|
-
g_file_test_get_type (void)
|
550
|
-
{
|
551
|
-
static GType etype = 0;
|
552
|
-
if (etype == 0) {
|
553
|
-
static const GFlagsValue values[] = {
|
554
|
-
{ G_FILE_TEST_IS_REGULAR, "G_FILE_TEST_IS_REGULAR", "is-regular" },
|
555
|
-
{ G_FILE_TEST_IS_SYMLINK, "G_FILE_TEST_IS_SYMLINK", "is-symlink" },
|
556
|
-
{ G_FILE_TEST_IS_DIR, "G_FILE_TEST_IS_DIR", "is-dir" },
|
557
|
-
{ G_FILE_TEST_IS_EXECUTABLE, "G_FILE_TEST_IS_EXECUTABLE", "is-executable" },
|
558
|
-
{ G_FILE_TEST_EXISTS, "G_FILE_TEST_EXISTS", "exists" },
|
559
|
-
{ 0, NULL, NULL }
|
560
|
-
};
|
561
|
-
etype = g_flags_register_static ("GFileTest", values);
|
562
|
-
}
|
563
|
-
return etype;
|
564
|
-
}
|
565
|
-
|
566
|
-
|
567
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gtimezone.h" */
|
568
|
-
GType
|
569
|
-
g_time_type_get_type (void)
|
570
|
-
{
|
571
|
-
static GType etype = 0;
|
572
|
-
if (etype == 0) {
|
573
|
-
static const GEnumValue values[] = {
|
574
|
-
{ G_TIME_TYPE_STANDARD, "G_TIME_TYPE_STANDARD", "standard" },
|
575
|
-
{ G_TIME_TYPE_DAYLIGHT, "G_TIME_TYPE_DAYLIGHT", "daylight" },
|
576
|
-
{ G_TIME_TYPE_UNIVERSAL, "G_TIME_TYPE_UNIVERSAL", "universal" },
|
577
|
-
{ 0, NULL, NULL }
|
578
|
-
};
|
579
|
-
etype = g_enum_register_static ("GTimeType", values);
|
580
|
-
}
|
581
|
-
return etype;
|
582
|
-
}
|
583
|
-
|
584
|
-
|
585
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gdate.h" */
|
586
|
-
GType
|
587
|
-
g_date_dm_y_get_type (void)
|
588
|
-
{
|
589
|
-
static GType etype = 0;
|
590
|
-
if (etype == 0) {
|
591
|
-
static const GEnumValue values[] = {
|
592
|
-
{ G_DATE_DAY, "G_DATE_DAY", "day" },
|
593
|
-
{ G_DATE_MONTH, "G_DATE_MONTH", "month" },
|
594
|
-
{ G_DATE_YEAR, "G_DATE_YEAR", "year" },
|
595
|
-
{ 0, NULL, NULL }
|
596
|
-
};
|
597
|
-
etype = g_enum_register_static ("GDateDMY", values);
|
598
|
-
}
|
599
|
-
return etype;
|
600
|
-
}
|
601
|
-
|
602
|
-
GType
|
603
|
-
g_date_weekday_get_type (void)
|
604
|
-
{
|
605
|
-
static GType etype = 0;
|
606
|
-
if (etype == 0) {
|
607
|
-
static const GEnumValue values[] = {
|
608
|
-
{ G_DATE_BAD_WEEKDAY, "G_DATE_BAD_WEEKDAY", "bad-weekday" },
|
609
|
-
{ G_DATE_MONDAY, "G_DATE_MONDAY", "monday" },
|
610
|
-
{ G_DATE_TUESDAY, "G_DATE_TUESDAY", "tuesday" },
|
611
|
-
{ G_DATE_WEDNESDAY, "G_DATE_WEDNESDAY", "wednesday" },
|
612
|
-
{ G_DATE_THURSDAY, "G_DATE_THURSDAY", "thursday" },
|
613
|
-
{ G_DATE_FRIDAY, "G_DATE_FRIDAY", "friday" },
|
614
|
-
{ G_DATE_SATURDAY, "G_DATE_SATURDAY", "saturday" },
|
615
|
-
{ G_DATE_SUNDAY, "G_DATE_SUNDAY", "sunday" },
|
616
|
-
{ 0, NULL, NULL }
|
617
|
-
};
|
618
|
-
etype = g_enum_register_static ("GDateWeekday", values);
|
619
|
-
}
|
620
|
-
return etype;
|
621
|
-
}
|
622
|
-
|
623
|
-
GType
|
624
|
-
g_date_month_get_type (void)
|
625
|
-
{
|
626
|
-
static GType etype = 0;
|
627
|
-
if (etype == 0) {
|
628
|
-
static const GEnumValue values[] = {
|
629
|
-
{ G_DATE_BAD_MONTH, "G_DATE_BAD_MONTH", "bad-month" },
|
630
|
-
{ G_DATE_JANUARY, "G_DATE_JANUARY", "january" },
|
631
|
-
{ G_DATE_FEBRUARY, "G_DATE_FEBRUARY", "february" },
|
632
|
-
{ G_DATE_MARCH, "G_DATE_MARCH", "march" },
|
633
|
-
{ G_DATE_APRIL, "G_DATE_APRIL", "april" },
|
634
|
-
{ G_DATE_MAY, "G_DATE_MAY", "may" },
|
635
|
-
{ G_DATE_JUNE, "G_DATE_JUNE", "june" },
|
636
|
-
{ G_DATE_JULY, "G_DATE_JULY", "july" },
|
637
|
-
{ G_DATE_AUGUST, "G_DATE_AUGUST", "august" },
|
638
|
-
{ G_DATE_SEPTEMBER, "G_DATE_SEPTEMBER", "september" },
|
639
|
-
{ G_DATE_OCTOBER, "G_DATE_OCTOBER", "october" },
|
640
|
-
{ G_DATE_NOVEMBER, "G_DATE_NOVEMBER", "november" },
|
641
|
-
{ G_DATE_DECEMBER, "G_DATE_DECEMBER", "december" },
|
642
|
-
{ 0, NULL, NULL }
|
643
|
-
};
|
644
|
-
etype = g_enum_register_static ("GDateMonth", values);
|
645
|
-
}
|
646
|
-
return etype;
|
647
|
-
}
|
648
|
-
|
649
|
-
|
650
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gunicode.h" */
|
651
|
-
GType
|
652
|
-
g_unicode_type_get_type (void)
|
653
|
-
{
|
654
|
-
static GType etype = 0;
|
655
|
-
if (etype == 0) {
|
656
|
-
static const GEnumValue values[] = {
|
657
|
-
{ G_UNICODE_CONTROL, "G_UNICODE_CONTROL", "control" },
|
658
|
-
{ G_UNICODE_FORMAT, "G_UNICODE_FORMAT", "format" },
|
659
|
-
{ G_UNICODE_UNASSIGNED, "G_UNICODE_UNASSIGNED", "unassigned" },
|
660
|
-
{ G_UNICODE_PRIVATE_USE, "G_UNICODE_PRIVATE_USE", "private-use" },
|
661
|
-
{ G_UNICODE_SURROGATE, "G_UNICODE_SURROGATE", "surrogate" },
|
662
|
-
{ G_UNICODE_LOWERCASE_LETTER, "G_UNICODE_LOWERCASE_LETTER", "lowercase-letter" },
|
663
|
-
{ G_UNICODE_MODIFIER_LETTER, "G_UNICODE_MODIFIER_LETTER", "modifier-letter" },
|
664
|
-
{ G_UNICODE_OTHER_LETTER, "G_UNICODE_OTHER_LETTER", "other-letter" },
|
665
|
-
{ G_UNICODE_TITLECASE_LETTER, "G_UNICODE_TITLECASE_LETTER", "titlecase-letter" },
|
666
|
-
{ G_UNICODE_UPPERCASE_LETTER, "G_UNICODE_UPPERCASE_LETTER", "uppercase-letter" },
|
667
|
-
{ G_UNICODE_SPACING_MARK, "G_UNICODE_SPACING_MARK", "spacing-mark" },
|
668
|
-
{ G_UNICODE_ENCLOSING_MARK, "G_UNICODE_ENCLOSING_MARK", "enclosing-mark" },
|
669
|
-
{ G_UNICODE_NON_SPACING_MARK, "G_UNICODE_NON_SPACING_MARK", "non-spacing-mark" },
|
670
|
-
{ G_UNICODE_DECIMAL_NUMBER, "G_UNICODE_DECIMAL_NUMBER", "decimal-number" },
|
671
|
-
{ G_UNICODE_LETTER_NUMBER, "G_UNICODE_LETTER_NUMBER", "letter-number" },
|
672
|
-
{ G_UNICODE_OTHER_NUMBER, "G_UNICODE_OTHER_NUMBER", "other-number" },
|
673
|
-
{ G_UNICODE_CONNECT_PUNCTUATION, "G_UNICODE_CONNECT_PUNCTUATION", "connect-punctuation" },
|
674
|
-
{ G_UNICODE_DASH_PUNCTUATION, "G_UNICODE_DASH_PUNCTUATION", "dash-punctuation" },
|
675
|
-
{ G_UNICODE_CLOSE_PUNCTUATION, "G_UNICODE_CLOSE_PUNCTUATION", "close-punctuation" },
|
676
|
-
{ G_UNICODE_FINAL_PUNCTUATION, "G_UNICODE_FINAL_PUNCTUATION", "final-punctuation" },
|
677
|
-
{ G_UNICODE_INITIAL_PUNCTUATION, "G_UNICODE_INITIAL_PUNCTUATION", "initial-punctuation" },
|
678
|
-
{ G_UNICODE_OTHER_PUNCTUATION, "G_UNICODE_OTHER_PUNCTUATION", "other-punctuation" },
|
679
|
-
{ G_UNICODE_OPEN_PUNCTUATION, "G_UNICODE_OPEN_PUNCTUATION", "open-punctuation" },
|
680
|
-
{ G_UNICODE_CURRENCY_SYMBOL, "G_UNICODE_CURRENCY_SYMBOL", "currency-symbol" },
|
681
|
-
{ G_UNICODE_MODIFIER_SYMBOL, "G_UNICODE_MODIFIER_SYMBOL", "modifier-symbol" },
|
682
|
-
{ G_UNICODE_MATH_SYMBOL, "G_UNICODE_MATH_SYMBOL", "math-symbol" },
|
683
|
-
{ G_UNICODE_OTHER_SYMBOL, "G_UNICODE_OTHER_SYMBOL", "other-symbol" },
|
684
|
-
{ G_UNICODE_LINE_SEPARATOR, "G_UNICODE_LINE_SEPARATOR", "line-separator" },
|
685
|
-
{ G_UNICODE_PARAGRAPH_SEPARATOR, "G_UNICODE_PARAGRAPH_SEPARATOR", "paragraph-separator" },
|
686
|
-
{ G_UNICODE_SPACE_SEPARATOR, "G_UNICODE_SPACE_SEPARATOR", "space-separator" },
|
687
|
-
{ 0, NULL, NULL }
|
688
|
-
};
|
689
|
-
etype = g_enum_register_static ("GUnicodeType", values);
|
690
|
-
}
|
691
|
-
return etype;
|
692
|
-
}
|
693
|
-
|
694
|
-
GType
|
695
|
-
g_unicode_break_type_get_type (void)
|
696
|
-
{
|
697
|
-
static GType etype = 0;
|
698
|
-
if (etype == 0) {
|
699
|
-
static const GEnumValue values[] = {
|
700
|
-
{ G_UNICODE_BREAK_MANDATORY, "G_UNICODE_BREAK_MANDATORY", "mandatory" },
|
701
|
-
{ G_UNICODE_BREAK_CARRIAGE_RETURN, "G_UNICODE_BREAK_CARRIAGE_RETURN", "carriage-return" },
|
702
|
-
{ G_UNICODE_BREAK_LINE_FEED, "G_UNICODE_BREAK_LINE_FEED", "line-feed" },
|
703
|
-
{ G_UNICODE_BREAK_COMBINING_MARK, "G_UNICODE_BREAK_COMBINING_MARK", "combining-mark" },
|
704
|
-
{ G_UNICODE_BREAK_SURROGATE, "G_UNICODE_BREAK_SURROGATE", "surrogate" },
|
705
|
-
{ G_UNICODE_BREAK_ZERO_WIDTH_SPACE, "G_UNICODE_BREAK_ZERO_WIDTH_SPACE", "zero-width-space" },
|
706
|
-
{ G_UNICODE_BREAK_INSEPARABLE, "G_UNICODE_BREAK_INSEPARABLE", "inseparable" },
|
707
|
-
{ G_UNICODE_BREAK_NON_BREAKING_GLUE, "G_UNICODE_BREAK_NON_BREAKING_GLUE", "non-breaking-glue" },
|
708
|
-
{ G_UNICODE_BREAK_CONTINGENT, "G_UNICODE_BREAK_CONTINGENT", "contingent" },
|
709
|
-
{ G_UNICODE_BREAK_SPACE, "G_UNICODE_BREAK_SPACE", "space" },
|
710
|
-
{ G_UNICODE_BREAK_AFTER, "G_UNICODE_BREAK_AFTER", "after" },
|
711
|
-
{ G_UNICODE_BREAK_BEFORE, "G_UNICODE_BREAK_BEFORE", "before" },
|
712
|
-
{ G_UNICODE_BREAK_BEFORE_AND_AFTER, "G_UNICODE_BREAK_BEFORE_AND_AFTER", "before-and-after" },
|
713
|
-
{ G_UNICODE_BREAK_HYPHEN, "G_UNICODE_BREAK_HYPHEN", "hyphen" },
|
714
|
-
{ G_UNICODE_BREAK_NON_STARTER, "G_UNICODE_BREAK_NON_STARTER", "non-starter" },
|
715
|
-
{ G_UNICODE_BREAK_OPEN_PUNCTUATION, "G_UNICODE_BREAK_OPEN_PUNCTUATION", "open-punctuation" },
|
716
|
-
{ G_UNICODE_BREAK_CLOSE_PUNCTUATION, "G_UNICODE_BREAK_CLOSE_PUNCTUATION", "close-punctuation" },
|
717
|
-
{ G_UNICODE_BREAK_QUOTATION, "G_UNICODE_BREAK_QUOTATION", "quotation" },
|
718
|
-
{ G_UNICODE_BREAK_EXCLAMATION, "G_UNICODE_BREAK_EXCLAMATION", "exclamation" },
|
719
|
-
{ G_UNICODE_BREAK_IDEOGRAPHIC, "G_UNICODE_BREAK_IDEOGRAPHIC", "ideographic" },
|
720
|
-
{ G_UNICODE_BREAK_NUMERIC, "G_UNICODE_BREAK_NUMERIC", "numeric" },
|
721
|
-
{ G_UNICODE_BREAK_INFIX_SEPARATOR, "G_UNICODE_BREAK_INFIX_SEPARATOR", "infix-separator" },
|
722
|
-
{ G_UNICODE_BREAK_SYMBOL, "G_UNICODE_BREAK_SYMBOL", "symbol" },
|
723
|
-
{ G_UNICODE_BREAK_ALPHABETIC, "G_UNICODE_BREAK_ALPHABETIC", "alphabetic" },
|
724
|
-
{ G_UNICODE_BREAK_PREFIX, "G_UNICODE_BREAK_PREFIX", "prefix" },
|
725
|
-
{ G_UNICODE_BREAK_POSTFIX, "G_UNICODE_BREAK_POSTFIX", "postfix" },
|
726
|
-
{ G_UNICODE_BREAK_COMPLEX_CONTEXT, "G_UNICODE_BREAK_COMPLEX_CONTEXT", "complex-context" },
|
727
|
-
{ G_UNICODE_BREAK_AMBIGUOUS, "G_UNICODE_BREAK_AMBIGUOUS", "ambiguous" },
|
728
|
-
{ G_UNICODE_BREAK_UNKNOWN, "G_UNICODE_BREAK_UNKNOWN", "unknown" },
|
729
|
-
{ G_UNICODE_BREAK_NEXT_LINE, "G_UNICODE_BREAK_NEXT_LINE", "next-line" },
|
730
|
-
{ G_UNICODE_BREAK_WORD_JOINER, "G_UNICODE_BREAK_WORD_JOINER", "word-joiner" },
|
731
|
-
{ G_UNICODE_BREAK_HANGUL_L_JAMO, "G_UNICODE_BREAK_HANGUL_L_JAMO", "hangul-l-jamo" },
|
732
|
-
{ G_UNICODE_BREAK_HANGUL_V_JAMO, "G_UNICODE_BREAK_HANGUL_V_JAMO", "hangul-v-jamo" },
|
733
|
-
{ G_UNICODE_BREAK_HANGUL_T_JAMO, "G_UNICODE_BREAK_HANGUL_T_JAMO", "hangul-t-jamo" },
|
734
|
-
{ G_UNICODE_BREAK_HANGUL_LV_SYLLABLE, "G_UNICODE_BREAK_HANGUL_LV_SYLLABLE", "hangul-lv-syllable" },
|
735
|
-
{ G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE, "G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE", "hangul-lvt-syllable" },
|
736
|
-
{ G_UNICODE_BREAK_CLOSE_PARANTHESIS, "G_UNICODE_BREAK_CLOSE_PARANTHESIS", "close-paranthesis" },
|
737
|
-
{ G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER, "G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER", "conditional-japanese-starter" },
|
738
|
-
{ G_UNICODE_BREAK_HEBREW_LETTER, "G_UNICODE_BREAK_HEBREW_LETTER", "hebrew-letter" },
|
739
|
-
{ G_UNICODE_BREAK_REGIONAL_INDICATOR, "G_UNICODE_BREAK_REGIONAL_INDICATOR", "regional-indicator" },
|
740
|
-
{ 0, NULL, NULL }
|
741
|
-
};
|
742
|
-
etype = g_enum_register_static ("GUnicodeBreakType", values);
|
743
|
-
}
|
744
|
-
return etype;
|
745
|
-
}
|
746
|
-
|
747
|
-
GType
|
748
|
-
g_unicode_script_get_type (void)
|
749
|
-
{
|
750
|
-
static GType etype = 0;
|
751
|
-
if (etype == 0) {
|
752
|
-
static const GEnumValue values[] = {
|
753
|
-
{ G_UNICODE_SCRIPT_INVALID_CODE, "G_UNICODE_SCRIPT_INVALID_CODE", "invalid-code" },
|
754
|
-
{ G_UNICODE_SCRIPT_COMMON, "G_UNICODE_SCRIPT_COMMON", "common" },
|
755
|
-
{ G_UNICODE_SCRIPT_INHERITED, "G_UNICODE_SCRIPT_INHERITED", "inherited" },
|
756
|
-
{ G_UNICODE_SCRIPT_ARABIC, "G_UNICODE_SCRIPT_ARABIC", "arabic" },
|
757
|
-
{ G_UNICODE_SCRIPT_ARMENIAN, "G_UNICODE_SCRIPT_ARMENIAN", "armenian" },
|
758
|
-
{ G_UNICODE_SCRIPT_BENGALI, "G_UNICODE_SCRIPT_BENGALI", "bengali" },
|
759
|
-
{ G_UNICODE_SCRIPT_BOPOMOFO, "G_UNICODE_SCRIPT_BOPOMOFO", "bopomofo" },
|
760
|
-
{ G_UNICODE_SCRIPT_CHEROKEE, "G_UNICODE_SCRIPT_CHEROKEE", "cherokee" },
|
761
|
-
{ G_UNICODE_SCRIPT_COPTIC, "G_UNICODE_SCRIPT_COPTIC", "coptic" },
|
762
|
-
{ G_UNICODE_SCRIPT_CYRILLIC, "G_UNICODE_SCRIPT_CYRILLIC", "cyrillic" },
|
763
|
-
{ G_UNICODE_SCRIPT_DESERET, "G_UNICODE_SCRIPT_DESERET", "deseret" },
|
764
|
-
{ G_UNICODE_SCRIPT_DEVANAGARI, "G_UNICODE_SCRIPT_DEVANAGARI", "devanagari" },
|
765
|
-
{ G_UNICODE_SCRIPT_ETHIOPIC, "G_UNICODE_SCRIPT_ETHIOPIC", "ethiopic" },
|
766
|
-
{ G_UNICODE_SCRIPT_GEORGIAN, "G_UNICODE_SCRIPT_GEORGIAN", "georgian" },
|
767
|
-
{ G_UNICODE_SCRIPT_GOTHIC, "G_UNICODE_SCRIPT_GOTHIC", "gothic" },
|
768
|
-
{ G_UNICODE_SCRIPT_GREEK, "G_UNICODE_SCRIPT_GREEK", "greek" },
|
769
|
-
{ G_UNICODE_SCRIPT_GUJARATI, "G_UNICODE_SCRIPT_GUJARATI", "gujarati" },
|
770
|
-
{ G_UNICODE_SCRIPT_GURMUKHI, "G_UNICODE_SCRIPT_GURMUKHI", "gurmukhi" },
|
771
|
-
{ G_UNICODE_SCRIPT_HAN, "G_UNICODE_SCRIPT_HAN", "han" },
|
772
|
-
{ G_UNICODE_SCRIPT_HANGUL, "G_UNICODE_SCRIPT_HANGUL", "hangul" },
|
773
|
-
{ G_UNICODE_SCRIPT_HEBREW, "G_UNICODE_SCRIPT_HEBREW", "hebrew" },
|
774
|
-
{ G_UNICODE_SCRIPT_HIRAGANA, "G_UNICODE_SCRIPT_HIRAGANA", "hiragana" },
|
775
|
-
{ G_UNICODE_SCRIPT_KANNADA, "G_UNICODE_SCRIPT_KANNADA", "kannada" },
|
776
|
-
{ G_UNICODE_SCRIPT_KATAKANA, "G_UNICODE_SCRIPT_KATAKANA", "katakana" },
|
777
|
-
{ G_UNICODE_SCRIPT_KHMER, "G_UNICODE_SCRIPT_KHMER", "khmer" },
|
778
|
-
{ G_UNICODE_SCRIPT_LAO, "G_UNICODE_SCRIPT_LAO", "lao" },
|
779
|
-
{ G_UNICODE_SCRIPT_LATIN, "G_UNICODE_SCRIPT_LATIN", "latin" },
|
780
|
-
{ G_UNICODE_SCRIPT_MALAYALAM, "G_UNICODE_SCRIPT_MALAYALAM", "malayalam" },
|
781
|
-
{ G_UNICODE_SCRIPT_MONGOLIAN, "G_UNICODE_SCRIPT_MONGOLIAN", "mongolian" },
|
782
|
-
{ G_UNICODE_SCRIPT_MYANMAR, "G_UNICODE_SCRIPT_MYANMAR", "myanmar" },
|
783
|
-
{ G_UNICODE_SCRIPT_OGHAM, "G_UNICODE_SCRIPT_OGHAM", "ogham" },
|
784
|
-
{ G_UNICODE_SCRIPT_OLD_ITALIC, "G_UNICODE_SCRIPT_OLD_ITALIC", "old-italic" },
|
785
|
-
{ G_UNICODE_SCRIPT_ORIYA, "G_UNICODE_SCRIPT_ORIYA", "oriya" },
|
786
|
-
{ G_UNICODE_SCRIPT_RUNIC, "G_UNICODE_SCRIPT_RUNIC", "runic" },
|
787
|
-
{ G_UNICODE_SCRIPT_SINHALA, "G_UNICODE_SCRIPT_SINHALA", "sinhala" },
|
788
|
-
{ G_UNICODE_SCRIPT_SYRIAC, "G_UNICODE_SCRIPT_SYRIAC", "syriac" },
|
789
|
-
{ G_UNICODE_SCRIPT_TAMIL, "G_UNICODE_SCRIPT_TAMIL", "tamil" },
|
790
|
-
{ G_UNICODE_SCRIPT_TELUGU, "G_UNICODE_SCRIPT_TELUGU", "telugu" },
|
791
|
-
{ G_UNICODE_SCRIPT_THAANA, "G_UNICODE_SCRIPT_THAANA", "thaana" },
|
792
|
-
{ G_UNICODE_SCRIPT_THAI, "G_UNICODE_SCRIPT_THAI", "thai" },
|
793
|
-
{ G_UNICODE_SCRIPT_TIBETAN, "G_UNICODE_SCRIPT_TIBETAN", "tibetan" },
|
794
|
-
{ G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL, "G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL", "canadian-aboriginal" },
|
795
|
-
{ G_UNICODE_SCRIPT_YI, "G_UNICODE_SCRIPT_YI", "yi" },
|
796
|
-
{ G_UNICODE_SCRIPT_TAGALOG, "G_UNICODE_SCRIPT_TAGALOG", "tagalog" },
|
797
|
-
{ G_UNICODE_SCRIPT_HANUNOO, "G_UNICODE_SCRIPT_HANUNOO", "hanunoo" },
|
798
|
-
{ G_UNICODE_SCRIPT_BUHID, "G_UNICODE_SCRIPT_BUHID", "buhid" },
|
799
|
-
{ G_UNICODE_SCRIPT_TAGBANWA, "G_UNICODE_SCRIPT_TAGBANWA", "tagbanwa" },
|
800
|
-
{ G_UNICODE_SCRIPT_BRAILLE, "G_UNICODE_SCRIPT_BRAILLE", "braille" },
|
801
|
-
{ G_UNICODE_SCRIPT_CYPRIOT, "G_UNICODE_SCRIPT_CYPRIOT", "cypriot" },
|
802
|
-
{ G_UNICODE_SCRIPT_LIMBU, "G_UNICODE_SCRIPT_LIMBU", "limbu" },
|
803
|
-
{ G_UNICODE_SCRIPT_OSMANYA, "G_UNICODE_SCRIPT_OSMANYA", "osmanya" },
|
804
|
-
{ G_UNICODE_SCRIPT_SHAVIAN, "G_UNICODE_SCRIPT_SHAVIAN", "shavian" },
|
805
|
-
{ G_UNICODE_SCRIPT_LINEAR_B, "G_UNICODE_SCRIPT_LINEAR_B", "linear-b" },
|
806
|
-
{ G_UNICODE_SCRIPT_TAI_LE, "G_UNICODE_SCRIPT_TAI_LE", "tai-le" },
|
807
|
-
{ G_UNICODE_SCRIPT_UGARITIC, "G_UNICODE_SCRIPT_UGARITIC", "ugaritic" },
|
808
|
-
{ G_UNICODE_SCRIPT_NEW_TAI_LUE, "G_UNICODE_SCRIPT_NEW_TAI_LUE", "new-tai-lue" },
|
809
|
-
{ G_UNICODE_SCRIPT_BUGINESE, "G_UNICODE_SCRIPT_BUGINESE", "buginese" },
|
810
|
-
{ G_UNICODE_SCRIPT_GLAGOLITIC, "G_UNICODE_SCRIPT_GLAGOLITIC", "glagolitic" },
|
811
|
-
{ G_UNICODE_SCRIPT_TIFINAGH, "G_UNICODE_SCRIPT_TIFINAGH", "tifinagh" },
|
812
|
-
{ G_UNICODE_SCRIPT_SYLOTI_NAGRI, "G_UNICODE_SCRIPT_SYLOTI_NAGRI", "syloti-nagri" },
|
813
|
-
{ G_UNICODE_SCRIPT_OLD_PERSIAN, "G_UNICODE_SCRIPT_OLD_PERSIAN", "old-persian" },
|
814
|
-
{ G_UNICODE_SCRIPT_KHAROSHTHI, "G_UNICODE_SCRIPT_KHAROSHTHI", "kharoshthi" },
|
815
|
-
{ G_UNICODE_SCRIPT_UNKNOWN, "G_UNICODE_SCRIPT_UNKNOWN", "unknown" },
|
816
|
-
{ G_UNICODE_SCRIPT_BALINESE, "G_UNICODE_SCRIPT_BALINESE", "balinese" },
|
817
|
-
{ G_UNICODE_SCRIPT_CUNEIFORM, "G_UNICODE_SCRIPT_CUNEIFORM", "cuneiform" },
|
818
|
-
{ G_UNICODE_SCRIPT_PHOENICIAN, "G_UNICODE_SCRIPT_PHOENICIAN", "phoenician" },
|
819
|
-
{ G_UNICODE_SCRIPT_PHAGS_PA, "G_UNICODE_SCRIPT_PHAGS_PA", "phags-pa" },
|
820
|
-
{ G_UNICODE_SCRIPT_NKO, "G_UNICODE_SCRIPT_NKO", "nko" },
|
821
|
-
{ G_UNICODE_SCRIPT_KAYAH_LI, "G_UNICODE_SCRIPT_KAYAH_LI", "kayah-li" },
|
822
|
-
{ G_UNICODE_SCRIPT_LEPCHA, "G_UNICODE_SCRIPT_LEPCHA", "lepcha" },
|
823
|
-
{ G_UNICODE_SCRIPT_REJANG, "G_UNICODE_SCRIPT_REJANG", "rejang" },
|
824
|
-
{ G_UNICODE_SCRIPT_SUNDANESE, "G_UNICODE_SCRIPT_SUNDANESE", "sundanese" },
|
825
|
-
{ G_UNICODE_SCRIPT_SAURASHTRA, "G_UNICODE_SCRIPT_SAURASHTRA", "saurashtra" },
|
826
|
-
{ G_UNICODE_SCRIPT_CHAM, "G_UNICODE_SCRIPT_CHAM", "cham" },
|
827
|
-
{ G_UNICODE_SCRIPT_OL_CHIKI, "G_UNICODE_SCRIPT_OL_CHIKI", "ol-chiki" },
|
828
|
-
{ G_UNICODE_SCRIPT_VAI, "G_UNICODE_SCRIPT_VAI", "vai" },
|
829
|
-
{ G_UNICODE_SCRIPT_CARIAN, "G_UNICODE_SCRIPT_CARIAN", "carian" },
|
830
|
-
{ G_UNICODE_SCRIPT_LYCIAN, "G_UNICODE_SCRIPT_LYCIAN", "lycian" },
|
831
|
-
{ G_UNICODE_SCRIPT_LYDIAN, "G_UNICODE_SCRIPT_LYDIAN", "lydian" },
|
832
|
-
{ G_UNICODE_SCRIPT_AVESTAN, "G_UNICODE_SCRIPT_AVESTAN", "avestan" },
|
833
|
-
{ G_UNICODE_SCRIPT_BAMUM, "G_UNICODE_SCRIPT_BAMUM", "bamum" },
|
834
|
-
{ G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS, "G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS", "egyptian-hieroglyphs" },
|
835
|
-
{ G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC, "G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC", "imperial-aramaic" },
|
836
|
-
{ G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI, "G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI", "inscriptional-pahlavi" },
|
837
|
-
{ G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN, "G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN", "inscriptional-parthian" },
|
838
|
-
{ G_UNICODE_SCRIPT_JAVANESE, "G_UNICODE_SCRIPT_JAVANESE", "javanese" },
|
839
|
-
{ G_UNICODE_SCRIPT_KAITHI, "G_UNICODE_SCRIPT_KAITHI", "kaithi" },
|
840
|
-
{ G_UNICODE_SCRIPT_LISU, "G_UNICODE_SCRIPT_LISU", "lisu" },
|
841
|
-
{ G_UNICODE_SCRIPT_MEETEI_MAYEK, "G_UNICODE_SCRIPT_MEETEI_MAYEK", "meetei-mayek" },
|
842
|
-
{ G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN, "G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN", "old-south-arabian" },
|
843
|
-
{ G_UNICODE_SCRIPT_OLD_TURKIC, "G_UNICODE_SCRIPT_OLD_TURKIC", "old-turkic" },
|
844
|
-
{ G_UNICODE_SCRIPT_SAMARITAN, "G_UNICODE_SCRIPT_SAMARITAN", "samaritan" },
|
845
|
-
{ G_UNICODE_SCRIPT_TAI_THAM, "G_UNICODE_SCRIPT_TAI_THAM", "tai-tham" },
|
846
|
-
{ G_UNICODE_SCRIPT_TAI_VIET, "G_UNICODE_SCRIPT_TAI_VIET", "tai-viet" },
|
847
|
-
{ G_UNICODE_SCRIPT_BATAK, "G_UNICODE_SCRIPT_BATAK", "batak" },
|
848
|
-
{ G_UNICODE_SCRIPT_BRAHMI, "G_UNICODE_SCRIPT_BRAHMI", "brahmi" },
|
849
|
-
{ G_UNICODE_SCRIPT_MANDAIC, "G_UNICODE_SCRIPT_MANDAIC", "mandaic" },
|
850
|
-
{ G_UNICODE_SCRIPT_CHAKMA, "G_UNICODE_SCRIPT_CHAKMA", "chakma" },
|
851
|
-
{ G_UNICODE_SCRIPT_MEROITIC_CURSIVE, "G_UNICODE_SCRIPT_MEROITIC_CURSIVE", "meroitic-cursive" },
|
852
|
-
{ G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS, "G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS", "meroitic-hieroglyphs" },
|
853
|
-
{ G_UNICODE_SCRIPT_MIAO, "G_UNICODE_SCRIPT_MIAO", "miao" },
|
854
|
-
{ G_UNICODE_SCRIPT_SHARADA, "G_UNICODE_SCRIPT_SHARADA", "sharada" },
|
855
|
-
{ G_UNICODE_SCRIPT_SORA_SOMPENG, "G_UNICODE_SCRIPT_SORA_SOMPENG", "sora-sompeng" },
|
856
|
-
{ G_UNICODE_SCRIPT_TAKRI, "G_UNICODE_SCRIPT_TAKRI", "takri" },
|
857
|
-
{ G_UNICODE_SCRIPT_BASSA_VAH, "G_UNICODE_SCRIPT_BASSA_VAH", "bassa-vah" },
|
858
|
-
{ G_UNICODE_SCRIPT_CAUCASIAN_ALBANIAN, "G_UNICODE_SCRIPT_CAUCASIAN_ALBANIAN", "caucasian-albanian" },
|
859
|
-
{ G_UNICODE_SCRIPT_DUPLOYAN, "G_UNICODE_SCRIPT_DUPLOYAN", "duployan" },
|
860
|
-
{ G_UNICODE_SCRIPT_ELBASAN, "G_UNICODE_SCRIPT_ELBASAN", "elbasan" },
|
861
|
-
{ G_UNICODE_SCRIPT_GRANTHA, "G_UNICODE_SCRIPT_GRANTHA", "grantha" },
|
862
|
-
{ G_UNICODE_SCRIPT_KHOJKI, "G_UNICODE_SCRIPT_KHOJKI", "khojki" },
|
863
|
-
{ G_UNICODE_SCRIPT_KHUDAWADI, "G_UNICODE_SCRIPT_KHUDAWADI", "khudawadi" },
|
864
|
-
{ G_UNICODE_SCRIPT_LINEAR_A, "G_UNICODE_SCRIPT_LINEAR_A", "linear-a" },
|
865
|
-
{ G_UNICODE_SCRIPT_MAHAJANI, "G_UNICODE_SCRIPT_MAHAJANI", "mahajani" },
|
866
|
-
{ G_UNICODE_SCRIPT_MANICHAEAN, "G_UNICODE_SCRIPT_MANICHAEAN", "manichaean" },
|
867
|
-
{ G_UNICODE_SCRIPT_MENDE_KIKAKUI, "G_UNICODE_SCRIPT_MENDE_KIKAKUI", "mende-kikakui" },
|
868
|
-
{ G_UNICODE_SCRIPT_MODI, "G_UNICODE_SCRIPT_MODI", "modi" },
|
869
|
-
{ G_UNICODE_SCRIPT_MRO, "G_UNICODE_SCRIPT_MRO", "mro" },
|
870
|
-
{ G_UNICODE_SCRIPT_NABATAEAN, "G_UNICODE_SCRIPT_NABATAEAN", "nabataean" },
|
871
|
-
{ G_UNICODE_SCRIPT_OLD_NORTH_ARABIAN, "G_UNICODE_SCRIPT_OLD_NORTH_ARABIAN", "old-north-arabian" },
|
872
|
-
{ G_UNICODE_SCRIPT_OLD_PERMIC, "G_UNICODE_SCRIPT_OLD_PERMIC", "old-permic" },
|
873
|
-
{ G_UNICODE_SCRIPT_PAHAWH_HMONG, "G_UNICODE_SCRIPT_PAHAWH_HMONG", "pahawh-hmong" },
|
874
|
-
{ G_UNICODE_SCRIPT_PALMYRENE, "G_UNICODE_SCRIPT_PALMYRENE", "palmyrene" },
|
875
|
-
{ G_UNICODE_SCRIPT_PAU_CIN_HAU, "G_UNICODE_SCRIPT_PAU_CIN_HAU", "pau-cin-hau" },
|
876
|
-
{ G_UNICODE_SCRIPT_PSALTER_PAHLAVI, "G_UNICODE_SCRIPT_PSALTER_PAHLAVI", "psalter-pahlavi" },
|
877
|
-
{ G_UNICODE_SCRIPT_SIDDHAM, "G_UNICODE_SCRIPT_SIDDHAM", "siddham" },
|
878
|
-
{ G_UNICODE_SCRIPT_TIRHUTA, "G_UNICODE_SCRIPT_TIRHUTA", "tirhuta" },
|
879
|
-
{ G_UNICODE_SCRIPT_WARANG_CITI, "G_UNICODE_SCRIPT_WARANG_CITI", "warang-citi" },
|
880
|
-
{ 0, NULL, NULL }
|
881
|
-
};
|
882
|
-
etype = g_enum_register_static ("GUnicodeScript", values);
|
883
|
-
}
|
884
|
-
return etype;
|
885
|
-
}
|
886
|
-
|
887
|
-
GType
|
888
|
-
g_normalize_mode_get_type (void)
|
889
|
-
{
|
890
|
-
static GType etype = 0;
|
891
|
-
if (etype == 0) {
|
892
|
-
static const GEnumValue values[] = {
|
893
|
-
{ G_NORMALIZE_DEFAULT, "G_NORMALIZE_DEFAULT", "default" },
|
894
|
-
{ G_NORMALIZE_NFD, "G_NORMALIZE_NFD", "nfd" },
|
895
|
-
{ G_NORMALIZE_DEFAULT_COMPOSE, "G_NORMALIZE_DEFAULT_COMPOSE", "default-compose" },
|
896
|
-
{ G_NORMALIZE_NFC, "G_NORMALIZE_NFC", "nfc" },
|
897
|
-
{ G_NORMALIZE_ALL, "G_NORMALIZE_ALL", "all" },
|
898
|
-
{ G_NORMALIZE_NFKD, "G_NORMALIZE_NFKD", "nfkd" },
|
899
|
-
{ G_NORMALIZE_ALL_COMPOSE, "G_NORMALIZE_ALL_COMPOSE", "all-compose" },
|
900
|
-
{ G_NORMALIZE_NFKC, "G_NORMALIZE_NFKC", "nfkc" },
|
901
|
-
{ 0, NULL, NULL }
|
902
|
-
};
|
903
|
-
etype = g_enum_register_static ("GNormalizeMode", values);
|
904
|
-
}
|
905
|
-
return etype;
|
906
|
-
}
|
907
|
-
|
908
|
-
|
909
|
-
/* enumerations from "/usr/include/glib-2.0/glib/ghook.h" */
|
910
|
-
GType
|
911
|
-
g_hook_flag_mask_get_type (void)
|
912
|
-
{
|
913
|
-
static GType etype = 0;
|
914
|
-
if (etype == 0) {
|
915
|
-
static const GFlagsValue values[] = {
|
916
|
-
{ G_HOOK_FLAG_ACTIVE, "G_HOOK_FLAG_ACTIVE", "active" },
|
917
|
-
{ G_HOOK_FLAG_IN_CALL, "G_HOOK_FLAG_IN_CALL", "in-call" },
|
918
|
-
{ G_HOOK_FLAG_MASK, "G_HOOK_FLAG_MASK", "mask" },
|
919
|
-
{ 0, NULL, NULL }
|
920
|
-
};
|
921
|
-
etype = g_flags_register_static ("GHookFlagMask", values);
|
922
|
-
}
|
923
|
-
return etype;
|
924
|
-
}
|
925
|
-
|
926
|
-
|
927
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gthread.h" */
|
928
|
-
GType
|
929
|
-
g_thread_error_get_type (void)
|
930
|
-
{
|
931
|
-
static GType etype = 0;
|
932
|
-
if (etype == 0) {
|
933
|
-
static const GEnumValue values[] = {
|
934
|
-
{ G_THREAD_ERROR_AGAIN, "G_THREAD_ERROR_AGAIN", "again" },
|
935
|
-
{ 0, NULL, NULL }
|
936
|
-
};
|
937
|
-
etype = g_enum_register_static ("GThreadError", values);
|
938
|
-
}
|
939
|
-
return etype;
|
940
|
-
}
|
941
|
-
|
942
|
-
GType
|
943
|
-
g_once_status_get_type (void)
|
944
|
-
{
|
945
|
-
static GType etype = 0;
|
946
|
-
if (etype == 0) {
|
947
|
-
static const GEnumValue values[] = {
|
948
|
-
{ G_ONCE_STATUS_NOTCALLED, "G_ONCE_STATUS_NOTCALLED", "notcalled" },
|
949
|
-
{ G_ONCE_STATUS_PROGRESS, "G_ONCE_STATUS_PROGRESS", "progress" },
|
950
|
-
{ G_ONCE_STATUS_READY, "G_ONCE_STATUS_READY", "ready" },
|
951
|
-
{ 0, NULL, NULL }
|
952
|
-
};
|
953
|
-
etype = g_enum_register_static ("GOnceStatus", values);
|
954
|
-
}
|
955
|
-
return etype;
|
956
|
-
}
|
957
|
-
|
958
|
-
|
959
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gstrfuncs.h" */
|
960
|
-
GType
|
961
|
-
g_ascii_type_get_type (void)
|
962
|
-
{
|
963
|
-
static GType etype = 0;
|
964
|
-
if (etype == 0) {
|
965
|
-
static const GFlagsValue values[] = {
|
966
|
-
{ G_ASCII_ALNUM, "G_ASCII_ALNUM", "alnum" },
|
967
|
-
{ G_ASCII_ALPHA, "G_ASCII_ALPHA", "alpha" },
|
968
|
-
{ G_ASCII_CNTRL, "G_ASCII_CNTRL", "cntrl" },
|
969
|
-
{ G_ASCII_DIGIT, "G_ASCII_DIGIT", "digit" },
|
970
|
-
{ G_ASCII_GRAPH, "G_ASCII_GRAPH", "graph" },
|
971
|
-
{ G_ASCII_LOWER, "G_ASCII_LOWER", "lower" },
|
972
|
-
{ G_ASCII_PRINT, "G_ASCII_PRINT", "print" },
|
973
|
-
{ G_ASCII_PUNCT, "G_ASCII_PUNCT", "punct" },
|
974
|
-
{ G_ASCII_SPACE, "G_ASCII_SPACE", "space" },
|
975
|
-
{ G_ASCII_UPPER, "G_ASCII_UPPER", "upper" },
|
976
|
-
{ G_ASCII_XDIGIT, "G_ASCII_XDIGIT", "xdigit" },
|
977
|
-
{ 0, NULL, NULL }
|
978
|
-
};
|
979
|
-
etype = g_flags_register_static ("GAsciiType", values);
|
980
|
-
}
|
981
|
-
return etype;
|
982
|
-
}
|
983
|
-
|
984
|
-
|
985
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gmessages.h" */
|
986
|
-
GType
|
987
|
-
g_log_level_flags_get_type (void)
|
988
|
-
{
|
989
|
-
static GType etype = 0;
|
990
|
-
if (etype == 0) {
|
991
|
-
static const GFlagsValue values[] = {
|
992
|
-
{ G_LOG_FLAG_RECURSION, "G_LOG_FLAG_RECURSION", "flag-recursion" },
|
993
|
-
{ G_LOG_FLAG_FATAL, "G_LOG_FLAG_FATAL", "flag-fatal" },
|
994
|
-
{ G_LOG_LEVEL_ERROR, "G_LOG_LEVEL_ERROR", "level-error" },
|
995
|
-
{ G_LOG_LEVEL_CRITICAL, "G_LOG_LEVEL_CRITICAL", "level-critical" },
|
996
|
-
{ G_LOG_LEVEL_WARNING, "G_LOG_LEVEL_WARNING", "level-warning" },
|
997
|
-
{ G_LOG_LEVEL_MESSAGE, "G_LOG_LEVEL_MESSAGE", "level-message" },
|
998
|
-
{ G_LOG_LEVEL_INFO, "G_LOG_LEVEL_INFO", "level-info" },
|
999
|
-
{ G_LOG_LEVEL_DEBUG, "G_LOG_LEVEL_DEBUG", "level-debug" },
|
1000
|
-
{ G_LOG_LEVEL_MASK, "G_LOG_LEVEL_MASK", "level-mask" },
|
1001
|
-
{ 0, NULL, NULL }
|
1002
|
-
};
|
1003
|
-
etype = g_flags_register_static ("GLogLevelFlags", values);
|
1004
|
-
}
|
1005
|
-
return etype;
|
1006
|
-
}
|
1007
|
-
|
1008
|
-
|
1009
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gchecksum.h" */
|
1010
|
-
GType
|
1011
|
-
g_checksum_type_get_type (void)
|
1012
|
-
{
|
1013
|
-
static GType etype = 0;
|
1014
|
-
if (etype == 0) {
|
1015
|
-
static const GEnumValue values[] = {
|
1016
|
-
{ G_CHECKSUM_MD5, "G_CHECKSUM_MD5", "md5" },
|
1017
|
-
{ G_CHECKSUM_SHA1, "G_CHECKSUM_SHA1", "sha1" },
|
1018
|
-
{ G_CHECKSUM_SHA256, "G_CHECKSUM_SHA256", "sha256" },
|
1019
|
-
{ G_CHECKSUM_SHA512, "G_CHECKSUM_SHA512", "sha512" },
|
1020
|
-
{ 0, NULL, NULL }
|
1021
|
-
};
|
1022
|
-
etype = g_enum_register_static ("GChecksumType", values);
|
1023
|
-
}
|
1024
|
-
return etype;
|
1025
|
-
}
|
1026
|
-
|
1027
|
-
|
1028
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gutils.h" */
|
1029
|
-
GType
|
1030
|
-
g_user_directory_get_type (void)
|
1031
|
-
{
|
1032
|
-
static GType etype = 0;
|
1033
|
-
if (etype == 0) {
|
1034
|
-
static const GEnumValue values[] = {
|
1035
|
-
{ G_USER_DIRECTORY_DESKTOP, "G_USER_DIRECTORY_DESKTOP", "directory-desktop" },
|
1036
|
-
{ G_USER_DIRECTORY_DOCUMENTS, "G_USER_DIRECTORY_DOCUMENTS", "directory-documents" },
|
1037
|
-
{ G_USER_DIRECTORY_DOWNLOAD, "G_USER_DIRECTORY_DOWNLOAD", "directory-download" },
|
1038
|
-
{ G_USER_DIRECTORY_MUSIC, "G_USER_DIRECTORY_MUSIC", "directory-music" },
|
1039
|
-
{ G_USER_DIRECTORY_PICTURES, "G_USER_DIRECTORY_PICTURES", "directory-pictures" },
|
1040
|
-
{ G_USER_DIRECTORY_PUBLIC_SHARE, "G_USER_DIRECTORY_PUBLIC_SHARE", "directory-public-share" },
|
1041
|
-
{ G_USER_DIRECTORY_TEMPLATES, "G_USER_DIRECTORY_TEMPLATES", "directory-templates" },
|
1042
|
-
{ G_USER_DIRECTORY_VIDEOS, "G_USER_DIRECTORY_VIDEOS", "directory-videos" },
|
1043
|
-
{ G_USER_N_DIRECTORIES, "G_USER_N_DIRECTORIES", "n-directories" },
|
1044
|
-
{ 0, NULL, NULL }
|
1045
|
-
};
|
1046
|
-
etype = g_enum_register_static ("GUserDirectory", values);
|
1047
|
-
}
|
1048
|
-
return etype;
|
1049
|
-
}
|
1050
|
-
|
1051
|
-
GType
|
1052
|
-
g_format_size_flags_get_type (void)
|
1053
|
-
{
|
1054
|
-
static GType etype = 0;
|
1055
|
-
if (etype == 0) {
|
1056
|
-
static const GFlagsValue values[] = {
|
1057
|
-
{ G_FORMAT_SIZE_DEFAULT, "G_FORMAT_SIZE_DEFAULT", "default" },
|
1058
|
-
{ G_FORMAT_SIZE_LONG_FORMAT, "G_FORMAT_SIZE_LONG_FORMAT", "long-format" },
|
1059
|
-
{ G_FORMAT_SIZE_IEC_UNITS, "G_FORMAT_SIZE_IEC_UNITS", "iec-units" },
|
1060
|
-
{ 0, NULL, NULL }
|
1061
|
-
};
|
1062
|
-
etype = g_flags_register_static ("GFormatSizeFlags", values);
|
1063
|
-
}
|
1064
|
-
return etype;
|
1065
|
-
}
|
1066
|
-
|
1067
|
-
|
1068
|
-
/* enumerations from "/usr/include/glib-2.0/glib/goption.h" */
|
1069
|
-
GType
|
1070
|
-
g_option_flags_get_type (void)
|
1071
|
-
{
|
1072
|
-
static GType etype = 0;
|
1073
|
-
if (etype == 0) {
|
1074
|
-
static const GFlagsValue values[] = {
|
1075
|
-
{ G_OPTION_FLAG_NONE, "G_OPTION_FLAG_NONE", "none" },
|
1076
|
-
{ G_OPTION_FLAG_HIDDEN, "G_OPTION_FLAG_HIDDEN", "hidden" },
|
1077
|
-
{ G_OPTION_FLAG_IN_MAIN, "G_OPTION_FLAG_IN_MAIN", "in-main" },
|
1078
|
-
{ G_OPTION_FLAG_REVERSE, "G_OPTION_FLAG_REVERSE", "reverse" },
|
1079
|
-
{ G_OPTION_FLAG_NO_ARG, "G_OPTION_FLAG_NO_ARG", "no-arg" },
|
1080
|
-
{ G_OPTION_FLAG_FILENAME, "G_OPTION_FLAG_FILENAME", "filename" },
|
1081
|
-
{ G_OPTION_FLAG_OPTIONAL_ARG, "G_OPTION_FLAG_OPTIONAL_ARG", "optional-arg" },
|
1082
|
-
{ G_OPTION_FLAG_NOALIAS, "G_OPTION_FLAG_NOALIAS", "noalias" },
|
1083
|
-
{ 0, NULL, NULL }
|
1084
|
-
};
|
1085
|
-
etype = g_flags_register_static ("GOptionFlags", values);
|
1086
|
-
}
|
1087
|
-
return etype;
|
1088
|
-
}
|
1089
|
-
|
1090
|
-
GType
|
1091
|
-
g_option_arg_get_type (void)
|
1092
|
-
{
|
1093
|
-
static GType etype = 0;
|
1094
|
-
if (etype == 0) {
|
1095
|
-
static const GEnumValue values[] = {
|
1096
|
-
{ G_OPTION_ARG_NONE, "G_OPTION_ARG_NONE", "none" },
|
1097
|
-
{ G_OPTION_ARG_STRING, "G_OPTION_ARG_STRING", "string" },
|
1098
|
-
{ G_OPTION_ARG_INT, "G_OPTION_ARG_INT", "int" },
|
1099
|
-
{ G_OPTION_ARG_CALLBACK, "G_OPTION_ARG_CALLBACK", "callback" },
|
1100
|
-
{ G_OPTION_ARG_FILENAME, "G_OPTION_ARG_FILENAME", "filename" },
|
1101
|
-
{ G_OPTION_ARG_STRING_ARRAY, "G_OPTION_ARG_STRING_ARRAY", "string-array" },
|
1102
|
-
{ G_OPTION_ARG_FILENAME_ARRAY, "G_OPTION_ARG_FILENAME_ARRAY", "filename-array" },
|
1103
|
-
{ G_OPTION_ARG_DOUBLE, "G_OPTION_ARG_DOUBLE", "double" },
|
1104
|
-
{ G_OPTION_ARG_INT64, "G_OPTION_ARG_INT64", "int64" },
|
1105
|
-
{ 0, NULL, NULL }
|
1106
|
-
};
|
1107
|
-
etype = g_enum_register_static ("GOptionArg", values);
|
1108
|
-
}
|
1109
|
-
return etype;
|
1110
|
-
}
|
1111
|
-
|
1112
|
-
GType
|
1113
|
-
g_option_error_get_type (void)
|
1114
|
-
{
|
1115
|
-
static GType etype = 0;
|
1116
|
-
if (etype == 0) {
|
1117
|
-
static const GEnumValue values[] = {
|
1118
|
-
{ G_OPTION_ERROR_UNKNOWN_OPTION, "G_OPTION_ERROR_UNKNOWN_OPTION", "unknown-option" },
|
1119
|
-
{ G_OPTION_ERROR_BAD_VALUE, "G_OPTION_ERROR_BAD_VALUE", "bad-value" },
|
1120
|
-
{ G_OPTION_ERROR_FAILED, "G_OPTION_ERROR_FAILED", "failed" },
|
1121
|
-
{ 0, NULL, NULL }
|
1122
|
-
};
|
1123
|
-
etype = g_enum_register_static ("GOptionError", values);
|
1124
|
-
}
|
1125
|
-
return etype;
|
1126
|
-
}
|
1127
|
-
|
1128
|
-
|
1129
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gconvert.h" */
|
1130
|
-
GType
|
1131
|
-
g_convert_error_get_type (void)
|
1132
|
-
{
|
1133
|
-
static GType etype = 0;
|
1134
|
-
if (etype == 0) {
|
1135
|
-
static const GEnumValue values[] = {
|
1136
|
-
{ G_CONVERT_ERROR_NO_CONVERSION, "G_CONVERT_ERROR_NO_CONVERSION", "no-conversion" },
|
1137
|
-
{ G_CONVERT_ERROR_ILLEGAL_SEQUENCE, "G_CONVERT_ERROR_ILLEGAL_SEQUENCE", "illegal-sequence" },
|
1138
|
-
{ G_CONVERT_ERROR_FAILED, "G_CONVERT_ERROR_FAILED", "failed" },
|
1139
|
-
{ G_CONVERT_ERROR_PARTIAL_INPUT, "G_CONVERT_ERROR_PARTIAL_INPUT", "partial-input" },
|
1140
|
-
{ G_CONVERT_ERROR_BAD_URI, "G_CONVERT_ERROR_BAD_URI", "bad-uri" },
|
1141
|
-
{ G_CONVERT_ERROR_NOT_ABSOLUTE_PATH, "G_CONVERT_ERROR_NOT_ABSOLUTE_PATH", "not-absolute-path" },
|
1142
|
-
{ G_CONVERT_ERROR_NO_MEMORY, "G_CONVERT_ERROR_NO_MEMORY", "no-memory" },
|
1143
|
-
{ 0, NULL, NULL }
|
1144
|
-
};
|
1145
|
-
etype = g_enum_register_static ("GConvertError", values);
|
1146
|
-
}
|
1147
|
-
return etype;
|
1148
|
-
}
|
1149
|
-
|
1150
|
-
|
1151
|
-
/* enumerations from "/usr/include/glib-2.0/glib/gbookmarkfile.h" */
|
1152
|
-
GType
|
1153
|
-
g_bookmark_file_error_get_type (void)
|
1154
|
-
{
|
1155
|
-
static GType etype = 0;
|
1156
|
-
if (etype == 0) {
|
1157
|
-
static const GEnumValue values[] = {
|
1158
|
-
{ G_BOOKMARK_FILE_ERROR_INVALID_URI, "G_BOOKMARK_FILE_ERROR_INVALID_URI", "invalid-uri" },
|
1159
|
-
{ G_BOOKMARK_FILE_ERROR_INVALID_VALUE, "G_BOOKMARK_FILE_ERROR_INVALID_VALUE", "invalid-value" },
|
1160
|
-
{ G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED, "G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED", "app-not-registered" },
|
1161
|
-
{ G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND, "G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND", "uri-not-found" },
|
1162
|
-
{ G_BOOKMARK_FILE_ERROR_READ, "G_BOOKMARK_FILE_ERROR_READ", "read" },
|
1163
|
-
{ G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING, "G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING", "unknown-encoding" },
|
1164
|
-
{ G_BOOKMARK_FILE_ERROR_WRITE, "G_BOOKMARK_FILE_ERROR_WRITE", "write" },
|
1165
|
-
{ G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND, "G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND", "file-not-found" },
|
1166
|
-
{ 0, NULL, NULL }
|
1167
|
-
};
|
1168
|
-
etype = g_enum_register_static ("GBookmarkFileError", values);
|
1169
|
-
}
|
1170
|
-
return etype;
|
1171
|
-
}
|
1172
|
-
|
1173
|
-
|
1174
|
-
/* enumerations from "/usr/include/glib-2.0/gobject/gsignal.h" */
|
1175
|
-
GType
|
1176
|
-
g_signal_flags_get_type (void)
|
1177
|
-
{
|
1178
|
-
static GType etype = 0;
|
1179
|
-
if (etype == 0) {
|
1180
|
-
static const GFlagsValue values[] = {
|
1181
|
-
{ G_SIGNAL_RUN_FIRST, "G_SIGNAL_RUN_FIRST", "run-first" },
|
1182
|
-
{ G_SIGNAL_RUN_LAST, "G_SIGNAL_RUN_LAST", "run-last" },
|
1183
|
-
{ G_SIGNAL_RUN_CLEANUP, "G_SIGNAL_RUN_CLEANUP", "run-cleanup" },
|
1184
|
-
{ G_SIGNAL_NO_RECURSE, "G_SIGNAL_NO_RECURSE", "no-recurse" },
|
1185
|
-
{ G_SIGNAL_DETAILED, "G_SIGNAL_DETAILED", "detailed" },
|
1186
|
-
{ G_SIGNAL_ACTION, "G_SIGNAL_ACTION", "action" },
|
1187
|
-
{ G_SIGNAL_NO_HOOKS, "G_SIGNAL_NO_HOOKS", "no-hooks" },
|
1188
|
-
{ G_SIGNAL_MUST_COLLECT, "G_SIGNAL_MUST_COLLECT", "must-collect" },
|
1189
|
-
{ G_SIGNAL_DEPRECATED, "G_SIGNAL_DEPRECATED", "deprecated" },
|
1190
|
-
{ 0, NULL, NULL }
|
1191
|
-
};
|
1192
|
-
etype = g_flags_register_static ("GSignalFlags", values);
|
1193
|
-
}
|
1194
|
-
return etype;
|
1195
|
-
}
|
1196
|
-
|
1197
|
-
GType
|
1198
|
-
g_connect_flags_get_type (void)
|
1199
|
-
{
|
1200
|
-
static GType etype = 0;
|
1201
|
-
if (etype == 0) {
|
1202
|
-
static const GFlagsValue values[] = {
|
1203
|
-
{ G_CONNECT_AFTER, "G_CONNECT_AFTER", "after" },
|
1204
|
-
{ G_CONNECT_SWAPPED, "G_CONNECT_SWAPPED", "swapped" },
|
1205
|
-
{ 0, NULL, NULL }
|
1206
|
-
};
|
1207
|
-
etype = g_flags_register_static ("GConnectFlags", values);
|
1208
|
-
}
|
1209
|
-
return etype;
|
1210
|
-
}
|
1211
|
-
|
1212
|
-
GType
|
1213
|
-
g_signal_match_type_get_type (void)
|
1214
|
-
{
|
1215
|
-
static GType etype = 0;
|
1216
|
-
if (etype == 0) {
|
1217
|
-
static const GFlagsValue values[] = {
|
1218
|
-
{ G_SIGNAL_MATCH_ID, "G_SIGNAL_MATCH_ID", "id" },
|
1219
|
-
{ G_SIGNAL_MATCH_DETAIL, "G_SIGNAL_MATCH_DETAIL", "detail" },
|
1220
|
-
{ G_SIGNAL_MATCH_CLOSURE, "G_SIGNAL_MATCH_CLOSURE", "closure" },
|
1221
|
-
{ G_SIGNAL_MATCH_FUNC, "G_SIGNAL_MATCH_FUNC", "func" },
|
1222
|
-
{ G_SIGNAL_MATCH_DATA, "G_SIGNAL_MATCH_DATA", "data" },
|
1223
|
-
{ G_SIGNAL_MATCH_UNBLOCKED, "G_SIGNAL_MATCH_UNBLOCKED", "unblocked" },
|
1224
|
-
{ 0, NULL, NULL }
|
1225
|
-
};
|
1226
|
-
etype = g_flags_register_static ("GSignalMatchType", values);
|
1227
|
-
}
|
1228
|
-
return etype;
|
1229
|
-
}
|
1230
|
-
|
1231
|
-
|
1232
|
-
/* Generated data ends here */
|
1233
|
-
|