1 // This file was generated by gir (https://github.com/gtk-rs/gir)
2 // from gir-files (https://github.com/gtk-rs/gir-files)
3 // DO NOT EDIT
4 
5 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
6 #![allow(
7     clippy::approx_constant,
8     clippy::type_complexity,
9     clippy::unreadable_literal
10 )]
11 
12 extern crate libc;
13 
14 mod manual;
15 
16 pub use manual::*;
17 
18 #[allow(unused_imports)]
19 use libc::{
20     c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
21     intptr_t, size_t, ssize_t, time_t, uintptr_t, FILE,
22 };
23 
24 pub type gboolean = c_int;
25 pub const GFALSE: c_int = 0;
26 pub const GTRUE: c_int = 1;
27 
28 pub type gconstpointer = *const c_void;
29 pub type gpointer = *mut c_void;
30 
31 // Aliases
32 pub type GDateDay = u8;
33 pub type GDateYear = u16;
34 pub type GMutexLocker = c_void;
35 pub type GQuark = u32;
36 pub type GRWLockReaderLocker = c_void;
37 pub type GRWLockWriterLocker = c_void;
38 pub type GRecMutexLocker = c_void;
39 pub type GRefString = c_char;
40 pub type GStrv = *mut *mut c_char;
41 pub type GTime = i32;
42 pub type GTimeSpan = i64;
43 pub type GType = size_t;
44 
45 // Enums
46 pub type GBookmarkFileError = c_int;
47 pub const G_BOOKMARK_FILE_ERROR_INVALID_URI: GBookmarkFileError = 0;
48 pub const G_BOOKMARK_FILE_ERROR_INVALID_VALUE: GBookmarkFileError = 1;
49 pub const G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED: GBookmarkFileError = 2;
50 pub const G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND: GBookmarkFileError = 3;
51 pub const G_BOOKMARK_FILE_ERROR_READ: GBookmarkFileError = 4;
52 pub const G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING: GBookmarkFileError = 5;
53 pub const G_BOOKMARK_FILE_ERROR_WRITE: GBookmarkFileError = 6;
54 pub const G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND: GBookmarkFileError = 7;
55 
56 pub type GChecksumType = c_int;
57 pub const G_CHECKSUM_MD5: GChecksumType = 0;
58 pub const G_CHECKSUM_SHA1: GChecksumType = 1;
59 pub const G_CHECKSUM_SHA256: GChecksumType = 2;
60 pub const G_CHECKSUM_SHA512: GChecksumType = 3;
61 pub const G_CHECKSUM_SHA384: GChecksumType = 4;
62 
63 pub type GConvertError = c_int;
64 pub const G_CONVERT_ERROR_NO_CONVERSION: GConvertError = 0;
65 pub const G_CONVERT_ERROR_ILLEGAL_SEQUENCE: GConvertError = 1;
66 pub const G_CONVERT_ERROR_FAILED: GConvertError = 2;
67 pub const G_CONVERT_ERROR_PARTIAL_INPUT: GConvertError = 3;
68 pub const G_CONVERT_ERROR_BAD_URI: GConvertError = 4;
69 pub const G_CONVERT_ERROR_NOT_ABSOLUTE_PATH: GConvertError = 5;
70 pub const G_CONVERT_ERROR_NO_MEMORY: GConvertError = 6;
71 pub const G_CONVERT_ERROR_EMBEDDED_NUL: GConvertError = 7;
72 
73 pub type GDateDMY = c_int;
74 pub const G_DATE_DAY: GDateDMY = 0;
75 pub const G_DATE_MONTH: GDateDMY = 1;
76 pub const G_DATE_YEAR: GDateDMY = 2;
77 
78 pub type GDateMonth = c_int;
79 pub const G_DATE_BAD_MONTH: GDateMonth = 0;
80 pub const G_DATE_JANUARY: GDateMonth = 1;
81 pub const G_DATE_FEBRUARY: GDateMonth = 2;
82 pub const G_DATE_MARCH: GDateMonth = 3;
83 pub const G_DATE_APRIL: GDateMonth = 4;
84 pub const G_DATE_MAY: GDateMonth = 5;
85 pub const G_DATE_JUNE: GDateMonth = 6;
86 pub const G_DATE_JULY: GDateMonth = 7;
87 pub const G_DATE_AUGUST: GDateMonth = 8;
88 pub const G_DATE_SEPTEMBER: GDateMonth = 9;
89 pub const G_DATE_OCTOBER: GDateMonth = 10;
90 pub const G_DATE_NOVEMBER: GDateMonth = 11;
91 pub const G_DATE_DECEMBER: GDateMonth = 12;
92 
93 pub type GDateWeekday = c_int;
94 pub const G_DATE_BAD_WEEKDAY: GDateWeekday = 0;
95 pub const G_DATE_MONDAY: GDateWeekday = 1;
96 pub const G_DATE_TUESDAY: GDateWeekday = 2;
97 pub const G_DATE_WEDNESDAY: GDateWeekday = 3;
98 pub const G_DATE_THURSDAY: GDateWeekday = 4;
99 pub const G_DATE_FRIDAY: GDateWeekday = 5;
100 pub const G_DATE_SATURDAY: GDateWeekday = 6;
101 pub const G_DATE_SUNDAY: GDateWeekday = 7;
102 
103 pub type GErrorType = c_int;
104 pub const G_ERR_UNKNOWN: GErrorType = 0;
105 pub const G_ERR_UNEXP_EOF: GErrorType = 1;
106 pub const G_ERR_UNEXP_EOF_IN_STRING: GErrorType = 2;
107 pub const G_ERR_UNEXP_EOF_IN_COMMENT: GErrorType = 3;
108 pub const G_ERR_NON_DIGIT_IN_CONST: GErrorType = 4;
109 pub const G_ERR_DIGIT_RADIX: GErrorType = 5;
110 pub const G_ERR_FLOAT_RADIX: GErrorType = 6;
111 pub const G_ERR_FLOAT_MALFORMED: GErrorType = 7;
112 
113 pub type GFileError = c_int;
114 pub const G_FILE_ERROR_EXIST: GFileError = 0;
115 pub const G_FILE_ERROR_ISDIR: GFileError = 1;
116 pub const G_FILE_ERROR_ACCES: GFileError = 2;
117 pub const G_FILE_ERROR_NAMETOOLONG: GFileError = 3;
118 pub const G_FILE_ERROR_NOENT: GFileError = 4;
119 pub const G_FILE_ERROR_NOTDIR: GFileError = 5;
120 pub const G_FILE_ERROR_NXIO: GFileError = 6;
121 pub const G_FILE_ERROR_NODEV: GFileError = 7;
122 pub const G_FILE_ERROR_ROFS: GFileError = 8;
123 pub const G_FILE_ERROR_TXTBSY: GFileError = 9;
124 pub const G_FILE_ERROR_FAULT: GFileError = 10;
125 pub const G_FILE_ERROR_LOOP: GFileError = 11;
126 pub const G_FILE_ERROR_NOSPC: GFileError = 12;
127 pub const G_FILE_ERROR_NOMEM: GFileError = 13;
128 pub const G_FILE_ERROR_MFILE: GFileError = 14;
129 pub const G_FILE_ERROR_NFILE: GFileError = 15;
130 pub const G_FILE_ERROR_BADF: GFileError = 16;
131 pub const G_FILE_ERROR_INVAL: GFileError = 17;
132 pub const G_FILE_ERROR_PIPE: GFileError = 18;
133 pub const G_FILE_ERROR_AGAIN: GFileError = 19;
134 pub const G_FILE_ERROR_INTR: GFileError = 20;
135 pub const G_FILE_ERROR_IO: GFileError = 21;
136 pub const G_FILE_ERROR_PERM: GFileError = 22;
137 pub const G_FILE_ERROR_NOSYS: GFileError = 23;
138 pub const G_FILE_ERROR_FAILED: GFileError = 24;
139 
140 pub type GIOChannelError = c_int;
141 pub const G_IO_CHANNEL_ERROR_FBIG: GIOChannelError = 0;
142 pub const G_IO_CHANNEL_ERROR_INVAL: GIOChannelError = 1;
143 pub const G_IO_CHANNEL_ERROR_IO: GIOChannelError = 2;
144 pub const G_IO_CHANNEL_ERROR_ISDIR: GIOChannelError = 3;
145 pub const G_IO_CHANNEL_ERROR_NOSPC: GIOChannelError = 4;
146 pub const G_IO_CHANNEL_ERROR_NXIO: GIOChannelError = 5;
147 pub const G_IO_CHANNEL_ERROR_OVERFLOW: GIOChannelError = 6;
148 pub const G_IO_CHANNEL_ERROR_PIPE: GIOChannelError = 7;
149 pub const G_IO_CHANNEL_ERROR_FAILED: GIOChannelError = 8;
150 
151 pub type GIOError = c_int;
152 pub const G_IO_ERROR_NONE: GIOError = 0;
153 pub const G_IO_ERROR_AGAIN: GIOError = 1;
154 pub const G_IO_ERROR_INVAL: GIOError = 2;
155 pub const G_IO_ERROR_UNKNOWN: GIOError = 3;
156 
157 pub type GIOStatus = c_int;
158 pub const G_IO_STATUS_ERROR: GIOStatus = 0;
159 pub const G_IO_STATUS_NORMAL: GIOStatus = 1;
160 pub const G_IO_STATUS_EOF: GIOStatus = 2;
161 pub const G_IO_STATUS_AGAIN: GIOStatus = 3;
162 
163 pub type GKeyFileError = c_int;
164 pub const G_KEY_FILE_ERROR_UNKNOWN_ENCODING: GKeyFileError = 0;
165 pub const G_KEY_FILE_ERROR_PARSE: GKeyFileError = 1;
166 pub const G_KEY_FILE_ERROR_NOT_FOUND: GKeyFileError = 2;
167 pub const G_KEY_FILE_ERROR_KEY_NOT_FOUND: GKeyFileError = 3;
168 pub const G_KEY_FILE_ERROR_GROUP_NOT_FOUND: GKeyFileError = 4;
169 pub const G_KEY_FILE_ERROR_INVALID_VALUE: GKeyFileError = 5;
170 
171 pub type GLogWriterOutput = c_int;
172 pub const G_LOG_WRITER_HANDLED: GLogWriterOutput = 1;
173 pub const G_LOG_WRITER_UNHANDLED: GLogWriterOutput = 0;
174 
175 pub type GMarkupError = c_int;
176 pub const G_MARKUP_ERROR_BAD_UTF8: GMarkupError = 0;
177 pub const G_MARKUP_ERROR_EMPTY: GMarkupError = 1;
178 pub const G_MARKUP_ERROR_PARSE: GMarkupError = 2;
179 pub const G_MARKUP_ERROR_UNKNOWN_ELEMENT: GMarkupError = 3;
180 pub const G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE: GMarkupError = 4;
181 pub const G_MARKUP_ERROR_INVALID_CONTENT: GMarkupError = 5;
182 pub const G_MARKUP_ERROR_MISSING_ATTRIBUTE: GMarkupError = 6;
183 
184 pub type GNormalizeMode = c_int;
185 pub const G_NORMALIZE_DEFAULT: GNormalizeMode = 0;
186 pub const G_NORMALIZE_DEFAULT_COMPOSE: GNormalizeMode = 1;
187 pub const G_NORMALIZE_ALL: GNormalizeMode = 2;
188 pub const G_NORMALIZE_ALL_COMPOSE: GNormalizeMode = 3;
189 
190 pub type GNumberParserError = c_int;
191 pub const G_NUMBER_PARSER_ERROR_INVALID: GNumberParserError = 0;
192 pub const G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS: GNumberParserError = 1;
193 
194 pub type GOnceStatus = c_int;
195 pub const G_ONCE_STATUS_NOTCALLED: GOnceStatus = 0;
196 pub const G_ONCE_STATUS_PROGRESS: GOnceStatus = 1;
197 pub const G_ONCE_STATUS_READY: GOnceStatus = 2;
198 
199 pub type GOptionArg = c_int;
200 pub const G_OPTION_ARG_NONE: GOptionArg = 0;
201 pub const G_OPTION_ARG_STRING: GOptionArg = 1;
202 pub const G_OPTION_ARG_INT: GOptionArg = 2;
203 pub const G_OPTION_ARG_CALLBACK: GOptionArg = 3;
204 pub const G_OPTION_ARG_FILENAME: GOptionArg = 4;
205 pub const G_OPTION_ARG_STRING_ARRAY: GOptionArg = 5;
206 pub const G_OPTION_ARG_FILENAME_ARRAY: GOptionArg = 6;
207 pub const G_OPTION_ARG_DOUBLE: GOptionArg = 7;
208 pub const G_OPTION_ARG_INT64: GOptionArg = 8;
209 
210 pub type GOptionError = c_int;
211 pub const G_OPTION_ERROR_UNKNOWN_OPTION: GOptionError = 0;
212 pub const G_OPTION_ERROR_BAD_VALUE: GOptionError = 1;
213 pub const G_OPTION_ERROR_FAILED: GOptionError = 2;
214 
215 pub type GRegexError = c_int;
216 pub const G_REGEX_ERROR_COMPILE: GRegexError = 0;
217 pub const G_REGEX_ERROR_OPTIMIZE: GRegexError = 1;
218 pub const G_REGEX_ERROR_REPLACE: GRegexError = 2;
219 pub const G_REGEX_ERROR_MATCH: GRegexError = 3;
220 pub const G_REGEX_ERROR_INTERNAL: GRegexError = 4;
221 pub const G_REGEX_ERROR_STRAY_BACKSLASH: GRegexError = 101;
222 pub const G_REGEX_ERROR_MISSING_CONTROL_CHAR: GRegexError = 102;
223 pub const G_REGEX_ERROR_UNRECOGNIZED_ESCAPE: GRegexError = 103;
224 pub const G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER: GRegexError = 104;
225 pub const G_REGEX_ERROR_QUANTIFIER_TOO_BIG: GRegexError = 105;
226 pub const G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS: GRegexError = 106;
227 pub const G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS: GRegexError = 107;
228 pub const G_REGEX_ERROR_RANGE_OUT_OF_ORDER: GRegexError = 108;
229 pub const G_REGEX_ERROR_NOTHING_TO_REPEAT: GRegexError = 109;
230 pub const G_REGEX_ERROR_UNRECOGNIZED_CHARACTER: GRegexError = 112;
231 pub const G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS: GRegexError = 113;
232 pub const G_REGEX_ERROR_UNMATCHED_PARENTHESIS: GRegexError = 114;
233 pub const G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE: GRegexError = 115;
234 pub const G_REGEX_ERROR_UNTERMINATED_COMMENT: GRegexError = 118;
235 pub const G_REGEX_ERROR_EXPRESSION_TOO_LARGE: GRegexError = 120;
236 pub const G_REGEX_ERROR_MEMORY_ERROR: GRegexError = 121;
237 pub const G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND: GRegexError = 125;
238 pub const G_REGEX_ERROR_MALFORMED_CONDITION: GRegexError = 126;
239 pub const G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES: GRegexError = 127;
240 pub const G_REGEX_ERROR_ASSERTION_EXPECTED: GRegexError = 128;
241 pub const G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME: GRegexError = 130;
242 pub const G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED: GRegexError = 131;
243 pub const G_REGEX_ERROR_HEX_CODE_TOO_LARGE: GRegexError = 134;
244 pub const G_REGEX_ERROR_INVALID_CONDITION: GRegexError = 135;
245 pub const G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND: GRegexError = 136;
246 pub const G_REGEX_ERROR_INFINITE_LOOP: GRegexError = 140;
247 pub const G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR: GRegexError = 142;
248 pub const G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME: GRegexError = 143;
249 pub const G_REGEX_ERROR_MALFORMED_PROPERTY: GRegexError = 146;
250 pub const G_REGEX_ERROR_UNKNOWN_PROPERTY: GRegexError = 147;
251 pub const G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG: GRegexError = 148;
252 pub const G_REGEX_ERROR_TOO_MANY_SUBPATTERNS: GRegexError = 149;
253 pub const G_REGEX_ERROR_INVALID_OCTAL_VALUE: GRegexError = 151;
254 pub const G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE: GRegexError = 154;
255 pub const G_REGEX_ERROR_DEFINE_REPETION: GRegexError = 155;
256 pub const G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS: GRegexError = 156;
257 pub const G_REGEX_ERROR_MISSING_BACK_REFERENCE: GRegexError = 157;
258 pub const G_REGEX_ERROR_INVALID_RELATIVE_REFERENCE: GRegexError = 158;
259 pub const G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN: GRegexError = 159;
260 pub const G_REGEX_ERROR_UNKNOWN_BACKTRACKING_CONTROL_VERB: GRegexError = 160;
261 pub const G_REGEX_ERROR_NUMBER_TOO_BIG: GRegexError = 161;
262 pub const G_REGEX_ERROR_MISSING_SUBPATTERN_NAME: GRegexError = 162;
263 pub const G_REGEX_ERROR_MISSING_DIGIT: GRegexError = 163;
264 pub const G_REGEX_ERROR_INVALID_DATA_CHARACTER: GRegexError = 164;
265 pub const G_REGEX_ERROR_EXTRA_SUBPATTERN_NAME: GRegexError = 165;
266 pub const G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED: GRegexError = 166;
267 pub const G_REGEX_ERROR_INVALID_CONTROL_CHAR: GRegexError = 168;
268 pub const G_REGEX_ERROR_MISSING_NAME: GRegexError = 169;
269 pub const G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS: GRegexError = 171;
270 pub const G_REGEX_ERROR_TOO_MANY_FORWARD_REFERENCES: GRegexError = 172;
271 pub const G_REGEX_ERROR_NAME_TOO_LONG: GRegexError = 175;
272 pub const G_REGEX_ERROR_CHARACTER_VALUE_TOO_LARGE: GRegexError = 176;
273 
274 pub type GSeekType = c_int;
275 pub const G_SEEK_CUR: GSeekType = 0;
276 pub const G_SEEK_SET: GSeekType = 1;
277 pub const G_SEEK_END: GSeekType = 2;
278 
279 pub type GShellError = c_int;
280 pub const G_SHELL_ERROR_BAD_QUOTING: GShellError = 0;
281 pub const G_SHELL_ERROR_EMPTY_STRING: GShellError = 1;
282 pub const G_SHELL_ERROR_FAILED: GShellError = 2;
283 
284 pub type GSliceConfig = c_int;
285 pub const G_SLICE_CONFIG_ALWAYS_MALLOC: GSliceConfig = 1;
286 pub const G_SLICE_CONFIG_BYPASS_MAGAZINES: GSliceConfig = 2;
287 pub const G_SLICE_CONFIG_WORKING_SET_MSECS: GSliceConfig = 3;
288 pub const G_SLICE_CONFIG_COLOR_INCREMENT: GSliceConfig = 4;
289 pub const G_SLICE_CONFIG_CHUNK_SIZES: GSliceConfig = 5;
290 pub const G_SLICE_CONFIG_CONTENTION_COUNTER: GSliceConfig = 6;
291 
292 pub type GSpawnError = c_int;
293 pub const G_SPAWN_ERROR_FORK: GSpawnError = 0;
294 pub const G_SPAWN_ERROR_READ: GSpawnError = 1;
295 pub const G_SPAWN_ERROR_CHDIR: GSpawnError = 2;
296 pub const G_SPAWN_ERROR_ACCES: GSpawnError = 3;
297 pub const G_SPAWN_ERROR_PERM: GSpawnError = 4;
298 pub const G_SPAWN_ERROR_TOO_BIG: GSpawnError = 5;
299 pub const G_SPAWN_ERROR_NOEXEC: GSpawnError = 6;
300 pub const G_SPAWN_ERROR_NAMETOOLONG: GSpawnError = 7;
301 pub const G_SPAWN_ERROR_NOENT: GSpawnError = 8;
302 pub const G_SPAWN_ERROR_NOMEM: GSpawnError = 9;
303 pub const G_SPAWN_ERROR_NOTDIR: GSpawnError = 10;
304 pub const G_SPAWN_ERROR_LOOP: GSpawnError = 11;
305 pub const G_SPAWN_ERROR_TXTBUSY: GSpawnError = 12;
306 pub const G_SPAWN_ERROR_IO: GSpawnError = 13;
307 pub const G_SPAWN_ERROR_NFILE: GSpawnError = 14;
308 pub const G_SPAWN_ERROR_MFILE: GSpawnError = 15;
309 pub const G_SPAWN_ERROR_INVAL: GSpawnError = 16;
310 pub const G_SPAWN_ERROR_ISDIR: GSpawnError = 17;
311 pub const G_SPAWN_ERROR_LIBBAD: GSpawnError = 18;
312 pub const G_SPAWN_ERROR_FAILED: GSpawnError = 19;
313 
314 pub type GTestFileType = c_int;
315 pub const G_TEST_DIST: GTestFileType = 0;
316 pub const G_TEST_BUILT: GTestFileType = 1;
317 
318 pub type GTestLogType = c_int;
319 pub const G_TEST_LOG_NONE: GTestLogType = 0;
320 pub const G_TEST_LOG_ERROR: GTestLogType = 1;
321 pub const G_TEST_LOG_START_BINARY: GTestLogType = 2;
322 pub const G_TEST_LOG_LIST_CASE: GTestLogType = 3;
323 pub const G_TEST_LOG_SKIP_CASE: GTestLogType = 4;
324 pub const G_TEST_LOG_START_CASE: GTestLogType = 5;
325 pub const G_TEST_LOG_STOP_CASE: GTestLogType = 6;
326 pub const G_TEST_LOG_MIN_RESULT: GTestLogType = 7;
327 pub const G_TEST_LOG_MAX_RESULT: GTestLogType = 8;
328 pub const G_TEST_LOG_MESSAGE: GTestLogType = 9;
329 pub const G_TEST_LOG_START_SUITE: GTestLogType = 10;
330 pub const G_TEST_LOG_STOP_SUITE: GTestLogType = 11;
331 
332 pub type GTestResult = c_int;
333 pub const G_TEST_RUN_SUCCESS: GTestResult = 0;
334 pub const G_TEST_RUN_SKIPPED: GTestResult = 1;
335 pub const G_TEST_RUN_FAILURE: GTestResult = 2;
336 pub const G_TEST_RUN_INCOMPLETE: GTestResult = 3;
337 
338 pub type GThreadError = c_int;
339 pub const G_THREAD_ERROR_AGAIN: GThreadError = 0;
340 
341 pub type GTimeType = c_int;
342 pub const G_TIME_TYPE_STANDARD: GTimeType = 0;
343 pub const G_TIME_TYPE_DAYLIGHT: GTimeType = 1;
344 pub const G_TIME_TYPE_UNIVERSAL: GTimeType = 2;
345 
346 pub type GTokenType = c_int;
347 pub const G_TOKEN_EOF: GTokenType = 0;
348 pub const G_TOKEN_LEFT_PAREN: GTokenType = 40;
349 pub const G_TOKEN_RIGHT_PAREN: GTokenType = 41;
350 pub const G_TOKEN_LEFT_CURLY: GTokenType = 123;
351 pub const G_TOKEN_RIGHT_CURLY: GTokenType = 125;
352 pub const G_TOKEN_LEFT_BRACE: GTokenType = 91;
353 pub const G_TOKEN_RIGHT_BRACE: GTokenType = 93;
354 pub const G_TOKEN_EQUAL_SIGN: GTokenType = 61;
355 pub const G_TOKEN_COMMA: GTokenType = 44;
356 pub const G_TOKEN_NONE: GTokenType = 256;
357 pub const G_TOKEN_ERROR: GTokenType = 257;
358 pub const G_TOKEN_CHAR: GTokenType = 258;
359 pub const G_TOKEN_BINARY: GTokenType = 259;
360 pub const G_TOKEN_OCTAL: GTokenType = 260;
361 pub const G_TOKEN_INT: GTokenType = 261;
362 pub const G_TOKEN_HEX: GTokenType = 262;
363 pub const G_TOKEN_FLOAT: GTokenType = 263;
364 pub const G_TOKEN_STRING: GTokenType = 264;
365 pub const G_TOKEN_SYMBOL: GTokenType = 265;
366 pub const G_TOKEN_IDENTIFIER: GTokenType = 266;
367 pub const G_TOKEN_IDENTIFIER_NULL: GTokenType = 267;
368 pub const G_TOKEN_COMMENT_SINGLE: GTokenType = 268;
369 pub const G_TOKEN_COMMENT_MULTI: GTokenType = 269;
370 
371 pub type GTraverseType = c_int;
372 pub const G_IN_ORDER: GTraverseType = 0;
373 pub const G_PRE_ORDER: GTraverseType = 1;
374 pub const G_POST_ORDER: GTraverseType = 2;
375 pub const G_LEVEL_ORDER: GTraverseType = 3;
376 
377 pub type GUnicodeBreakType = c_int;
378 pub const G_UNICODE_BREAK_MANDATORY: GUnicodeBreakType = 0;
379 pub const G_UNICODE_BREAK_CARRIAGE_RETURN: GUnicodeBreakType = 1;
380 pub const G_UNICODE_BREAK_LINE_FEED: GUnicodeBreakType = 2;
381 pub const G_UNICODE_BREAK_COMBINING_MARK: GUnicodeBreakType = 3;
382 pub const G_UNICODE_BREAK_SURROGATE: GUnicodeBreakType = 4;
383 pub const G_UNICODE_BREAK_ZERO_WIDTH_SPACE: GUnicodeBreakType = 5;
384 pub const G_UNICODE_BREAK_INSEPARABLE: GUnicodeBreakType = 6;
385 pub const G_UNICODE_BREAK_NON_BREAKING_GLUE: GUnicodeBreakType = 7;
386 pub const G_UNICODE_BREAK_CONTINGENT: GUnicodeBreakType = 8;
387 pub const G_UNICODE_BREAK_SPACE: GUnicodeBreakType = 9;
388 pub const G_UNICODE_BREAK_AFTER: GUnicodeBreakType = 10;
389 pub const G_UNICODE_BREAK_BEFORE: GUnicodeBreakType = 11;
390 pub const G_UNICODE_BREAK_BEFORE_AND_AFTER: GUnicodeBreakType = 12;
391 pub const G_UNICODE_BREAK_HYPHEN: GUnicodeBreakType = 13;
392 pub const G_UNICODE_BREAK_NON_STARTER: GUnicodeBreakType = 14;
393 pub const G_UNICODE_BREAK_OPEN_PUNCTUATION: GUnicodeBreakType = 15;
394 pub const G_UNICODE_BREAK_CLOSE_PUNCTUATION: GUnicodeBreakType = 16;
395 pub const G_UNICODE_BREAK_QUOTATION: GUnicodeBreakType = 17;
396 pub const G_UNICODE_BREAK_EXCLAMATION: GUnicodeBreakType = 18;
397 pub const G_UNICODE_BREAK_IDEOGRAPHIC: GUnicodeBreakType = 19;
398 pub const G_UNICODE_BREAK_NUMERIC: GUnicodeBreakType = 20;
399 pub const G_UNICODE_BREAK_INFIX_SEPARATOR: GUnicodeBreakType = 21;
400 pub const G_UNICODE_BREAK_SYMBOL: GUnicodeBreakType = 22;
401 pub const G_UNICODE_BREAK_ALPHABETIC: GUnicodeBreakType = 23;
402 pub const G_UNICODE_BREAK_PREFIX: GUnicodeBreakType = 24;
403 pub const G_UNICODE_BREAK_POSTFIX: GUnicodeBreakType = 25;
404 pub const G_UNICODE_BREAK_COMPLEX_CONTEXT: GUnicodeBreakType = 26;
405 pub const G_UNICODE_BREAK_AMBIGUOUS: GUnicodeBreakType = 27;
406 pub const G_UNICODE_BREAK_UNKNOWN: GUnicodeBreakType = 28;
407 pub const G_UNICODE_BREAK_NEXT_LINE: GUnicodeBreakType = 29;
408 pub const G_UNICODE_BREAK_WORD_JOINER: GUnicodeBreakType = 30;
409 pub const G_UNICODE_BREAK_HANGUL_L_JAMO: GUnicodeBreakType = 31;
410 pub const G_UNICODE_BREAK_HANGUL_V_JAMO: GUnicodeBreakType = 32;
411 pub const G_UNICODE_BREAK_HANGUL_T_JAMO: GUnicodeBreakType = 33;
412 pub const G_UNICODE_BREAK_HANGUL_LV_SYLLABLE: GUnicodeBreakType = 34;
413 pub const G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE: GUnicodeBreakType = 35;
414 pub const G_UNICODE_BREAK_CLOSE_PARANTHESIS: GUnicodeBreakType = 36;
415 pub const G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER: GUnicodeBreakType = 37;
416 pub const G_UNICODE_BREAK_HEBREW_LETTER: GUnicodeBreakType = 38;
417 pub const G_UNICODE_BREAK_REGIONAL_INDICATOR: GUnicodeBreakType = 39;
418 pub const G_UNICODE_BREAK_EMOJI_BASE: GUnicodeBreakType = 40;
419 pub const G_UNICODE_BREAK_EMOJI_MODIFIER: GUnicodeBreakType = 41;
420 pub const G_UNICODE_BREAK_ZERO_WIDTH_JOINER: GUnicodeBreakType = 42;
421 
422 pub type GUnicodeScript = c_int;
423 pub const G_UNICODE_SCRIPT_INVALID_CODE: GUnicodeScript = -1;
424 pub const G_UNICODE_SCRIPT_COMMON: GUnicodeScript = 0;
425 pub const G_UNICODE_SCRIPT_INHERITED: GUnicodeScript = 1;
426 pub const G_UNICODE_SCRIPT_ARABIC: GUnicodeScript = 2;
427 pub const G_UNICODE_SCRIPT_ARMENIAN: GUnicodeScript = 3;
428 pub const G_UNICODE_SCRIPT_BENGALI: GUnicodeScript = 4;
429 pub const G_UNICODE_SCRIPT_BOPOMOFO: GUnicodeScript = 5;
430 pub const G_UNICODE_SCRIPT_CHEROKEE: GUnicodeScript = 6;
431 pub const G_UNICODE_SCRIPT_COPTIC: GUnicodeScript = 7;
432 pub const G_UNICODE_SCRIPT_CYRILLIC: GUnicodeScript = 8;
433 pub const G_UNICODE_SCRIPT_DESERET: GUnicodeScript = 9;
434 pub const G_UNICODE_SCRIPT_DEVANAGARI: GUnicodeScript = 10;
435 pub const G_UNICODE_SCRIPT_ETHIOPIC: GUnicodeScript = 11;
436 pub const G_UNICODE_SCRIPT_GEORGIAN: GUnicodeScript = 12;
437 pub const G_UNICODE_SCRIPT_GOTHIC: GUnicodeScript = 13;
438 pub const G_UNICODE_SCRIPT_GREEK: GUnicodeScript = 14;
439 pub const G_UNICODE_SCRIPT_GUJARATI: GUnicodeScript = 15;
440 pub const G_UNICODE_SCRIPT_GURMUKHI: GUnicodeScript = 16;
441 pub const G_UNICODE_SCRIPT_HAN: GUnicodeScript = 17;
442 pub const G_UNICODE_SCRIPT_HANGUL: GUnicodeScript = 18;
443 pub const G_UNICODE_SCRIPT_HEBREW: GUnicodeScript = 19;
444 pub const G_UNICODE_SCRIPT_HIRAGANA: GUnicodeScript = 20;
445 pub const G_UNICODE_SCRIPT_KANNADA: GUnicodeScript = 21;
446 pub const G_UNICODE_SCRIPT_KATAKANA: GUnicodeScript = 22;
447 pub const G_UNICODE_SCRIPT_KHMER: GUnicodeScript = 23;
448 pub const G_UNICODE_SCRIPT_LAO: GUnicodeScript = 24;
449 pub const G_UNICODE_SCRIPT_LATIN: GUnicodeScript = 25;
450 pub const G_UNICODE_SCRIPT_MALAYALAM: GUnicodeScript = 26;
451 pub const G_UNICODE_SCRIPT_MONGOLIAN: GUnicodeScript = 27;
452 pub const G_UNICODE_SCRIPT_MYANMAR: GUnicodeScript = 28;
453 pub const G_UNICODE_SCRIPT_OGHAM: GUnicodeScript = 29;
454 pub const G_UNICODE_SCRIPT_OLD_ITALIC: GUnicodeScript = 30;
455 pub const G_UNICODE_SCRIPT_ORIYA: GUnicodeScript = 31;
456 pub const G_UNICODE_SCRIPT_RUNIC: GUnicodeScript = 32;
457 pub const G_UNICODE_SCRIPT_SINHALA: GUnicodeScript = 33;
458 pub const G_UNICODE_SCRIPT_SYRIAC: GUnicodeScript = 34;
459 pub const G_UNICODE_SCRIPT_TAMIL: GUnicodeScript = 35;
460 pub const G_UNICODE_SCRIPT_TELUGU: GUnicodeScript = 36;
461 pub const G_UNICODE_SCRIPT_THAANA: GUnicodeScript = 37;
462 pub const G_UNICODE_SCRIPT_THAI: GUnicodeScript = 38;
463 pub const G_UNICODE_SCRIPT_TIBETAN: GUnicodeScript = 39;
464 pub const G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL: GUnicodeScript = 40;
465 pub const G_UNICODE_SCRIPT_YI: GUnicodeScript = 41;
466 pub const G_UNICODE_SCRIPT_TAGALOG: GUnicodeScript = 42;
467 pub const G_UNICODE_SCRIPT_HANUNOO: GUnicodeScript = 43;
468 pub const G_UNICODE_SCRIPT_BUHID: GUnicodeScript = 44;
469 pub const G_UNICODE_SCRIPT_TAGBANWA: GUnicodeScript = 45;
470 pub const G_UNICODE_SCRIPT_BRAILLE: GUnicodeScript = 46;
471 pub const G_UNICODE_SCRIPT_CYPRIOT: GUnicodeScript = 47;
472 pub const G_UNICODE_SCRIPT_LIMBU: GUnicodeScript = 48;
473 pub const G_UNICODE_SCRIPT_OSMANYA: GUnicodeScript = 49;
474 pub const G_UNICODE_SCRIPT_SHAVIAN: GUnicodeScript = 50;
475 pub const G_UNICODE_SCRIPT_LINEAR_B: GUnicodeScript = 51;
476 pub const G_UNICODE_SCRIPT_TAI_LE: GUnicodeScript = 52;
477 pub const G_UNICODE_SCRIPT_UGARITIC: GUnicodeScript = 53;
478 pub const G_UNICODE_SCRIPT_NEW_TAI_LUE: GUnicodeScript = 54;
479 pub const G_UNICODE_SCRIPT_BUGINESE: GUnicodeScript = 55;
480 pub const G_UNICODE_SCRIPT_GLAGOLITIC: GUnicodeScript = 56;
481 pub const G_UNICODE_SCRIPT_TIFINAGH: GUnicodeScript = 57;
482 pub const G_UNICODE_SCRIPT_SYLOTI_NAGRI: GUnicodeScript = 58;
483 pub const G_UNICODE_SCRIPT_OLD_PERSIAN: GUnicodeScript = 59;
484 pub const G_UNICODE_SCRIPT_KHAROSHTHI: GUnicodeScript = 60;
485 pub const G_UNICODE_SCRIPT_UNKNOWN: GUnicodeScript = 61;
486 pub const G_UNICODE_SCRIPT_BALINESE: GUnicodeScript = 62;
487 pub const G_UNICODE_SCRIPT_CUNEIFORM: GUnicodeScript = 63;
488 pub const G_UNICODE_SCRIPT_PHOENICIAN: GUnicodeScript = 64;
489 pub const G_UNICODE_SCRIPT_PHAGS_PA: GUnicodeScript = 65;
490 pub const G_UNICODE_SCRIPT_NKO: GUnicodeScript = 66;
491 pub const G_UNICODE_SCRIPT_KAYAH_LI: GUnicodeScript = 67;
492 pub const G_UNICODE_SCRIPT_LEPCHA: GUnicodeScript = 68;
493 pub const G_UNICODE_SCRIPT_REJANG: GUnicodeScript = 69;
494 pub const G_UNICODE_SCRIPT_SUNDANESE: GUnicodeScript = 70;
495 pub const G_UNICODE_SCRIPT_SAURASHTRA: GUnicodeScript = 71;
496 pub const G_UNICODE_SCRIPT_CHAM: GUnicodeScript = 72;
497 pub const G_UNICODE_SCRIPT_OL_CHIKI: GUnicodeScript = 73;
498 pub const G_UNICODE_SCRIPT_VAI: GUnicodeScript = 74;
499 pub const G_UNICODE_SCRIPT_CARIAN: GUnicodeScript = 75;
500 pub const G_UNICODE_SCRIPT_LYCIAN: GUnicodeScript = 76;
501 pub const G_UNICODE_SCRIPT_LYDIAN: GUnicodeScript = 77;
502 pub const G_UNICODE_SCRIPT_AVESTAN: GUnicodeScript = 78;
503 pub const G_UNICODE_SCRIPT_BAMUM: GUnicodeScript = 79;
504 pub const G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS: GUnicodeScript = 80;
505 pub const G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC: GUnicodeScript = 81;
506 pub const G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI: GUnicodeScript = 82;
507 pub const G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN: GUnicodeScript = 83;
508 pub const G_UNICODE_SCRIPT_JAVANESE: GUnicodeScript = 84;
509 pub const G_UNICODE_SCRIPT_KAITHI: GUnicodeScript = 85;
510 pub const G_UNICODE_SCRIPT_LISU: GUnicodeScript = 86;
511 pub const G_UNICODE_SCRIPT_MEETEI_MAYEK: GUnicodeScript = 87;
512 pub const G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN: GUnicodeScript = 88;
513 pub const G_UNICODE_SCRIPT_OLD_TURKIC: GUnicodeScript = 89;
514 pub const G_UNICODE_SCRIPT_SAMARITAN: GUnicodeScript = 90;
515 pub const G_UNICODE_SCRIPT_TAI_THAM: GUnicodeScript = 91;
516 pub const G_UNICODE_SCRIPT_TAI_VIET: GUnicodeScript = 92;
517 pub const G_UNICODE_SCRIPT_BATAK: GUnicodeScript = 93;
518 pub const G_UNICODE_SCRIPT_BRAHMI: GUnicodeScript = 94;
519 pub const G_UNICODE_SCRIPT_MANDAIC: GUnicodeScript = 95;
520 pub const G_UNICODE_SCRIPT_CHAKMA: GUnicodeScript = 96;
521 pub const G_UNICODE_SCRIPT_MEROITIC_CURSIVE: GUnicodeScript = 97;
522 pub const G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS: GUnicodeScript = 98;
523 pub const G_UNICODE_SCRIPT_MIAO: GUnicodeScript = 99;
524 pub const G_UNICODE_SCRIPT_SHARADA: GUnicodeScript = 100;
525 pub const G_UNICODE_SCRIPT_SORA_SOMPENG: GUnicodeScript = 101;
526 pub const G_UNICODE_SCRIPT_TAKRI: GUnicodeScript = 102;
527 pub const G_UNICODE_SCRIPT_BASSA_VAH: GUnicodeScript = 103;
528 pub const G_UNICODE_SCRIPT_CAUCASIAN_ALBANIAN: GUnicodeScript = 104;
529 pub const G_UNICODE_SCRIPT_DUPLOYAN: GUnicodeScript = 105;
530 pub const G_UNICODE_SCRIPT_ELBASAN: GUnicodeScript = 106;
531 pub const G_UNICODE_SCRIPT_GRANTHA: GUnicodeScript = 107;
532 pub const G_UNICODE_SCRIPT_KHOJKI: GUnicodeScript = 108;
533 pub const G_UNICODE_SCRIPT_KHUDAWADI: GUnicodeScript = 109;
534 pub const G_UNICODE_SCRIPT_LINEAR_A: GUnicodeScript = 110;
535 pub const G_UNICODE_SCRIPT_MAHAJANI: GUnicodeScript = 111;
536 pub const G_UNICODE_SCRIPT_MANICHAEAN: GUnicodeScript = 112;
537 pub const G_UNICODE_SCRIPT_MENDE_KIKAKUI: GUnicodeScript = 113;
538 pub const G_UNICODE_SCRIPT_MODI: GUnicodeScript = 114;
539 pub const G_UNICODE_SCRIPT_MRO: GUnicodeScript = 115;
540 pub const G_UNICODE_SCRIPT_NABATAEAN: GUnicodeScript = 116;
541 pub const G_UNICODE_SCRIPT_OLD_NORTH_ARABIAN: GUnicodeScript = 117;
542 pub const G_UNICODE_SCRIPT_OLD_PERMIC: GUnicodeScript = 118;
543 pub const G_UNICODE_SCRIPT_PAHAWH_HMONG: GUnicodeScript = 119;
544 pub const G_UNICODE_SCRIPT_PALMYRENE: GUnicodeScript = 120;
545 pub const G_UNICODE_SCRIPT_PAU_CIN_HAU: GUnicodeScript = 121;
546 pub const G_UNICODE_SCRIPT_PSALTER_PAHLAVI: GUnicodeScript = 122;
547 pub const G_UNICODE_SCRIPT_SIDDHAM: GUnicodeScript = 123;
548 pub const G_UNICODE_SCRIPT_TIRHUTA: GUnicodeScript = 124;
549 pub const G_UNICODE_SCRIPT_WARANG_CITI: GUnicodeScript = 125;
550 pub const G_UNICODE_SCRIPT_AHOM: GUnicodeScript = 126;
551 pub const G_UNICODE_SCRIPT_ANATOLIAN_HIEROGLYPHS: GUnicodeScript = 127;
552 pub const G_UNICODE_SCRIPT_HATRAN: GUnicodeScript = 128;
553 pub const G_UNICODE_SCRIPT_MULTANI: GUnicodeScript = 129;
554 pub const G_UNICODE_SCRIPT_OLD_HUNGARIAN: GUnicodeScript = 130;
555 pub const G_UNICODE_SCRIPT_SIGNWRITING: GUnicodeScript = 131;
556 pub const G_UNICODE_SCRIPT_ADLAM: GUnicodeScript = 132;
557 pub const G_UNICODE_SCRIPT_BHAIKSUKI: GUnicodeScript = 133;
558 pub const G_UNICODE_SCRIPT_MARCHEN: GUnicodeScript = 134;
559 pub const G_UNICODE_SCRIPT_NEWA: GUnicodeScript = 135;
560 pub const G_UNICODE_SCRIPT_OSAGE: GUnicodeScript = 136;
561 pub const G_UNICODE_SCRIPT_TANGUT: GUnicodeScript = 137;
562 pub const G_UNICODE_SCRIPT_MASARAM_GONDI: GUnicodeScript = 138;
563 pub const G_UNICODE_SCRIPT_NUSHU: GUnicodeScript = 139;
564 pub const G_UNICODE_SCRIPT_SOYOMBO: GUnicodeScript = 140;
565 pub const G_UNICODE_SCRIPT_ZANABAZAR_SQUARE: GUnicodeScript = 141;
566 pub const G_UNICODE_SCRIPT_DOGRA: GUnicodeScript = 142;
567 pub const G_UNICODE_SCRIPT_GUNJALA_GONDI: GUnicodeScript = 143;
568 pub const G_UNICODE_SCRIPT_HANIFI_ROHINGYA: GUnicodeScript = 144;
569 pub const G_UNICODE_SCRIPT_MAKASAR: GUnicodeScript = 145;
570 pub const G_UNICODE_SCRIPT_MEDEFAIDRIN: GUnicodeScript = 146;
571 pub const G_UNICODE_SCRIPT_OLD_SOGDIAN: GUnicodeScript = 147;
572 pub const G_UNICODE_SCRIPT_SOGDIAN: GUnicodeScript = 148;
573 pub const G_UNICODE_SCRIPT_ELYMAIC: GUnicodeScript = 149;
574 pub const G_UNICODE_SCRIPT_NANDINAGARI: GUnicodeScript = 150;
575 pub const G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG: GUnicodeScript = 151;
576 pub const G_UNICODE_SCRIPT_WANCHO: GUnicodeScript = 152;
577 
578 pub type GUnicodeType = c_int;
579 pub const G_UNICODE_CONTROL: GUnicodeType = 0;
580 pub const G_UNICODE_FORMAT: GUnicodeType = 1;
581 pub const G_UNICODE_UNASSIGNED: GUnicodeType = 2;
582 pub const G_UNICODE_PRIVATE_USE: GUnicodeType = 3;
583 pub const G_UNICODE_SURROGATE: GUnicodeType = 4;
584 pub const G_UNICODE_LOWERCASE_LETTER: GUnicodeType = 5;
585 pub const G_UNICODE_MODIFIER_LETTER: GUnicodeType = 6;
586 pub const G_UNICODE_OTHER_LETTER: GUnicodeType = 7;
587 pub const G_UNICODE_TITLECASE_LETTER: GUnicodeType = 8;
588 pub const G_UNICODE_UPPERCASE_LETTER: GUnicodeType = 9;
589 pub const G_UNICODE_SPACING_MARK: GUnicodeType = 10;
590 pub const G_UNICODE_ENCLOSING_MARK: GUnicodeType = 11;
591 pub const G_UNICODE_NON_SPACING_MARK: GUnicodeType = 12;
592 pub const G_UNICODE_DECIMAL_NUMBER: GUnicodeType = 13;
593 pub const G_UNICODE_LETTER_NUMBER: GUnicodeType = 14;
594 pub const G_UNICODE_OTHER_NUMBER: GUnicodeType = 15;
595 pub const G_UNICODE_CONNECT_PUNCTUATION: GUnicodeType = 16;
596 pub const G_UNICODE_DASH_PUNCTUATION: GUnicodeType = 17;
597 pub const G_UNICODE_CLOSE_PUNCTUATION: GUnicodeType = 18;
598 pub const G_UNICODE_FINAL_PUNCTUATION: GUnicodeType = 19;
599 pub const G_UNICODE_INITIAL_PUNCTUATION: GUnicodeType = 20;
600 pub const G_UNICODE_OTHER_PUNCTUATION: GUnicodeType = 21;
601 pub const G_UNICODE_OPEN_PUNCTUATION: GUnicodeType = 22;
602 pub const G_UNICODE_CURRENCY_SYMBOL: GUnicodeType = 23;
603 pub const G_UNICODE_MODIFIER_SYMBOL: GUnicodeType = 24;
604 pub const G_UNICODE_MATH_SYMBOL: GUnicodeType = 25;
605 pub const G_UNICODE_OTHER_SYMBOL: GUnicodeType = 26;
606 pub const G_UNICODE_LINE_SEPARATOR: GUnicodeType = 27;
607 pub const G_UNICODE_PARAGRAPH_SEPARATOR: GUnicodeType = 28;
608 pub const G_UNICODE_SPACE_SEPARATOR: GUnicodeType = 29;
609 
610 pub type GUserDirectory = c_int;
611 pub const G_USER_DIRECTORY_DESKTOP: GUserDirectory = 0;
612 pub const G_USER_DIRECTORY_DOCUMENTS: GUserDirectory = 1;
613 pub const G_USER_DIRECTORY_DOWNLOAD: GUserDirectory = 2;
614 pub const G_USER_DIRECTORY_MUSIC: GUserDirectory = 3;
615 pub const G_USER_DIRECTORY_PICTURES: GUserDirectory = 4;
616 pub const G_USER_DIRECTORY_PUBLIC_SHARE: GUserDirectory = 5;
617 pub const G_USER_DIRECTORY_TEMPLATES: GUserDirectory = 6;
618 pub const G_USER_DIRECTORY_VIDEOS: GUserDirectory = 7;
619 pub const G_USER_N_DIRECTORIES: GUserDirectory = 8;
620 
621 pub type GVariantClass = c_int;
622 pub const G_VARIANT_CLASS_BOOLEAN: GVariantClass = 98;
623 pub const G_VARIANT_CLASS_BYTE: GVariantClass = 121;
624 pub const G_VARIANT_CLASS_INT16: GVariantClass = 110;
625 pub const G_VARIANT_CLASS_UINT16: GVariantClass = 113;
626 pub const G_VARIANT_CLASS_INT32: GVariantClass = 105;
627 pub const G_VARIANT_CLASS_UINT32: GVariantClass = 117;
628 pub const G_VARIANT_CLASS_INT64: GVariantClass = 120;
629 pub const G_VARIANT_CLASS_UINT64: GVariantClass = 116;
630 pub const G_VARIANT_CLASS_HANDLE: GVariantClass = 104;
631 pub const G_VARIANT_CLASS_DOUBLE: GVariantClass = 100;
632 pub const G_VARIANT_CLASS_STRING: GVariantClass = 115;
633 pub const G_VARIANT_CLASS_OBJECT_PATH: GVariantClass = 111;
634 pub const G_VARIANT_CLASS_SIGNATURE: GVariantClass = 103;
635 pub const G_VARIANT_CLASS_VARIANT: GVariantClass = 118;
636 pub const G_VARIANT_CLASS_MAYBE: GVariantClass = 109;
637 pub const G_VARIANT_CLASS_ARRAY: GVariantClass = 97;
638 pub const G_VARIANT_CLASS_TUPLE: GVariantClass = 40;
639 pub const G_VARIANT_CLASS_DICT_ENTRY: GVariantClass = 123;
640 
641 pub type GVariantParseError = c_int;
642 pub const G_VARIANT_PARSE_ERROR_FAILED: GVariantParseError = 0;
643 pub const G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED: GVariantParseError = 1;
644 pub const G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE: GVariantParseError = 2;
645 pub const G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED: GVariantParseError = 3;
646 pub const G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END: GVariantParseError = 4;
647 pub const G_VARIANT_PARSE_ERROR_INVALID_CHARACTER: GVariantParseError = 5;
648 pub const G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING: GVariantParseError = 6;
649 pub const G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH: GVariantParseError = 7;
650 pub const G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE: GVariantParseError = 8;
651 pub const G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING: GVariantParseError = 9;
652 pub const G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE: GVariantParseError = 10;
653 pub const G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE: GVariantParseError = 11;
654 pub const G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG: GVariantParseError = 12;
655 pub const G_VARIANT_PARSE_ERROR_TYPE_ERROR: GVariantParseError = 13;
656 pub const G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN: GVariantParseError = 14;
657 pub const G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD: GVariantParseError = 15;
658 pub const G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT: GVariantParseError = 16;
659 pub const G_VARIANT_PARSE_ERROR_VALUE_EXPECTED: GVariantParseError = 17;
660 
661 // Constants
662 pub const G_ASCII_DTOSTR_BUF_SIZE: c_int = 39;
663 pub const G_BIG_ENDIAN: c_int = 4321;
664 pub const G_CSET_A_2_Z: *const c_char =
665     b"ABCDEFGHIJKLMNOPQRSTUVWXYZ\0" as *const u8 as *const c_char;
666 pub const G_CSET_DIGITS: *const c_char = b"0123456789\0" as *const u8 as *const c_char;
667 pub const G_CSET_a_2_z: *const c_char =
668     b"abcdefghijklmnopqrstuvwxyz\0" as *const u8 as *const c_char;
669 pub const G_DATALIST_FLAGS_MASK: c_int = 3;
670 pub const G_DATE_BAD_DAY: c_int = 0;
671 pub const G_DATE_BAD_JULIAN: c_int = 0;
672 pub const G_DATE_BAD_YEAR: c_int = 0;
673 pub const G_E: c_double = 2.718282;
674 pub const G_HOOK_FLAG_USER_SHIFT: c_int = 4;
675 pub const G_IEEE754_DOUBLE_BIAS: c_int = 1023;
676 pub const G_IEEE754_FLOAT_BIAS: c_int = 127;
677 pub const G_KEY_FILE_DESKTOP_ACTION_GROUP_PREFIX: *const c_char =
678     b"Desktop Action\0" as *const u8 as *const c_char;
679 pub const G_KEY_FILE_DESKTOP_GROUP: *const c_char =
680     b"Desktop Entry\0" as *const u8 as *const c_char;
681 pub const G_KEY_FILE_DESKTOP_KEY_ACTIONS: *const c_char =
682     b"Actions\0" as *const u8 as *const c_char;
683 pub const G_KEY_FILE_DESKTOP_KEY_CATEGORIES: *const c_char =
684     b"Categories\0" as *const u8 as *const c_char;
685 pub const G_KEY_FILE_DESKTOP_KEY_COMMENT: *const c_char =
686     b"Comment\0" as *const u8 as *const c_char;
687 pub const G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE: *const c_char =
688     b"DBusActivatable\0" as *const u8 as *const c_char;
689 pub const G_KEY_FILE_DESKTOP_KEY_EXEC: *const c_char = b"Exec\0" as *const u8 as *const c_char;
690 pub const G_KEY_FILE_DESKTOP_KEY_FULLNAME: *const c_char =
691     b"X-GNOME-FullName\0" as *const u8 as *const c_char;
692 pub const G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME: *const c_char =
693     b"GenericName\0" as *const u8 as *const c_char;
694 pub const G_KEY_FILE_DESKTOP_KEY_GETTEXT_DOMAIN: *const c_char =
695     b"X-GNOME-Gettext-Domain\0" as *const u8 as *const c_char;
696 pub const G_KEY_FILE_DESKTOP_KEY_HIDDEN: *const c_char = b"Hidden\0" as *const u8 as *const c_char;
697 pub const G_KEY_FILE_DESKTOP_KEY_ICON: *const c_char = b"Icon\0" as *const u8 as *const c_char;
698 pub const G_KEY_FILE_DESKTOP_KEY_KEYWORDS: *const c_char =
699     b"Keywords\0" as *const u8 as *const c_char;
700 pub const G_KEY_FILE_DESKTOP_KEY_MIME_TYPE: *const c_char =
701     b"MimeType\0" as *const u8 as *const c_char;
702 pub const G_KEY_FILE_DESKTOP_KEY_NAME: *const c_char = b"Name\0" as *const u8 as *const c_char;
703 pub const G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN: *const c_char =
704     b"NotShowIn\0" as *const u8 as *const c_char;
705 pub const G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY: *const c_char =
706     b"NoDisplay\0" as *const u8 as *const c_char;
707 pub const G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN: *const c_char =
708     b"OnlyShowIn\0" as *const u8 as *const c_char;
709 pub const G_KEY_FILE_DESKTOP_KEY_PATH: *const c_char = b"Path\0" as *const u8 as *const c_char;
710 pub const G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY: *const c_char =
711     b"StartupNotify\0" as *const u8 as *const c_char;
712 pub const G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS: *const c_char =
713     b"StartupWMClass\0" as *const u8 as *const c_char;
714 pub const G_KEY_FILE_DESKTOP_KEY_TERMINAL: *const c_char =
715     b"Terminal\0" as *const u8 as *const c_char;
716 pub const G_KEY_FILE_DESKTOP_KEY_TRY_EXEC: *const c_char =
717     b"TryExec\0" as *const u8 as *const c_char;
718 pub const G_KEY_FILE_DESKTOP_KEY_TYPE: *const c_char = b"Type\0" as *const u8 as *const c_char;
719 pub const G_KEY_FILE_DESKTOP_KEY_URL: *const c_char = b"URL\0" as *const u8 as *const c_char;
720 pub const G_KEY_FILE_DESKTOP_KEY_VERSION: *const c_char =
721     b"Version\0" as *const u8 as *const c_char;
722 pub const G_KEY_FILE_DESKTOP_TYPE_APPLICATION: *const c_char =
723     b"Application\0" as *const u8 as *const c_char;
724 pub const G_KEY_FILE_DESKTOP_TYPE_DIRECTORY: *const c_char =
725     b"Directory\0" as *const u8 as *const c_char;
726 pub const G_KEY_FILE_DESKTOP_TYPE_LINK: *const c_char = b"Link\0" as *const u8 as *const c_char;
727 pub const G_LITTLE_ENDIAN: c_int = 1234;
728 pub const G_LN10: c_double = 2.302585;
729 pub const G_LN2: c_double = 0.693147;
730 pub const G_LOG_2_BASE_10: c_double = 0.301030;
731 pub const G_LOG_DOMAIN: c_char = 0;
732 pub const G_LOG_FATAL_MASK: c_int = 5;
733 pub const G_LOG_LEVEL_USER_SHIFT: c_int = 8;
734 pub const G_OPTION_REMAINING: *const c_char = b"\0" as *const u8 as *const c_char;
735 pub const G_PDP_ENDIAN: c_int = 3412;
736 pub const G_PI: c_double = 3.141593;
737 pub const G_PI_2: c_double = 1.570796;
738 pub const G_PI_4: c_double = 0.785398;
739 pub const G_PRIORITY_DEFAULT: c_int = 0;
740 pub const G_PRIORITY_DEFAULT_IDLE: c_int = 200;
741 pub const G_PRIORITY_HIGH: c_int = -100;
742 pub const G_PRIORITY_HIGH_IDLE: c_int = 100;
743 pub const G_PRIORITY_LOW: c_int = 300;
744 pub const G_SOURCE_CONTINUE: gboolean = GTRUE;
745 pub const G_SOURCE_REMOVE: gboolean = GFALSE;
746 pub const G_SQRT2: c_double = 1.414214;
747 pub const G_STR_DELIMITERS: *const c_char = b"_-|> <.\0" as *const u8 as *const c_char;
748 pub const GLIB_SYSDEF_AF_INET: c_int = 2;
749 pub const GLIB_SYSDEF_AF_INET6: c_int = 10;
750 pub const GLIB_SYSDEF_AF_UNIX: c_int = 1;
751 pub const GLIB_SYSDEF_MSG_DONTROUTE: c_int = 4;
752 pub const GLIB_SYSDEF_MSG_OOB: c_int = 1;
753 pub const GLIB_SYSDEF_MSG_PEEK: c_int = 2;
754 pub const G_TEST_OPTION_ISOLATE_DIRS: *const c_char =
755     b"isolate_dirs\0" as *const u8 as *const c_char;
756 pub const G_TIME_SPAN_DAY: i64 = 86400000000;
757 pub const G_TIME_SPAN_HOUR: i64 = 3600000000;
758 pub const G_TIME_SPAN_MILLISECOND: i64 = 1000;
759 pub const G_TIME_SPAN_MINUTE: i64 = 60000000;
760 pub const G_TIME_SPAN_SECOND: i64 = 1000000;
761 pub const G_UNICHAR_MAX_DECOMPOSITION_LENGTH: c_int = 18;
762 pub const G_URI_RESERVED_CHARS_GENERIC_DELIMITERS: *const c_char =
763     b":/?#[]@\0" as *const u8 as *const c_char;
764 pub const G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS: *const c_char =
765     b"!$&'()*+,;=\0" as *const u8 as *const c_char;
766 pub const G_USEC_PER_SEC: c_int = 1000000;
767 pub const G_WIN32_MSG_HANDLE: c_int = 19981206;
768 
769 // Flags
770 pub type GAsciiType = c_uint;
771 pub const G_ASCII_ALNUM: GAsciiType = 1;
772 pub const G_ASCII_ALPHA: GAsciiType = 2;
773 pub const G_ASCII_CNTRL: GAsciiType = 4;
774 pub const G_ASCII_DIGIT: GAsciiType = 8;
775 pub const G_ASCII_GRAPH: GAsciiType = 16;
776 pub const G_ASCII_LOWER: GAsciiType = 32;
777 pub const G_ASCII_PRINT: GAsciiType = 64;
778 pub const G_ASCII_PUNCT: GAsciiType = 128;
779 pub const G_ASCII_SPACE: GAsciiType = 256;
780 pub const G_ASCII_UPPER: GAsciiType = 512;
781 pub const G_ASCII_XDIGIT: GAsciiType = 1024;
782 
783 pub type GFileTest = c_uint;
784 pub const G_FILE_TEST_IS_REGULAR: GFileTest = 1;
785 pub const G_FILE_TEST_IS_SYMLINK: GFileTest = 2;
786 pub const G_FILE_TEST_IS_DIR: GFileTest = 4;
787 pub const G_FILE_TEST_IS_EXECUTABLE: GFileTest = 8;
788 pub const G_FILE_TEST_EXISTS: GFileTest = 16;
789 
790 pub type GFormatSizeFlags = c_uint;
791 pub const G_FORMAT_SIZE_DEFAULT: GFormatSizeFlags = 0;
792 pub const G_FORMAT_SIZE_LONG_FORMAT: GFormatSizeFlags = 1;
793 pub const G_FORMAT_SIZE_IEC_UNITS: GFormatSizeFlags = 2;
794 pub const G_FORMAT_SIZE_BITS: GFormatSizeFlags = 4;
795 
796 pub type GHookFlagMask = c_uint;
797 pub const G_HOOK_FLAG_ACTIVE: GHookFlagMask = 1;
798 pub const G_HOOK_FLAG_IN_CALL: GHookFlagMask = 2;
799 pub const G_HOOK_FLAG_MASK: GHookFlagMask = 15;
800 
801 pub type GIOCondition = c_uint;
802 pub const G_IO_IN: GIOCondition = 1;
803 pub const G_IO_OUT: GIOCondition = 4;
804 pub const G_IO_PRI: GIOCondition = 2;
805 pub const G_IO_ERR: GIOCondition = 8;
806 pub const G_IO_HUP: GIOCondition = 16;
807 pub const G_IO_NVAL: GIOCondition = 32;
808 
809 pub type GIOFlags = c_uint;
810 pub const G_IO_FLAG_APPEND: GIOFlags = 1;
811 pub const G_IO_FLAG_NONBLOCK: GIOFlags = 2;
812 pub const G_IO_FLAG_IS_READABLE: GIOFlags = 4;
813 pub const G_IO_FLAG_IS_WRITABLE: GIOFlags = 8;
814 pub const G_IO_FLAG_IS_WRITEABLE: GIOFlags = 8;
815 pub const G_IO_FLAG_IS_SEEKABLE: GIOFlags = 16;
816 pub const G_IO_FLAG_MASK: GIOFlags = 31;
817 pub const G_IO_FLAG_GET_MASK: GIOFlags = 31;
818 pub const G_IO_FLAG_SET_MASK: GIOFlags = 3;
819 
820 pub type GKeyFileFlags = c_uint;
821 pub const G_KEY_FILE_NONE: GKeyFileFlags = 0;
822 pub const G_KEY_FILE_KEEP_COMMENTS: GKeyFileFlags = 1;
823 pub const G_KEY_FILE_KEEP_TRANSLATIONS: GKeyFileFlags = 2;
824 
825 pub type GLogLevelFlags = c_uint;
826 pub const G_LOG_FLAG_RECURSION: GLogLevelFlags = 1;
827 pub const G_LOG_FLAG_FATAL: GLogLevelFlags = 2;
828 pub const G_LOG_LEVEL_ERROR: GLogLevelFlags = 4;
829 pub const G_LOG_LEVEL_CRITICAL: GLogLevelFlags = 8;
830 pub const G_LOG_LEVEL_WARNING: GLogLevelFlags = 16;
831 pub const G_LOG_LEVEL_MESSAGE: GLogLevelFlags = 32;
832 pub const G_LOG_LEVEL_INFO: GLogLevelFlags = 64;
833 pub const G_LOG_LEVEL_DEBUG: GLogLevelFlags = 128;
834 pub const G_LOG_LEVEL_MASK: GLogLevelFlags = 4294967292;
835 
836 pub type GMarkupCollectType = c_uint;
837 pub const G_MARKUP_COLLECT_INVALID: GMarkupCollectType = 0;
838 pub const G_MARKUP_COLLECT_STRING: GMarkupCollectType = 1;
839 pub const G_MARKUP_COLLECT_STRDUP: GMarkupCollectType = 2;
840 pub const G_MARKUP_COLLECT_BOOLEAN: GMarkupCollectType = 3;
841 pub const G_MARKUP_COLLECT_TRISTATE: GMarkupCollectType = 4;
842 pub const G_MARKUP_COLLECT_OPTIONAL: GMarkupCollectType = 65536;
843 
844 pub type GMarkupParseFlags = c_uint;
845 pub const G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG: GMarkupParseFlags = 1;
846 pub const G_MARKUP_TREAT_CDATA_AS_TEXT: GMarkupParseFlags = 2;
847 pub const G_MARKUP_PREFIX_ERROR_POSITION: GMarkupParseFlags = 4;
848 pub const G_MARKUP_IGNORE_QUALIFIED: GMarkupParseFlags = 8;
849 
850 pub type GOptionFlags = c_uint;
851 pub const G_OPTION_FLAG_NONE: GOptionFlags = 0;
852 pub const G_OPTION_FLAG_HIDDEN: GOptionFlags = 1;
853 pub const G_OPTION_FLAG_IN_MAIN: GOptionFlags = 2;
854 pub const G_OPTION_FLAG_REVERSE: GOptionFlags = 4;
855 pub const G_OPTION_FLAG_NO_ARG: GOptionFlags = 8;
856 pub const G_OPTION_FLAG_FILENAME: GOptionFlags = 16;
857 pub const G_OPTION_FLAG_OPTIONAL_ARG: GOptionFlags = 32;
858 pub const G_OPTION_FLAG_NOALIAS: GOptionFlags = 64;
859 
860 pub type GRegexCompileFlags = c_uint;
861 pub const G_REGEX_CASELESS: GRegexCompileFlags = 1;
862 pub const G_REGEX_MULTILINE: GRegexCompileFlags = 2;
863 pub const G_REGEX_DOTALL: GRegexCompileFlags = 4;
864 pub const G_REGEX_EXTENDED: GRegexCompileFlags = 8;
865 pub const G_REGEX_ANCHORED: GRegexCompileFlags = 16;
866 pub const G_REGEX_DOLLAR_ENDONLY: GRegexCompileFlags = 32;
867 pub const G_REGEX_UNGREEDY: GRegexCompileFlags = 512;
868 pub const G_REGEX_RAW: GRegexCompileFlags = 2048;
869 pub const G_REGEX_NO_AUTO_CAPTURE: GRegexCompileFlags = 4096;
870 pub const G_REGEX_OPTIMIZE: GRegexCompileFlags = 8192;
871 pub const G_REGEX_FIRSTLINE: GRegexCompileFlags = 262144;
872 pub const G_REGEX_DUPNAMES: GRegexCompileFlags = 524288;
873 pub const G_REGEX_NEWLINE_CR: GRegexCompileFlags = 1048576;
874 pub const G_REGEX_NEWLINE_LF: GRegexCompileFlags = 2097152;
875 pub const G_REGEX_NEWLINE_CRLF: GRegexCompileFlags = 3145728;
876 pub const G_REGEX_NEWLINE_ANYCRLF: GRegexCompileFlags = 5242880;
877 pub const G_REGEX_BSR_ANYCRLF: GRegexCompileFlags = 8388608;
878 pub const G_REGEX_JAVASCRIPT_COMPAT: GRegexCompileFlags = 33554432;
879 
880 pub type GRegexMatchFlags = c_uint;
881 pub const G_REGEX_MATCH_ANCHORED: GRegexMatchFlags = 16;
882 pub const G_REGEX_MATCH_NOTBOL: GRegexMatchFlags = 128;
883 pub const G_REGEX_MATCH_NOTEOL: GRegexMatchFlags = 256;
884 pub const G_REGEX_MATCH_NOTEMPTY: GRegexMatchFlags = 1024;
885 pub const G_REGEX_MATCH_PARTIAL: GRegexMatchFlags = 32768;
886 pub const G_REGEX_MATCH_NEWLINE_CR: GRegexMatchFlags = 1048576;
887 pub const G_REGEX_MATCH_NEWLINE_LF: GRegexMatchFlags = 2097152;
888 pub const G_REGEX_MATCH_NEWLINE_CRLF: GRegexMatchFlags = 3145728;
889 pub const G_REGEX_MATCH_NEWLINE_ANY: GRegexMatchFlags = 4194304;
890 pub const G_REGEX_MATCH_NEWLINE_ANYCRLF: GRegexMatchFlags = 5242880;
891 pub const G_REGEX_MATCH_BSR_ANYCRLF: GRegexMatchFlags = 8388608;
892 pub const G_REGEX_MATCH_BSR_ANY: GRegexMatchFlags = 16777216;
893 pub const G_REGEX_MATCH_PARTIAL_SOFT: GRegexMatchFlags = 32768;
894 pub const G_REGEX_MATCH_PARTIAL_HARD: GRegexMatchFlags = 134217728;
895 pub const G_REGEX_MATCH_NOTEMPTY_ATSTART: GRegexMatchFlags = 268435456;
896 
897 pub type GSpawnFlags = c_uint;
898 pub const G_SPAWN_DEFAULT: GSpawnFlags = 0;
899 pub const G_SPAWN_LEAVE_DESCRIPTORS_OPEN: GSpawnFlags = 1;
900 pub const G_SPAWN_DO_NOT_REAP_CHILD: GSpawnFlags = 2;
901 pub const G_SPAWN_SEARCH_PATH: GSpawnFlags = 4;
902 pub const G_SPAWN_STDOUT_TO_DEV_NULL: GSpawnFlags = 8;
903 pub const G_SPAWN_STDERR_TO_DEV_NULL: GSpawnFlags = 16;
904 pub const G_SPAWN_CHILD_INHERITS_STDIN: GSpawnFlags = 32;
905 pub const G_SPAWN_FILE_AND_ARGV_ZERO: GSpawnFlags = 64;
906 pub const G_SPAWN_SEARCH_PATH_FROM_ENVP: GSpawnFlags = 128;
907 pub const G_SPAWN_CLOEXEC_PIPES: GSpawnFlags = 256;
908 
909 pub type GTestSubprocessFlags = c_uint;
910 pub const G_TEST_SUBPROCESS_INHERIT_STDIN: GTestSubprocessFlags = 1;
911 pub const G_TEST_SUBPROCESS_INHERIT_STDOUT: GTestSubprocessFlags = 2;
912 pub const G_TEST_SUBPROCESS_INHERIT_STDERR: GTestSubprocessFlags = 4;
913 
914 pub type GTestTrapFlags = c_uint;
915 pub const G_TEST_TRAP_SILENCE_STDOUT: GTestTrapFlags = 128;
916 pub const G_TEST_TRAP_SILENCE_STDERR: GTestTrapFlags = 256;
917 pub const G_TEST_TRAP_INHERIT_STDIN: GTestTrapFlags = 512;
918 
919 pub type GTraverseFlags = c_uint;
920 pub const G_TRAVERSE_LEAVES: GTraverseFlags = 1;
921 pub const G_TRAVERSE_NON_LEAVES: GTraverseFlags = 2;
922 pub const G_TRAVERSE_ALL: GTraverseFlags = 3;
923 pub const G_TRAVERSE_MASK: GTraverseFlags = 3;
924 pub const G_TRAVERSE_LEAFS: GTraverseFlags = 1;
925 pub const G_TRAVERSE_NON_LEAFS: GTraverseFlags = 2;
926 
927 // Unions
928 #[repr(C)]
929 pub struct GDoubleIEEE754(c_void);
930 
931 impl ::std::fmt::Debug for GDoubleIEEE754 {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result932     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
933         f.debug_struct(&format!("GDoubleIEEE754 @ {:?}", self as *const _))
934             .finish()
935     }
936 }
937 
938 #[repr(C)]
939 pub struct GFloatIEEE754(c_void);
940 
941 impl ::std::fmt::Debug for GFloatIEEE754 {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result942     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
943         f.debug_struct(&format!("GFloatIEEE754 @ {:?}", self as *const _))
944             .finish()
945     }
946 }
947 
948 #[repr(C)]
949 #[derive(Copy, Clone)]
950 pub union GMutex {
951     pub p: gpointer,
952     pub i: [c_uint; 2],
953 }
954 
955 impl ::std::fmt::Debug for GMutex {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result956     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
957         f.debug_struct(&format!("GMutex @ {:?}", self as *const _))
958             .finish()
959     }
960 }
961 
962 #[repr(C)]
963 #[derive(Copy, Clone)]
964 pub union GTokenValue {
965     pub v_symbol: gpointer,
966     pub v_identifier: *mut c_char,
967     pub v_binary: c_ulong,
968     pub v_octal: c_ulong,
969     pub v_int: c_ulong,
970     pub v_int64: u64,
971     pub v_float: c_double,
972     pub v_hex: c_ulong,
973     pub v_string: *mut c_char,
974     pub v_comment: *mut c_char,
975     pub v_char: c_uchar,
976     pub v_error: c_uint,
977 }
978 
979 impl ::std::fmt::Debug for GTokenValue {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result980     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
981         f.debug_struct(&format!("GTokenValue @ {:?}", self as *const _))
982             .field("v_symbol", unsafe { &self.v_symbol })
983             .field("v_identifier", unsafe { &self.v_identifier })
984             .field("v_binary", unsafe { &self.v_binary })
985             .field("v_octal", unsafe { &self.v_octal })
986             .field("v_int", unsafe { &self.v_int })
987             .field("v_int64", unsafe { &self.v_int64 })
988             .field("v_float", unsafe { &self.v_float })
989             .field("v_hex", unsafe { &self.v_hex })
990             .field("v_string", unsafe { &self.v_string })
991             .field("v_comment", unsafe { &self.v_comment })
992             .field("v_char", unsafe { &self.v_char })
993             .field("v_error", unsafe { &self.v_error })
994             .finish()
995     }
996 }
997 
998 #[repr(C)]
999 #[derive(Copy, Clone)]
1000 pub union GVariantBuilder_u {
1001     pub s: GVariantBuilder_u_s,
1002     pub x: [size_t; 16],
1003 }
1004 
1005 impl ::std::fmt::Debug for GVariantBuilder_u {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1006     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1007         f.debug_struct(&format!("GVariantBuilder_u @ {:?}", self as *const _))
1008             .field("s", unsafe { &self.s })
1009             .field("x", unsafe { &self.x })
1010             .finish()
1011     }
1012 }
1013 
1014 #[repr(C)]
1015 #[derive(Copy, Clone)]
1016 pub union GVariantDict_u {
1017     pub s: GVariantDict_u_s,
1018     pub x: [size_t; 16],
1019 }
1020 
1021 impl ::std::fmt::Debug for GVariantDict_u {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1022     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1023         f.debug_struct(&format!("GVariantDict_u @ {:?}", self as *const _))
1024             .field("s", unsafe { &self.s })
1025             .field("x", unsafe { &self.x })
1026             .finish()
1027     }
1028 }
1029 
1030 // Callbacks
1031 pub type GChildWatchFunc = Option<unsafe extern "C" fn(GPid, c_int, gpointer)>;
1032 pub type GClearHandleFunc = Option<unsafe extern "C" fn(c_uint)>;
1033 pub type GCompareDataFunc =
1034     Option<unsafe extern "C" fn(gconstpointer, gconstpointer, gpointer) -> c_int>;
1035 pub type GCompareFunc = Option<unsafe extern "C" fn(gconstpointer, gconstpointer) -> c_int>;
1036 pub type GCopyFunc = Option<unsafe extern "C" fn(gconstpointer, gpointer) -> gpointer>;
1037 pub type GDataForeachFunc = Option<unsafe extern "C" fn(GQuark, gpointer, gpointer)>;
1038 pub type GDestroyNotify = Option<unsafe extern "C" fn(gpointer)>;
1039 pub type GDuplicateFunc = Option<unsafe extern "C" fn(gpointer, gpointer) -> gpointer>;
1040 pub type GEqualFunc = Option<unsafe extern "C" fn(gconstpointer, gconstpointer) -> gboolean>;
1041 pub type GFreeFunc = Option<unsafe extern "C" fn(gpointer)>;
1042 pub type GFunc = Option<unsafe extern "C" fn(gpointer, gpointer)>;
1043 pub type GHFunc = Option<unsafe extern "C" fn(gpointer, gpointer, gpointer)>;
1044 pub type GHRFunc = Option<unsafe extern "C" fn(gpointer, gpointer, gpointer) -> gboolean>;
1045 pub type GHashFunc = Option<unsafe extern "C" fn(gconstpointer) -> c_uint>;
1046 pub type GHookCheckFunc = Option<unsafe extern "C" fn(gpointer) -> gboolean>;
1047 pub type GHookCheckMarshaller = Option<unsafe extern "C" fn(*mut GHook, gpointer) -> gboolean>;
1048 pub type GHookCompareFunc = Option<unsafe extern "C" fn(*mut GHook, *mut GHook) -> c_int>;
1049 pub type GHookFinalizeFunc = Option<unsafe extern "C" fn(*mut GHookList, *mut GHook)>;
1050 pub type GHookFindFunc = Option<unsafe extern "C" fn(*mut GHook, gpointer) -> gboolean>;
1051 pub type GHookFunc = Option<unsafe extern "C" fn(gpointer)>;
1052 pub type GHookMarshaller = Option<unsafe extern "C" fn(*mut GHook, gpointer)>;
1053 pub type GIOFunc =
1054     Option<unsafe extern "C" fn(*mut GIOChannel, GIOCondition, gpointer) -> gboolean>;
1055 pub type GLogFunc =
1056     Option<unsafe extern "C" fn(*const c_char, GLogLevelFlags, *const c_char, gpointer)>;
1057 pub type GLogWriterFunc = Option<
1058     unsafe extern "C" fn(GLogLevelFlags, *const GLogField, size_t, gpointer) -> GLogWriterOutput,
1059 >;
1060 pub type GNodeForeachFunc = Option<unsafe extern "C" fn(*mut GNode, gpointer)>;
1061 pub type GNodeTraverseFunc = Option<unsafe extern "C" fn(*mut GNode, gpointer) -> gboolean>;
1062 pub type GOptionArgFunc = Option<
1063     unsafe extern "C" fn(*const c_char, *const c_char, gpointer, *mut *mut GError) -> gboolean,
1064 >;
1065 pub type GOptionErrorFunc = Option<
1066     unsafe extern "C" fn(*mut GOptionContext, *mut GOptionGroup, gpointer, *mut *mut GError),
1067 >;
1068 pub type GOptionParseFunc = Option<
1069     unsafe extern "C" fn(
1070         *mut GOptionContext,
1071         *mut GOptionGroup,
1072         gpointer,
1073         *mut *mut GError,
1074     ) -> gboolean,
1075 >;
1076 pub type GPollFunc = Option<unsafe extern "C" fn(*mut GPollFD, c_uint, c_int) -> c_int>;
1077 pub type GPrintFunc = Option<unsafe extern "C" fn(*const c_char)>;
1078 pub type GRegexEvalCallback =
1079     Option<unsafe extern "C" fn(*const GMatchInfo, *mut GString, gpointer) -> gboolean>;
1080 pub type GScannerMsgFunc = Option<unsafe extern "C" fn(*mut GScanner, *mut c_char, gboolean)>;
1081 pub type GSequenceIterCompareFunc =
1082     Option<unsafe extern "C" fn(*mut GSequenceIter, *mut GSequenceIter, gpointer) -> c_int>;
1083 pub type GSourceDummyMarshal = Option<unsafe extern "C" fn()>;
1084 pub type GSourceFunc = Option<unsafe extern "C" fn(gpointer) -> gboolean>;
1085 pub type GSpawnChildSetupFunc = Option<unsafe extern "C" fn(gpointer)>;
1086 pub type GTestDataFunc = Option<unsafe extern "C" fn(gconstpointer)>;
1087 pub type GTestFixtureFunc = Option<unsafe extern "C" fn(gpointer, gconstpointer)>;
1088 pub type GTestFunc = Option<unsafe extern "C" fn()>;
1089 pub type GTestLogFatalFunc = Option<
1090     unsafe extern "C" fn(*const c_char, GLogLevelFlags, *const c_char, gpointer) -> gboolean,
1091 >;
1092 pub type GThreadFunc = Option<unsafe extern "C" fn(gpointer) -> gpointer>;
1093 pub type GTranslateFunc = Option<unsafe extern "C" fn(*const c_char, gpointer) -> *const c_char>;
1094 pub type GTraverseFunc = Option<unsafe extern "C" fn(gpointer, gpointer, gpointer) -> gboolean>;
1095 pub type GUnixFDSourceFunc =
1096     Option<unsafe extern "C" fn(c_int, GIOCondition, gpointer) -> gboolean>;
1097 pub type GVoidFunc = Option<unsafe extern "C" fn()>;
1098 
1099 // Records
1100 #[repr(C)]
1101 #[derive(Copy, Clone)]
1102 pub struct GArray {
1103     pub data: *mut c_char,
1104     pub len: c_uint,
1105 }
1106 
1107 impl ::std::fmt::Debug for GArray {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1108     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1109         f.debug_struct(&format!("GArray @ {:?}", self as *const _))
1110             .field("data", &self.data)
1111             .field("len", &self.len)
1112             .finish()
1113     }
1114 }
1115 
1116 #[repr(C)]
1117 pub struct _GAsyncQueue(c_void);
1118 
1119 pub type GAsyncQueue = *mut _GAsyncQueue;
1120 
1121 #[repr(C)]
1122 pub struct _GBookmarkFile(c_void);
1123 
1124 pub type GBookmarkFile = *mut _GBookmarkFile;
1125 
1126 #[repr(C)]
1127 #[derive(Copy, Clone)]
1128 pub struct GByteArray {
1129     pub data: *mut u8,
1130     pub len: c_uint,
1131 }
1132 
1133 impl ::std::fmt::Debug for GByteArray {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1134     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1135         f.debug_struct(&format!("GByteArray @ {:?}", self as *const _))
1136             .field("data", &self.data)
1137             .field("len", &self.len)
1138             .finish()
1139     }
1140 }
1141 
1142 #[repr(C)]
1143 pub struct GBytes(c_void);
1144 
1145 impl ::std::fmt::Debug for GBytes {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1146     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1147         f.debug_struct(&format!("GBytes @ {:?}", self as *const _))
1148             .finish()
1149     }
1150 }
1151 
1152 #[repr(C)]
1153 pub struct GChecksum(c_void);
1154 
1155 impl ::std::fmt::Debug for GChecksum {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1156     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1157         f.debug_struct(&format!("GChecksum @ {:?}", self as *const _))
1158             .finish()
1159     }
1160 }
1161 
1162 #[repr(C)]
1163 #[derive(Copy, Clone)]
1164 pub struct GCond {
1165     pub p: gpointer,
1166     pub i: [c_uint; 2],
1167 }
1168 
1169 impl ::std::fmt::Debug for GCond {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1170     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1171         f.debug_struct(&format!("GCond @ {:?}", self as *const _))
1172             .finish()
1173     }
1174 }
1175 
1176 #[repr(C)]
1177 pub struct _GData(c_void);
1178 
1179 pub type GData = *mut _GData;
1180 
1181 #[repr(C)]
1182 pub struct GDate {
1183     pub julian_days: c_uint,
1184     _truncated_record_marker: c_void,
1185     // field julian has incomplete type
1186 }
1187 
1188 impl ::std::fmt::Debug for GDate {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1189     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1190         f.debug_struct(&format!("GDate @ {:?}", self as *const _))
1191             .field("julian_days", &self.julian_days)
1192             .finish()
1193     }
1194 }
1195 
1196 #[repr(C)]
1197 pub struct GDateTime(c_void);
1198 
1199 impl ::std::fmt::Debug for GDateTime {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1200     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1201         f.debug_struct(&format!("GDateTime @ {:?}", self as *const _))
1202             .finish()
1203     }
1204 }
1205 
1206 #[repr(C)]
1207 #[derive(Copy, Clone)]
1208 pub struct GDebugKey {
1209     pub key: *const c_char,
1210     pub value: c_uint,
1211 }
1212 
1213 impl ::std::fmt::Debug for GDebugKey {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1214     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1215         f.debug_struct(&format!("GDebugKey @ {:?}", self as *const _))
1216             .field("key", &self.key)
1217             .field("value", &self.value)
1218             .finish()
1219     }
1220 }
1221 
1222 #[repr(C)]
1223 pub struct _GDir(c_void);
1224 
1225 pub type GDir = *mut _GDir;
1226 
1227 #[repr(C)]
1228 pub struct GDoubleIEEE754_mpn {
1229     pub mantissa_low: c_uint,
1230     _truncated_record_marker: c_void,
1231     // field mantissa_high has incomplete type
1232 }
1233 
1234 impl ::std::fmt::Debug for GDoubleIEEE754_mpn {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1235     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1236         f.debug_struct(&format!("GDoubleIEEE754_mpn @ {:?}", self as *const _))
1237             .field("mantissa_low", &self.mantissa_low)
1238             .finish()
1239     }
1240 }
1241 
1242 #[repr(C)]
1243 #[derive(Copy, Clone)]
1244 pub struct GError {
1245     pub domain: GQuark,
1246     pub code: c_int,
1247     pub message: *mut c_char,
1248 }
1249 
1250 impl ::std::fmt::Debug for GError {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1251     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1252         f.debug_struct(&format!("GError @ {:?}", self as *const _))
1253             .field("domain", &self.domain)
1254             .field("code", &self.code)
1255             .field("message", &self.message)
1256             .finish()
1257     }
1258 }
1259 
1260 #[repr(C)]
1261 pub struct GFloatIEEE754_mpn {
1262     pub mantissa: c_uint,
1263     _truncated_record_marker: c_void,
1264     // field biased_exponent has incomplete type
1265 }
1266 
1267 impl ::std::fmt::Debug for GFloatIEEE754_mpn {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1268     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1269         f.debug_struct(&format!("GFloatIEEE754_mpn @ {:?}", self as *const _))
1270             .field("mantissa", &self.mantissa)
1271             .finish()
1272     }
1273 }
1274 
1275 #[repr(C)]
1276 pub struct GHashTable(c_void);
1277 
1278 impl ::std::fmt::Debug for GHashTable {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1279     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1280         f.debug_struct(&format!("GHashTable @ {:?}", self as *const _))
1281             .finish()
1282     }
1283 }
1284 
1285 #[repr(C)]
1286 #[derive(Copy, Clone)]
1287 pub struct GHashTableIter {
1288     pub dummy1: gpointer,
1289     pub dummy2: gpointer,
1290     pub dummy3: gpointer,
1291     pub dummy4: c_int,
1292     pub dummy5: gboolean,
1293     pub dummy6: gpointer,
1294 }
1295 
1296 impl ::std::fmt::Debug for GHashTableIter {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1297     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1298         f.debug_struct(&format!("GHashTableIter @ {:?}", self as *const _))
1299             .finish()
1300     }
1301 }
1302 
1303 #[repr(C)]
1304 pub struct _GHmac(c_void);
1305 
1306 pub type GHmac = *mut _GHmac;
1307 
1308 #[repr(C)]
1309 #[derive(Copy, Clone)]
1310 pub struct GHook {
1311     pub data: gpointer,
1312     pub next: *mut GHook,
1313     pub prev: *mut GHook,
1314     pub ref_count: c_uint,
1315     pub hook_id: c_ulong,
1316     pub flags: c_uint,
1317     pub func: gpointer,
1318     pub destroy: GDestroyNotify,
1319 }
1320 
1321 impl ::std::fmt::Debug for GHook {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1322     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1323         f.debug_struct(&format!("GHook @ {:?}", self as *const _))
1324             .field("data", &self.data)
1325             .field("next", &self.next)
1326             .field("prev", &self.prev)
1327             .field("ref_count", &self.ref_count)
1328             .field("hook_id", &self.hook_id)
1329             .field("flags", &self.flags)
1330             .field("func", &self.func)
1331             .field("destroy", &self.destroy)
1332             .finish()
1333     }
1334 }
1335 
1336 #[repr(C)]
1337 #[derive(Copy, Clone)]
1338 pub struct GHookList {
1339     pub seq_id: c_ulong,
1340     #[cfg(any(not(windows), not(target_pointer_width = "64")))]
1341     pub hook_size_and_setup: gpointer,
1342     #[cfg(all(windows, target_pointer_width = "64"))]
1343     pub hook_size_and_setup: c_ulong,
1344     pub hooks: *mut GHook,
1345     pub dummy3: gpointer,
1346     pub finalize_hook: GHookFinalizeFunc,
1347     pub dummy: [gpointer; 2],
1348 }
1349 
1350 impl ::std::fmt::Debug for GHookList {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1351     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1352         write!(f, "GHookList @ {:?}", self as *const _)
1353     }
1354 }
1355 
1356 #[repr(C)]
1357 pub struct _GIConv(c_void);
1358 
1359 pub type GIConv = *mut _GIConv;
1360 
1361 #[repr(C)]
1362 pub struct GIOChannel {
1363     pub ref_count: c_int,
1364     pub funcs: *mut GIOFuncs,
1365     pub encoding: *mut c_char,
1366     pub read_cd: GIConv,
1367     pub write_cd: GIConv,
1368     pub line_term: *mut c_char,
1369     pub line_term_len: c_uint,
1370     pub buf_size: size_t,
1371     pub read_buf: *mut GString,
1372     pub encoded_read_buf: *mut GString,
1373     pub write_buf: *mut GString,
1374     pub partial_write_buf: [c_char; 6],
1375     pub use_buffer: c_uint,
1376     _truncated_record_marker: c_void,
1377     // field do_encode has incomplete type
1378 }
1379 
1380 impl ::std::fmt::Debug for GIOChannel {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1381     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1382         f.debug_struct(&format!("GIOChannel @ {:?}", self as *const _))
1383             .finish()
1384     }
1385 }
1386 
1387 #[repr(C)]
1388 #[derive(Copy, Clone)]
1389 pub struct GIOFuncs {
1390     pub io_read: Option<
1391         unsafe extern "C" fn(
1392             *mut GIOChannel,
1393             *const c_char,
1394             size_t,
1395             *mut size_t,
1396             *mut *mut GError,
1397         ) -> GIOStatus,
1398     >,
1399     pub io_write: Option<
1400         unsafe extern "C" fn(
1401             *mut GIOChannel,
1402             *const c_char,
1403             size_t,
1404             *mut size_t,
1405             *mut *mut GError,
1406         ) -> GIOStatus,
1407     >,
1408     pub io_seek: Option<
1409         unsafe extern "C" fn(*mut GIOChannel, i64, GSeekType, *mut *mut GError) -> GIOStatus,
1410     >,
1411     pub io_close: Option<unsafe extern "C" fn(*mut GIOChannel, *mut *mut GError) -> GIOStatus>,
1412     pub io_create_watch:
1413         Option<unsafe extern "C" fn(*mut GIOChannel, GIOCondition) -> *mut GSource>,
1414     pub io_free: Option<unsafe extern "C" fn(*mut GIOChannel)>,
1415     pub io_set_flags:
1416         Option<unsafe extern "C" fn(*mut GIOChannel, GIOFlags, *mut *mut GError) -> GIOStatus>,
1417     pub io_get_flags: Option<unsafe extern "C" fn(*mut GIOChannel) -> GIOFlags>,
1418 }
1419 
1420 impl ::std::fmt::Debug for GIOFuncs {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1421     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1422         f.debug_struct(&format!("GIOFuncs @ {:?}", self as *const _))
1423             .field("io_read", &self.io_read)
1424             .field("io_write", &self.io_write)
1425             .field("io_seek", &self.io_seek)
1426             .field("io_close", &self.io_close)
1427             .field("io_create_watch", &self.io_create_watch)
1428             .field("io_free", &self.io_free)
1429             .field("io_set_flags", &self.io_set_flags)
1430             .field("io_get_flags", &self.io_get_flags)
1431             .finish()
1432     }
1433 }
1434 
1435 #[repr(C)]
1436 pub struct GKeyFile(c_void);
1437 
1438 impl ::std::fmt::Debug for GKeyFile {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1439     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1440         f.debug_struct(&format!("GKeyFile @ {:?}", self as *const _))
1441             .finish()
1442     }
1443 }
1444 
1445 #[repr(C)]
1446 #[derive(Copy, Clone)]
1447 pub struct GList {
1448     pub data: gpointer,
1449     pub next: *mut GList,
1450     pub prev: *mut GList,
1451 }
1452 
1453 impl ::std::fmt::Debug for GList {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1454     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1455         f.debug_struct(&format!("GList @ {:?}", self as *const _))
1456             .field("data", &self.data)
1457             .field("next", &self.next)
1458             .field("prev", &self.prev)
1459             .finish()
1460     }
1461 }
1462 
1463 #[repr(C)]
1464 #[derive(Copy, Clone)]
1465 pub struct GLogField {
1466     pub key: *const c_char,
1467     pub value: gconstpointer,
1468     pub length: ssize_t,
1469 }
1470 
1471 impl ::std::fmt::Debug for GLogField {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1472     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1473         f.debug_struct(&format!("GLogField @ {:?}", self as *const _))
1474             .field("key", &self.key)
1475             .field("value", &self.value)
1476             .field("length", &self.length)
1477             .finish()
1478     }
1479 }
1480 
1481 #[repr(C)]
1482 pub struct GMainContext(c_void);
1483 
1484 impl ::std::fmt::Debug for GMainContext {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1485     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1486         f.debug_struct(&format!("GMainContext @ {:?}", self as *const _))
1487             .finish()
1488     }
1489 }
1490 
1491 #[repr(C)]
1492 pub struct GMainLoop(c_void);
1493 
1494 impl ::std::fmt::Debug for GMainLoop {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1495     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1496         f.debug_struct(&format!("GMainLoop @ {:?}", self as *const _))
1497             .finish()
1498     }
1499 }
1500 
1501 #[repr(C)]
1502 pub struct GMappedFile(c_void);
1503 
1504 impl ::std::fmt::Debug for GMappedFile {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1505     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1506         f.debug_struct(&format!("GMappedFile @ {:?}", self as *const _))
1507             .finish()
1508     }
1509 }
1510 
1511 #[repr(C)]
1512 pub struct GMarkupParseContext(c_void);
1513 
1514 impl ::std::fmt::Debug for GMarkupParseContext {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1515     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1516         f.debug_struct(&format!("GMarkupParseContext @ {:?}", self as *const _))
1517             .finish()
1518     }
1519 }
1520 
1521 #[repr(C)]
1522 #[derive(Copy, Clone)]
1523 pub struct GMarkupParser {
1524     pub start_element: Option<
1525         unsafe extern "C" fn(
1526             *mut GMarkupParseContext,
1527             *const c_char,
1528             *mut *const c_char,
1529             *mut *const c_char,
1530             gpointer,
1531             *mut *mut GError,
1532         ),
1533     >,
1534     pub end_element: Option<
1535         unsafe extern "C" fn(*mut GMarkupParseContext, *const c_char, gpointer, *mut *mut GError),
1536     >,
1537     pub text: Option<
1538         unsafe extern "C" fn(
1539             *mut GMarkupParseContext,
1540             *const c_char,
1541             size_t,
1542             gpointer,
1543             *mut *mut GError,
1544         ),
1545     >,
1546     pub passthrough: Option<
1547         unsafe extern "C" fn(
1548             *mut GMarkupParseContext,
1549             *const c_char,
1550             size_t,
1551             gpointer,
1552             *mut *mut GError,
1553         ),
1554     >,
1555     pub error: Option<unsafe extern "C" fn(*mut GMarkupParseContext, *mut GError, gpointer)>,
1556 }
1557 
1558 impl ::std::fmt::Debug for GMarkupParser {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1559     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1560         f.debug_struct(&format!("GMarkupParser @ {:?}", self as *const _))
1561             .field("start_element", &self.start_element)
1562             .field("end_element", &self.end_element)
1563             .field("text", &self.text)
1564             .field("passthrough", &self.passthrough)
1565             .field("error", &self.error)
1566             .finish()
1567     }
1568 }
1569 
1570 #[repr(C)]
1571 pub struct GMatchInfo(c_void);
1572 
1573 impl ::std::fmt::Debug for GMatchInfo {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1574     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1575         f.debug_struct(&format!("GMatchInfo @ {:?}", self as *const _))
1576             .finish()
1577     }
1578 }
1579 
1580 #[repr(C)]
1581 #[derive(Copy, Clone)]
1582 pub struct GMemVTable {
1583     pub malloc: Option<unsafe extern "C" fn(size_t) -> gpointer>,
1584     pub realloc: Option<unsafe extern "C" fn(gpointer, size_t) -> gpointer>,
1585     pub free: Option<unsafe extern "C" fn(gpointer)>,
1586     pub calloc: Option<unsafe extern "C" fn(size_t, size_t) -> gpointer>,
1587     pub try_malloc: Option<unsafe extern "C" fn(size_t) -> gpointer>,
1588     pub try_realloc: Option<unsafe extern "C" fn(gpointer, size_t) -> gpointer>,
1589 }
1590 
1591 impl ::std::fmt::Debug for GMemVTable {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1592     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1593         f.debug_struct(&format!("GMemVTable @ {:?}", self as *const _))
1594             .field("malloc", &self.malloc)
1595             .field("realloc", &self.realloc)
1596             .field("free", &self.free)
1597             .field("calloc", &self.calloc)
1598             .field("try_malloc", &self.try_malloc)
1599             .field("try_realloc", &self.try_realloc)
1600             .finish()
1601     }
1602 }
1603 
1604 #[repr(C)]
1605 #[derive(Copy, Clone)]
1606 pub struct GNode {
1607     pub data: gpointer,
1608     pub next: *mut GNode,
1609     pub prev: *mut GNode,
1610     pub parent: *mut GNode,
1611     pub children: *mut GNode,
1612 }
1613 
1614 impl ::std::fmt::Debug for GNode {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1615     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1616         f.debug_struct(&format!("GNode @ {:?}", self as *const _))
1617             .field("data", &self.data)
1618             .field("next", &self.next)
1619             .field("prev", &self.prev)
1620             .field("parent", &self.parent)
1621             .field("children", &self.children)
1622             .finish()
1623     }
1624 }
1625 
1626 #[repr(C)]
1627 #[derive(Copy, Clone)]
1628 pub struct GOnce {
1629     pub status: GOnceStatus,
1630     pub retval: gpointer,
1631 }
1632 
1633 impl ::std::fmt::Debug for GOnce {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1634     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1635         f.debug_struct(&format!("GOnce @ {:?}", self as *const _))
1636             .finish()
1637     }
1638 }
1639 
1640 #[repr(C)]
1641 pub struct _GOptionContext(c_void);
1642 
1643 pub type GOptionContext = *mut _GOptionContext;
1644 
1645 #[repr(C)]
1646 #[derive(Copy, Clone)]
1647 pub struct GOptionEntry {
1648     pub long_name: *const c_char,
1649     pub short_name: c_char,
1650     pub flags: c_int,
1651     pub arg: GOptionArg,
1652     pub arg_data: gpointer,
1653     pub description: *const c_char,
1654     pub arg_description: *const c_char,
1655 }
1656 
1657 impl ::std::fmt::Debug for GOptionEntry {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1658     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1659         f.debug_struct(&format!("GOptionEntry @ {:?}", self as *const _))
1660             .field("long_name", &self.long_name)
1661             .field("short_name", &self.short_name)
1662             .field("flags", &self.flags)
1663             .field("arg", &self.arg)
1664             .field("arg_data", &self.arg_data)
1665             .field("description", &self.description)
1666             .field("arg_description", &self.arg_description)
1667             .finish()
1668     }
1669 }
1670 
1671 #[repr(C)]
1672 pub struct GOptionGroup(c_void);
1673 
1674 impl ::std::fmt::Debug for GOptionGroup {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1675     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1676         f.debug_struct(&format!("GOptionGroup @ {:?}", self as *const _))
1677             .finish()
1678     }
1679 }
1680 
1681 #[repr(C)]
1682 pub struct _GPatternSpec(c_void);
1683 
1684 pub type GPatternSpec = *mut _GPatternSpec;
1685 
1686 #[repr(C)]
1687 #[derive(Copy, Clone)]
1688 pub struct GPrivate {
1689     pub p: gpointer,
1690     pub notify: GDestroyNotify,
1691     pub future: [gpointer; 2],
1692 }
1693 
1694 impl ::std::fmt::Debug for GPrivate {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1695     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1696         f.debug_struct(&format!("GPrivate @ {:?}", self as *const _))
1697             .finish()
1698     }
1699 }
1700 
1701 #[repr(C)]
1702 #[derive(Copy, Clone)]
1703 pub struct GPtrArray {
1704     pub pdata: *mut gpointer,
1705     pub len: c_uint,
1706 }
1707 
1708 impl ::std::fmt::Debug for GPtrArray {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1709     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1710         f.debug_struct(&format!("GPtrArray @ {:?}", self as *const _))
1711             .field("pdata", &self.pdata)
1712             .field("len", &self.len)
1713             .finish()
1714     }
1715 }
1716 
1717 #[repr(C)]
1718 #[derive(Copy, Clone)]
1719 pub struct GQueue {
1720     pub head: *mut GList,
1721     pub tail: *mut GList,
1722     pub length: c_uint,
1723 }
1724 
1725 impl ::std::fmt::Debug for GQueue {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1726     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1727         f.debug_struct(&format!("GQueue @ {:?}", self as *const _))
1728             .field("head", &self.head)
1729             .field("tail", &self.tail)
1730             .field("length", &self.length)
1731             .finish()
1732     }
1733 }
1734 
1735 #[repr(C)]
1736 #[derive(Copy, Clone)]
1737 pub struct GRWLock {
1738     pub p: gpointer,
1739     pub i: [c_uint; 2],
1740 }
1741 
1742 impl ::std::fmt::Debug for GRWLock {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1743     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1744         f.debug_struct(&format!("GRWLock @ {:?}", self as *const _))
1745             .finish()
1746     }
1747 }
1748 
1749 #[repr(C)]
1750 pub struct _GRand(c_void);
1751 
1752 pub type GRand = *mut _GRand;
1753 
1754 #[repr(C)]
1755 #[derive(Copy, Clone)]
1756 pub struct GRecMutex {
1757     pub p: gpointer,
1758     pub i: [c_uint; 2],
1759 }
1760 
1761 impl ::std::fmt::Debug for GRecMutex {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1762     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1763         f.debug_struct(&format!("GRecMutex @ {:?}", self as *const _))
1764             .finish()
1765     }
1766 }
1767 
1768 #[repr(C)]
1769 pub struct GRegex(c_void);
1770 
1771 impl ::std::fmt::Debug for GRegex {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1772     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1773         f.debug_struct(&format!("GRegex @ {:?}", self as *const _))
1774             .finish()
1775     }
1776 }
1777 
1778 #[repr(C)]
1779 #[derive(Copy, Clone)]
1780 pub struct GSList {
1781     pub data: gpointer,
1782     pub next: *mut GSList,
1783 }
1784 
1785 impl ::std::fmt::Debug for GSList {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1786     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1787         f.debug_struct(&format!("GSList @ {:?}", self as *const _))
1788             .field("data", &self.data)
1789             .field("next", &self.next)
1790             .finish()
1791     }
1792 }
1793 
1794 #[repr(C)]
1795 #[derive(Copy, Clone)]
1796 pub struct GScanner {
1797     pub user_data: gpointer,
1798     pub max_parse_errors: c_uint,
1799     pub parse_errors: c_uint,
1800     pub input_name: *const c_char,
1801     pub qdata: *mut GData,
1802     pub config: *mut GScannerConfig,
1803     pub token: GTokenType,
1804     pub value: GTokenValue,
1805     pub line: c_uint,
1806     pub position: c_uint,
1807     pub next_token: GTokenType,
1808     pub next_value: GTokenValue,
1809     pub next_line: c_uint,
1810     pub next_position: c_uint,
1811     pub symbol_table: *mut GHashTable,
1812     pub input_fd: c_int,
1813     pub text: *const c_char,
1814     pub text_end: *const c_char,
1815     pub buffer: *mut c_char,
1816     pub scope_id: c_uint,
1817     pub msg_handler: GScannerMsgFunc,
1818 }
1819 
1820 impl ::std::fmt::Debug for GScanner {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1821     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1822         f.debug_struct(&format!("GScanner @ {:?}", self as *const _))
1823             .field("user_data", &self.user_data)
1824             .field("max_parse_errors", &self.max_parse_errors)
1825             .field("parse_errors", &self.parse_errors)
1826             .field("input_name", &self.input_name)
1827             .field("qdata", &self.qdata)
1828             .field("config", &self.config)
1829             .field("token", &self.token)
1830             .field("value", &self.value)
1831             .field("line", &self.line)
1832             .field("position", &self.position)
1833             .field("next_token", &self.next_token)
1834             .field("next_value", &self.next_value)
1835             .field("next_line", &self.next_line)
1836             .field("next_position", &self.next_position)
1837             .field("msg_handler", &self.msg_handler)
1838             .finish()
1839     }
1840 }
1841 
1842 #[repr(C)]
1843 pub struct GScannerConfig {
1844     pub cset_skip_characters: *mut c_char,
1845     pub cset_identifier_first: *mut c_char,
1846     pub cset_identifier_nth: *mut c_char,
1847     pub cpair_comment_single: *mut c_char,
1848     pub case_sensitive: c_uint,
1849     _truncated_record_marker: c_void,
1850     // field skip_comment_multi has incomplete type
1851 }
1852 
1853 impl ::std::fmt::Debug for GScannerConfig {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1854     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1855         f.debug_struct(&format!("GScannerConfig @ {:?}", self as *const _))
1856             .field("cset_skip_characters", &self.cset_skip_characters)
1857             .field("cset_identifier_first", &self.cset_identifier_first)
1858             .field("cset_identifier_nth", &self.cset_identifier_nth)
1859             .field("cpair_comment_single", &self.cpair_comment_single)
1860             .field("case_sensitive", &self.case_sensitive)
1861             .finish()
1862     }
1863 }
1864 
1865 #[repr(C)]
1866 pub struct _GSequence(c_void);
1867 
1868 pub type GSequence = *mut _GSequence;
1869 
1870 #[repr(C)]
1871 pub struct _GSequenceIter(c_void);
1872 
1873 pub type GSequenceIter = *mut _GSequenceIter;
1874 
1875 #[repr(C)]
1876 #[derive(Copy, Clone)]
1877 pub struct GSource {
1878     pub callback_data: gpointer,
1879     pub callback_funcs: *mut GSourceCallbackFuncs,
1880     pub source_funcs: *const GSourceFuncs,
1881     pub ref_count: c_uint,
1882     pub context: *mut GMainContext,
1883     pub priority: c_int,
1884     pub flags: c_uint,
1885     pub source_id: c_uint,
1886     pub poll_fds: *mut GSList,
1887     pub prev: *mut GSource,
1888     pub next: *mut GSource,
1889     pub name: *mut c_char,
1890     pub priv_: *mut GSourcePrivate,
1891 }
1892 
1893 impl ::std::fmt::Debug for GSource {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1894     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1895         f.debug_struct(&format!("GSource @ {:?}", self as *const _))
1896             .finish()
1897     }
1898 }
1899 
1900 #[repr(C)]
1901 #[derive(Copy, Clone)]
1902 pub struct GSourceCallbackFuncs {
1903     pub ref_: Option<unsafe extern "C" fn(gpointer)>,
1904     pub unref: Option<unsafe extern "C" fn(gpointer)>,
1905     pub get: Option<unsafe extern "C" fn(gpointer, *mut GSource, *mut GSourceFunc, *mut gpointer)>,
1906 }
1907 
1908 impl ::std::fmt::Debug for GSourceCallbackFuncs {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1909     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1910         f.debug_struct(&format!("GSourceCallbackFuncs @ {:?}", self as *const _))
1911             .field("ref_", &self.ref_)
1912             .field("unref", &self.unref)
1913             .field("get", &self.get)
1914             .finish()
1915     }
1916 }
1917 
1918 #[repr(C)]
1919 #[derive(Copy, Clone)]
1920 pub struct GSourceFuncs {
1921     pub prepare: Option<unsafe extern "C" fn(*mut GSource, *mut c_int) -> gboolean>,
1922     pub check: Option<unsafe extern "C" fn(*mut GSource) -> gboolean>,
1923     pub dispatch: Option<unsafe extern "C" fn(*mut GSource, GSourceFunc, gpointer) -> gboolean>,
1924     pub finalize: Option<unsafe extern "C" fn(*mut GSource)>,
1925     pub closure_callback: GSourceFunc,
1926     pub closure_marshal: GSourceDummyMarshal,
1927 }
1928 
1929 impl ::std::fmt::Debug for GSourceFuncs {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1930     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1931         f.debug_struct(&format!("GSourceFuncs @ {:?}", self as *const _))
1932             .field("prepare", &self.prepare)
1933             .field("check", &self.check)
1934             .field("dispatch", &self.dispatch)
1935             .field("finalize", &self.finalize)
1936             .finish()
1937     }
1938 }
1939 
1940 #[repr(C)]
1941 pub struct _GSourcePrivate(c_void);
1942 
1943 pub type GSourcePrivate = *mut _GSourcePrivate;
1944 
1945 #[repr(C)]
1946 pub struct _GStatBuf(c_void);
1947 
1948 pub type GStatBuf = *mut _GStatBuf;
1949 
1950 #[repr(C)]
1951 #[derive(Copy, Clone)]
1952 pub struct GString {
1953     pub str: *mut c_char,
1954     pub len: size_t,
1955     pub allocated_len: size_t,
1956 }
1957 
1958 impl ::std::fmt::Debug for GString {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1959     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1960         f.debug_struct(&format!("GString @ {:?}", self as *const _))
1961             .field("str", &self.str)
1962             .field("len", &self.len)
1963             .field("allocated_len", &self.allocated_len)
1964             .finish()
1965     }
1966 }
1967 
1968 #[repr(C)]
1969 pub struct _GStringChunk(c_void);
1970 
1971 pub type GStringChunk = *mut _GStringChunk;
1972 
1973 #[repr(C)]
1974 pub struct _GTestCase(c_void);
1975 
1976 pub type GTestCase = *mut _GTestCase;
1977 
1978 #[repr(C)]
1979 #[derive(Copy, Clone)]
1980 pub struct GTestConfig {
1981     pub test_initialized: gboolean,
1982     pub test_quick: gboolean,
1983     pub test_perf: gboolean,
1984     pub test_verbose: gboolean,
1985     pub test_quiet: gboolean,
1986     pub test_undefined: gboolean,
1987 }
1988 
1989 impl ::std::fmt::Debug for GTestConfig {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result1990     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1991         f.debug_struct(&format!("GTestConfig @ {:?}", self as *const _))
1992             .field("test_initialized", &self.test_initialized)
1993             .field("test_quick", &self.test_quick)
1994             .field("test_perf", &self.test_perf)
1995             .field("test_verbose", &self.test_verbose)
1996             .field("test_quiet", &self.test_quiet)
1997             .field("test_undefined", &self.test_undefined)
1998             .finish()
1999     }
2000 }
2001 
2002 #[repr(C)]
2003 #[derive(Copy, Clone)]
2004 pub struct GTestLogBuffer {
2005     pub data: *mut GString,
2006     pub msgs: *mut GSList,
2007 }
2008 
2009 impl ::std::fmt::Debug for GTestLogBuffer {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2010     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2011         f.debug_struct(&format!("GTestLogBuffer @ {:?}", self as *const _))
2012             .finish()
2013     }
2014 }
2015 
2016 #[repr(C)]
2017 pub struct GTestLogMsg {
2018     pub log_type: GTestLogType,
2019     pub n_strings: c_uint,
2020     pub strings: *mut *mut c_char,
2021     pub n_nums: c_uint,
2022     _truncated_record_marker: c_void,
2023     // /*Unimplemented*/*mut long double
2024 }
2025 
2026 impl ::std::fmt::Debug for GTestLogMsg {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2027     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2028         f.debug_struct(&format!("GTestLogMsg @ {:?}", self as *const _))
2029             .field("log_type", &self.log_type)
2030             .field("n_strings", &self.n_strings)
2031             .field("strings", &self.strings)
2032             .field("n_nums", &self.n_nums)
2033             .finish()
2034     }
2035 }
2036 
2037 #[repr(C)]
2038 pub struct _GTestSuite(c_void);
2039 
2040 pub type GTestSuite = *mut _GTestSuite;
2041 
2042 #[repr(C)]
2043 pub struct GThread(c_void);
2044 
2045 impl ::std::fmt::Debug for GThread {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2046     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2047         f.debug_struct(&format!("GThread @ {:?}", self as *const _))
2048             .finish()
2049     }
2050 }
2051 
2052 #[repr(C)]
2053 #[derive(Copy, Clone)]
2054 pub struct GThreadPool {
2055     pub func: GFunc,
2056     pub user_data: gpointer,
2057     pub exclusive: gboolean,
2058 }
2059 
2060 impl ::std::fmt::Debug for GThreadPool {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2061     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2062         f.debug_struct(&format!("GThreadPool @ {:?}", self as *const _))
2063             .field("func", &self.func)
2064             .field("user_data", &self.user_data)
2065             .field("exclusive", &self.exclusive)
2066             .finish()
2067     }
2068 }
2069 
2070 #[repr(C)]
2071 #[derive(Copy, Clone)]
2072 pub struct GTimeVal {
2073     pub tv_sec: c_long,
2074     pub tv_usec: c_long,
2075 }
2076 
2077 impl ::std::fmt::Debug for GTimeVal {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2078     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2079         f.debug_struct(&format!("GTimeVal @ {:?}", self as *const _))
2080             .field("tv_sec", &self.tv_sec)
2081             .field("tv_usec", &self.tv_usec)
2082             .finish()
2083     }
2084 }
2085 
2086 #[repr(C)]
2087 pub struct GTimeZone(c_void);
2088 
2089 impl ::std::fmt::Debug for GTimeZone {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2090     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2091         f.debug_struct(&format!("GTimeZone @ {:?}", self as *const _))
2092             .finish()
2093     }
2094 }
2095 
2096 #[repr(C)]
2097 pub struct _GTimer(c_void);
2098 
2099 pub type GTimer = *mut _GTimer;
2100 
2101 #[repr(C)]
2102 #[derive(Copy, Clone)]
2103 pub struct GTrashStack {
2104     pub next: *mut GTrashStack,
2105 }
2106 
2107 impl ::std::fmt::Debug for GTrashStack {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2108     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2109         f.debug_struct(&format!("GTrashStack @ {:?}", self as *const _))
2110             .field("next", &self.next)
2111             .finish()
2112     }
2113 }
2114 
2115 #[repr(C)]
2116 pub struct _GTree(c_void);
2117 
2118 pub type GTree = *mut _GTree;
2119 
2120 #[repr(C)]
2121 pub struct GVariant(c_void);
2122 
2123 impl ::std::fmt::Debug for GVariant {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2124     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2125         f.debug_struct(&format!("GVariant @ {:?}", self as *const _))
2126             .finish()
2127     }
2128 }
2129 
2130 #[repr(C)]
2131 #[derive(Copy, Clone)]
2132 pub struct GVariantBuilder {
2133     pub u: GVariantBuilder_u,
2134 }
2135 
2136 impl ::std::fmt::Debug for GVariantBuilder {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2137     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2138         f.debug_struct(&format!("GVariantBuilder @ {:?}", self as *const _))
2139             .field("u", &self.u)
2140             .finish()
2141     }
2142 }
2143 
2144 #[repr(C)]
2145 #[derive(Copy, Clone)]
2146 pub struct GVariantBuilder_u_s {
2147     pub partial_magic: size_t,
2148     pub type_: *const GVariantType,
2149     pub y: [size_t; 14],
2150 }
2151 
2152 impl ::std::fmt::Debug for GVariantBuilder_u_s {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2153     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2154         f.debug_struct(&format!("GVariantBuilder_u_s @ {:?}", self as *const _))
2155             .field("partial_magic", &self.partial_magic)
2156             .field("type_", &self.type_)
2157             .field("y", &self.y)
2158             .finish()
2159     }
2160 }
2161 
2162 #[repr(C)]
2163 #[derive(Copy, Clone)]
2164 pub struct GVariantDict {
2165     pub u: GVariantDict_u,
2166 }
2167 
2168 impl ::std::fmt::Debug for GVariantDict {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2169     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2170         f.debug_struct(&format!("GVariantDict @ {:?}", self as *const _))
2171             .field("u", &self.u)
2172             .finish()
2173     }
2174 }
2175 
2176 #[repr(C)]
2177 #[derive(Copy, Clone)]
2178 pub struct GVariantDict_u_s {
2179     pub asv: *mut GVariant,
2180     pub partial_magic: size_t,
2181     pub y: [size_t; 14],
2182 }
2183 
2184 impl ::std::fmt::Debug for GVariantDict_u_s {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2185     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2186         f.debug_struct(&format!("GVariantDict_u_s @ {:?}", self as *const _))
2187             .field("asv", &self.asv)
2188             .field("partial_magic", &self.partial_magic)
2189             .field("y", &self.y)
2190             .finish()
2191     }
2192 }
2193 
2194 #[repr(C)]
2195 #[derive(Copy, Clone)]
2196 pub struct GVariantIter {
2197     pub x: [size_t; 16],
2198 }
2199 
2200 impl ::std::fmt::Debug for GVariantIter {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2201     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2202         f.debug_struct(&format!("GVariantIter @ {:?}", self as *const _))
2203             .finish()
2204     }
2205 }
2206 
2207 #[repr(C)]
2208 pub struct GVariantType(c_void);
2209 
2210 impl ::std::fmt::Debug for GVariantType {
fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result2211     fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2212         f.debug_struct(&format!("GVariantType @ {:?}", self as *const _))
2213             .finish()
2214     }
2215 }
2216 
2217 extern "C" {
2218 
2219     //=========================================================================
2220     // GIOCondition
2221     //=========================================================================
g_io_condition_get_type() -> GType2222     pub fn g_io_condition_get_type() -> GType;
2223 
2224     //=========================================================================
2225     // GMutex
2226     //=========================================================================
g_mutex_clear(mutex: *mut GMutex)2227     pub fn g_mutex_clear(mutex: *mut GMutex);
g_mutex_init(mutex: *mut GMutex)2228     pub fn g_mutex_init(mutex: *mut GMutex);
g_mutex_lock(mutex: *mut GMutex)2229     pub fn g_mutex_lock(mutex: *mut GMutex);
g_mutex_trylock(mutex: *mut GMutex) -> gboolean2230     pub fn g_mutex_trylock(mutex: *mut GMutex) -> gboolean;
g_mutex_unlock(mutex: *mut GMutex)2231     pub fn g_mutex_unlock(mutex: *mut GMutex);
2232 
2233     //=========================================================================
2234     // GArray
2235     //=========================================================================
g_array_get_type() -> GType2236     pub fn g_array_get_type() -> GType;
g_array_append_vals(array: *mut GArray, data: gconstpointer, len: c_uint) -> *mut GArray2237     pub fn g_array_append_vals(array: *mut GArray, data: gconstpointer, len: c_uint)
2238         -> *mut GArray;
2239     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_array_binary_search( array: *mut GArray, target: gconstpointer, compare_func: GCompareFunc, out_match_index: *mut c_uint, ) -> gboolean2240     pub fn g_array_binary_search(
2241         array: *mut GArray,
2242         target: gconstpointer,
2243         compare_func: GCompareFunc,
2244         out_match_index: *mut c_uint,
2245     ) -> gboolean;
2246     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_array_copy(array: *mut GArray) -> *mut GArray2247     pub fn g_array_copy(array: *mut GArray) -> *mut GArray;
g_array_free(array: *mut GArray, free_segment: gboolean) -> *mut c_char2248     pub fn g_array_free(array: *mut GArray, free_segment: gboolean) -> *mut c_char;
g_array_get_element_size(array: *mut GArray) -> c_uint2249     pub fn g_array_get_element_size(array: *mut GArray) -> c_uint;
g_array_insert_vals( array: *mut GArray, index_: c_uint, data: gconstpointer, len: c_uint, ) -> *mut GArray2250     pub fn g_array_insert_vals(
2251         array: *mut GArray,
2252         index_: c_uint,
2253         data: gconstpointer,
2254         len: c_uint,
2255     ) -> *mut GArray;
g_array_new( zero_terminated: gboolean, clear_: gboolean, element_size: c_uint, ) -> *mut GArray2256     pub fn g_array_new(
2257         zero_terminated: gboolean,
2258         clear_: gboolean,
2259         element_size: c_uint,
2260     ) -> *mut GArray;
g_array_prepend_vals( array: *mut GArray, data: gconstpointer, len: c_uint, ) -> *mut GArray2261     pub fn g_array_prepend_vals(
2262         array: *mut GArray,
2263         data: gconstpointer,
2264         len: c_uint,
2265     ) -> *mut GArray;
g_array_ref(array: *mut GArray) -> *mut GArray2266     pub fn g_array_ref(array: *mut GArray) -> *mut GArray;
g_array_remove_index(array: *mut GArray, index_: c_uint) -> *mut GArray2267     pub fn g_array_remove_index(array: *mut GArray, index_: c_uint) -> *mut GArray;
g_array_remove_index_fast(array: *mut GArray, index_: c_uint) -> *mut GArray2268     pub fn g_array_remove_index_fast(array: *mut GArray, index_: c_uint) -> *mut GArray;
g_array_remove_range(array: *mut GArray, index_: c_uint, length: c_uint) -> *mut GArray2269     pub fn g_array_remove_range(array: *mut GArray, index_: c_uint, length: c_uint) -> *mut GArray;
g_array_set_clear_func(array: *mut GArray, clear_func: GDestroyNotify)2270     pub fn g_array_set_clear_func(array: *mut GArray, clear_func: GDestroyNotify);
g_array_set_size(array: *mut GArray, length: c_uint) -> *mut GArray2271     pub fn g_array_set_size(array: *mut GArray, length: c_uint) -> *mut GArray;
g_array_sized_new( zero_terminated: gboolean, clear_: gboolean, element_size: c_uint, reserved_size: c_uint, ) -> *mut GArray2272     pub fn g_array_sized_new(
2273         zero_terminated: gboolean,
2274         clear_: gboolean,
2275         element_size: c_uint,
2276         reserved_size: c_uint,
2277     ) -> *mut GArray;
g_array_sort(array: *mut GArray, compare_func: GCompareFunc)2278     pub fn g_array_sort(array: *mut GArray, compare_func: GCompareFunc);
g_array_sort_with_data( array: *mut GArray, compare_func: GCompareDataFunc, user_data: gpointer, )2279     pub fn g_array_sort_with_data(
2280         array: *mut GArray,
2281         compare_func: GCompareDataFunc,
2282         user_data: gpointer,
2283     );
g_array_unref(array: *mut GArray)2284     pub fn g_array_unref(array: *mut GArray);
2285 
2286     //=========================================================================
2287     // GAsyncQueue
2288     //=========================================================================
g_async_queue_length(queue: *mut GAsyncQueue) -> c_int2289     pub fn g_async_queue_length(queue: *mut GAsyncQueue) -> c_int;
g_async_queue_length_unlocked(queue: *mut GAsyncQueue) -> c_int2290     pub fn g_async_queue_length_unlocked(queue: *mut GAsyncQueue) -> c_int;
g_async_queue_lock(queue: *mut GAsyncQueue)2291     pub fn g_async_queue_lock(queue: *mut GAsyncQueue);
g_async_queue_pop(queue: *mut GAsyncQueue) -> gpointer2292     pub fn g_async_queue_pop(queue: *mut GAsyncQueue) -> gpointer;
g_async_queue_pop_unlocked(queue: *mut GAsyncQueue) -> gpointer2293     pub fn g_async_queue_pop_unlocked(queue: *mut GAsyncQueue) -> gpointer;
g_async_queue_push(queue: *mut GAsyncQueue, data: gpointer)2294     pub fn g_async_queue_push(queue: *mut GAsyncQueue, data: gpointer);
2295     #[cfg(any(feature = "v2_46", feature = "dox"))]
g_async_queue_push_front(queue: *mut GAsyncQueue, item: gpointer)2296     pub fn g_async_queue_push_front(queue: *mut GAsyncQueue, item: gpointer);
2297     #[cfg(any(feature = "v2_46", feature = "dox"))]
g_async_queue_push_front_unlocked(queue: *mut GAsyncQueue, item: gpointer)2298     pub fn g_async_queue_push_front_unlocked(queue: *mut GAsyncQueue, item: gpointer);
g_async_queue_push_sorted( queue: *mut GAsyncQueue, data: gpointer, func: GCompareDataFunc, user_data: gpointer, )2299     pub fn g_async_queue_push_sorted(
2300         queue: *mut GAsyncQueue,
2301         data: gpointer,
2302         func: GCompareDataFunc,
2303         user_data: gpointer,
2304     );
g_async_queue_push_sorted_unlocked( queue: *mut GAsyncQueue, data: gpointer, func: GCompareDataFunc, user_data: gpointer, )2305     pub fn g_async_queue_push_sorted_unlocked(
2306         queue: *mut GAsyncQueue,
2307         data: gpointer,
2308         func: GCompareDataFunc,
2309         user_data: gpointer,
2310     );
g_async_queue_push_unlocked(queue: *mut GAsyncQueue, data: gpointer)2311     pub fn g_async_queue_push_unlocked(queue: *mut GAsyncQueue, data: gpointer);
g_async_queue_ref(queue: *mut GAsyncQueue) -> *mut GAsyncQueue2312     pub fn g_async_queue_ref(queue: *mut GAsyncQueue) -> *mut GAsyncQueue;
g_async_queue_ref_unlocked(queue: *mut GAsyncQueue)2313     pub fn g_async_queue_ref_unlocked(queue: *mut GAsyncQueue);
2314     #[cfg(any(feature = "v2_46", feature = "dox"))]
g_async_queue_remove(queue: *mut GAsyncQueue, item: gpointer) -> gboolean2315     pub fn g_async_queue_remove(queue: *mut GAsyncQueue, item: gpointer) -> gboolean;
2316     #[cfg(any(feature = "v2_46", feature = "dox"))]
g_async_queue_remove_unlocked(queue: *mut GAsyncQueue, item: gpointer) -> gboolean2317     pub fn g_async_queue_remove_unlocked(queue: *mut GAsyncQueue, item: gpointer) -> gboolean;
g_async_queue_sort(queue: *mut GAsyncQueue, func: GCompareDataFunc, user_data: gpointer)2318     pub fn g_async_queue_sort(queue: *mut GAsyncQueue, func: GCompareDataFunc, user_data: gpointer);
g_async_queue_sort_unlocked( queue: *mut GAsyncQueue, func: GCompareDataFunc, user_data: gpointer, )2319     pub fn g_async_queue_sort_unlocked(
2320         queue: *mut GAsyncQueue,
2321         func: GCompareDataFunc,
2322         user_data: gpointer,
2323     );
g_async_queue_timed_pop(queue: *mut GAsyncQueue, end_time: *mut GTimeVal) -> gpointer2324     pub fn g_async_queue_timed_pop(queue: *mut GAsyncQueue, end_time: *mut GTimeVal) -> gpointer;
g_async_queue_timed_pop_unlocked( queue: *mut GAsyncQueue, end_time: *mut GTimeVal, ) -> gpointer2325     pub fn g_async_queue_timed_pop_unlocked(
2326         queue: *mut GAsyncQueue,
2327         end_time: *mut GTimeVal,
2328     ) -> gpointer;
g_async_queue_timeout_pop(queue: *mut GAsyncQueue, timeout: u64) -> gpointer2329     pub fn g_async_queue_timeout_pop(queue: *mut GAsyncQueue, timeout: u64) -> gpointer;
g_async_queue_timeout_pop_unlocked(queue: *mut GAsyncQueue, timeout: u64) -> gpointer2330     pub fn g_async_queue_timeout_pop_unlocked(queue: *mut GAsyncQueue, timeout: u64) -> gpointer;
g_async_queue_try_pop(queue: *mut GAsyncQueue) -> gpointer2331     pub fn g_async_queue_try_pop(queue: *mut GAsyncQueue) -> gpointer;
g_async_queue_try_pop_unlocked(queue: *mut GAsyncQueue) -> gpointer2332     pub fn g_async_queue_try_pop_unlocked(queue: *mut GAsyncQueue) -> gpointer;
g_async_queue_unlock(queue: *mut GAsyncQueue)2333     pub fn g_async_queue_unlock(queue: *mut GAsyncQueue);
g_async_queue_unref(queue: *mut GAsyncQueue)2334     pub fn g_async_queue_unref(queue: *mut GAsyncQueue);
g_async_queue_unref_and_unlock(queue: *mut GAsyncQueue)2335     pub fn g_async_queue_unref_and_unlock(queue: *mut GAsyncQueue);
g_async_queue_new() -> *mut GAsyncQueue2336     pub fn g_async_queue_new() -> *mut GAsyncQueue;
g_async_queue_new_full(item_free_func: GDestroyNotify) -> *mut GAsyncQueue2337     pub fn g_async_queue_new_full(item_free_func: GDestroyNotify) -> *mut GAsyncQueue;
2338 
2339     //=========================================================================
2340     // GBookmarkFile
2341     //=========================================================================
g_bookmark_file_add_application( bookmark: *mut GBookmarkFile, uri: *const c_char, name: *const c_char, exec: *const c_char, )2342     pub fn g_bookmark_file_add_application(
2343         bookmark: *mut GBookmarkFile,
2344         uri: *const c_char,
2345         name: *const c_char,
2346         exec: *const c_char,
2347     );
g_bookmark_file_add_group( bookmark: *mut GBookmarkFile, uri: *const c_char, group: *const c_char, )2348     pub fn g_bookmark_file_add_group(
2349         bookmark: *mut GBookmarkFile,
2350         uri: *const c_char,
2351         group: *const c_char,
2352     );
g_bookmark_file_free(bookmark: *mut GBookmarkFile)2353     pub fn g_bookmark_file_free(bookmark: *mut GBookmarkFile);
g_bookmark_file_get_added( bookmark: *mut GBookmarkFile, uri: *const c_char, error: *mut *mut GError, ) -> c_long2354     pub fn g_bookmark_file_get_added(
2355         bookmark: *mut GBookmarkFile,
2356         uri: *const c_char,
2357         error: *mut *mut GError,
2358     ) -> c_long;
g_bookmark_file_get_app_info( bookmark: *mut GBookmarkFile, uri: *const c_char, name: *const c_char, exec: *mut *mut c_char, count: *mut c_uint, stamp: *mut c_long, error: *mut *mut GError, ) -> gboolean2359     pub fn g_bookmark_file_get_app_info(
2360         bookmark: *mut GBookmarkFile,
2361         uri: *const c_char,
2362         name: *const c_char,
2363         exec: *mut *mut c_char,
2364         count: *mut c_uint,
2365         stamp: *mut c_long,
2366         error: *mut *mut GError,
2367     ) -> gboolean;
g_bookmark_file_get_applications( bookmark: *mut GBookmarkFile, uri: *const c_char, length: *mut size_t, error: *mut *mut GError, ) -> *mut *mut c_char2368     pub fn g_bookmark_file_get_applications(
2369         bookmark: *mut GBookmarkFile,
2370         uri: *const c_char,
2371         length: *mut size_t,
2372         error: *mut *mut GError,
2373     ) -> *mut *mut c_char;
g_bookmark_file_get_description( bookmark: *mut GBookmarkFile, uri: *const c_char, error: *mut *mut GError, ) -> *mut c_char2374     pub fn g_bookmark_file_get_description(
2375         bookmark: *mut GBookmarkFile,
2376         uri: *const c_char,
2377         error: *mut *mut GError,
2378     ) -> *mut c_char;
g_bookmark_file_get_groups( bookmark: *mut GBookmarkFile, uri: *const c_char, length: *mut size_t, error: *mut *mut GError, ) -> *mut *mut c_char2379     pub fn g_bookmark_file_get_groups(
2380         bookmark: *mut GBookmarkFile,
2381         uri: *const c_char,
2382         length: *mut size_t,
2383         error: *mut *mut GError,
2384     ) -> *mut *mut c_char;
g_bookmark_file_get_icon( bookmark: *mut GBookmarkFile, uri: *const c_char, href: *mut *mut c_char, mime_type: *mut *mut c_char, error: *mut *mut GError, ) -> gboolean2385     pub fn g_bookmark_file_get_icon(
2386         bookmark: *mut GBookmarkFile,
2387         uri: *const c_char,
2388         href: *mut *mut c_char,
2389         mime_type: *mut *mut c_char,
2390         error: *mut *mut GError,
2391     ) -> gboolean;
g_bookmark_file_get_is_private( bookmark: *mut GBookmarkFile, uri: *const c_char, error: *mut *mut GError, ) -> gboolean2392     pub fn g_bookmark_file_get_is_private(
2393         bookmark: *mut GBookmarkFile,
2394         uri: *const c_char,
2395         error: *mut *mut GError,
2396     ) -> gboolean;
g_bookmark_file_get_mime_type( bookmark: *mut GBookmarkFile, uri: *const c_char, error: *mut *mut GError, ) -> *mut c_char2397     pub fn g_bookmark_file_get_mime_type(
2398         bookmark: *mut GBookmarkFile,
2399         uri: *const c_char,
2400         error: *mut *mut GError,
2401     ) -> *mut c_char;
g_bookmark_file_get_modified( bookmark: *mut GBookmarkFile, uri: *const c_char, error: *mut *mut GError, ) -> c_long2402     pub fn g_bookmark_file_get_modified(
2403         bookmark: *mut GBookmarkFile,
2404         uri: *const c_char,
2405         error: *mut *mut GError,
2406     ) -> c_long;
g_bookmark_file_get_size(bookmark: *mut GBookmarkFile) -> c_int2407     pub fn g_bookmark_file_get_size(bookmark: *mut GBookmarkFile) -> c_int;
g_bookmark_file_get_title( bookmark: *mut GBookmarkFile, uri: *const c_char, error: *mut *mut GError, ) -> *mut c_char2408     pub fn g_bookmark_file_get_title(
2409         bookmark: *mut GBookmarkFile,
2410         uri: *const c_char,
2411         error: *mut *mut GError,
2412     ) -> *mut c_char;
g_bookmark_file_get_uris( bookmark: *mut GBookmarkFile, length: *mut size_t, ) -> *mut *mut c_char2413     pub fn g_bookmark_file_get_uris(
2414         bookmark: *mut GBookmarkFile,
2415         length: *mut size_t,
2416     ) -> *mut *mut c_char;
g_bookmark_file_get_visited( bookmark: *mut GBookmarkFile, uri: *const c_char, error: *mut *mut GError, ) -> c_long2417     pub fn g_bookmark_file_get_visited(
2418         bookmark: *mut GBookmarkFile,
2419         uri: *const c_char,
2420         error: *mut *mut GError,
2421     ) -> c_long;
g_bookmark_file_has_application( bookmark: *mut GBookmarkFile, uri: *const c_char, name: *const c_char, error: *mut *mut GError, ) -> gboolean2422     pub fn g_bookmark_file_has_application(
2423         bookmark: *mut GBookmarkFile,
2424         uri: *const c_char,
2425         name: *const c_char,
2426         error: *mut *mut GError,
2427     ) -> gboolean;
g_bookmark_file_has_group( bookmark: *mut GBookmarkFile, uri: *const c_char, group: *const c_char, error: *mut *mut GError, ) -> gboolean2428     pub fn g_bookmark_file_has_group(
2429         bookmark: *mut GBookmarkFile,
2430         uri: *const c_char,
2431         group: *const c_char,
2432         error: *mut *mut GError,
2433     ) -> gboolean;
g_bookmark_file_has_item(bookmark: *mut GBookmarkFile, uri: *const c_char) -> gboolean2434     pub fn g_bookmark_file_has_item(bookmark: *mut GBookmarkFile, uri: *const c_char) -> gboolean;
g_bookmark_file_load_from_data( bookmark: *mut GBookmarkFile, data: *const u8, length: size_t, error: *mut *mut GError, ) -> gboolean2435     pub fn g_bookmark_file_load_from_data(
2436         bookmark: *mut GBookmarkFile,
2437         data: *const u8,
2438         length: size_t,
2439         error: *mut *mut GError,
2440     ) -> gboolean;
g_bookmark_file_load_from_data_dirs( bookmark: *mut GBookmarkFile, file: *const c_char, full_path: *mut *mut c_char, error: *mut *mut GError, ) -> gboolean2441     pub fn g_bookmark_file_load_from_data_dirs(
2442         bookmark: *mut GBookmarkFile,
2443         file: *const c_char,
2444         full_path: *mut *mut c_char,
2445         error: *mut *mut GError,
2446     ) -> gboolean;
g_bookmark_file_load_from_file( bookmark: *mut GBookmarkFile, filename: *const c_char, error: *mut *mut GError, ) -> gboolean2447     pub fn g_bookmark_file_load_from_file(
2448         bookmark: *mut GBookmarkFile,
2449         filename: *const c_char,
2450         error: *mut *mut GError,
2451     ) -> gboolean;
g_bookmark_file_move_item( bookmark: *mut GBookmarkFile, old_uri: *const c_char, new_uri: *const c_char, error: *mut *mut GError, ) -> gboolean2452     pub fn g_bookmark_file_move_item(
2453         bookmark: *mut GBookmarkFile,
2454         old_uri: *const c_char,
2455         new_uri: *const c_char,
2456         error: *mut *mut GError,
2457     ) -> gboolean;
g_bookmark_file_remove_application( bookmark: *mut GBookmarkFile, uri: *const c_char, name: *const c_char, error: *mut *mut GError, ) -> gboolean2458     pub fn g_bookmark_file_remove_application(
2459         bookmark: *mut GBookmarkFile,
2460         uri: *const c_char,
2461         name: *const c_char,
2462         error: *mut *mut GError,
2463     ) -> gboolean;
g_bookmark_file_remove_group( bookmark: *mut GBookmarkFile, uri: *const c_char, group: *const c_char, error: *mut *mut GError, ) -> gboolean2464     pub fn g_bookmark_file_remove_group(
2465         bookmark: *mut GBookmarkFile,
2466         uri: *const c_char,
2467         group: *const c_char,
2468         error: *mut *mut GError,
2469     ) -> gboolean;
g_bookmark_file_remove_item( bookmark: *mut GBookmarkFile, uri: *const c_char, error: *mut *mut GError, ) -> gboolean2470     pub fn g_bookmark_file_remove_item(
2471         bookmark: *mut GBookmarkFile,
2472         uri: *const c_char,
2473         error: *mut *mut GError,
2474     ) -> gboolean;
g_bookmark_file_set_added( bookmark: *mut GBookmarkFile, uri: *const c_char, added: c_long, )2475     pub fn g_bookmark_file_set_added(
2476         bookmark: *mut GBookmarkFile,
2477         uri: *const c_char,
2478         added: c_long,
2479     );
g_bookmark_file_set_app_info( bookmark: *mut GBookmarkFile, uri: *const c_char, name: *const c_char, exec: *const c_char, count: c_int, stamp: c_long, error: *mut *mut GError, ) -> gboolean2480     pub fn g_bookmark_file_set_app_info(
2481         bookmark: *mut GBookmarkFile,
2482         uri: *const c_char,
2483         name: *const c_char,
2484         exec: *const c_char,
2485         count: c_int,
2486         stamp: c_long,
2487         error: *mut *mut GError,
2488     ) -> gboolean;
g_bookmark_file_set_description( bookmark: *mut GBookmarkFile, uri: *const c_char, description: *const c_char, )2489     pub fn g_bookmark_file_set_description(
2490         bookmark: *mut GBookmarkFile,
2491         uri: *const c_char,
2492         description: *const c_char,
2493     );
g_bookmark_file_set_groups( bookmark: *mut GBookmarkFile, uri: *const c_char, groups: *mut *const c_char, length: size_t, )2494     pub fn g_bookmark_file_set_groups(
2495         bookmark: *mut GBookmarkFile,
2496         uri: *const c_char,
2497         groups: *mut *const c_char,
2498         length: size_t,
2499     );
g_bookmark_file_set_icon( bookmark: *mut GBookmarkFile, uri: *const c_char, href: *const c_char, mime_type: *const c_char, )2500     pub fn g_bookmark_file_set_icon(
2501         bookmark: *mut GBookmarkFile,
2502         uri: *const c_char,
2503         href: *const c_char,
2504         mime_type: *const c_char,
2505     );
g_bookmark_file_set_is_private( bookmark: *mut GBookmarkFile, uri: *const c_char, is_private: gboolean, )2506     pub fn g_bookmark_file_set_is_private(
2507         bookmark: *mut GBookmarkFile,
2508         uri: *const c_char,
2509         is_private: gboolean,
2510     );
g_bookmark_file_set_mime_type( bookmark: *mut GBookmarkFile, uri: *const c_char, mime_type: *const c_char, )2511     pub fn g_bookmark_file_set_mime_type(
2512         bookmark: *mut GBookmarkFile,
2513         uri: *const c_char,
2514         mime_type: *const c_char,
2515     );
g_bookmark_file_set_modified( bookmark: *mut GBookmarkFile, uri: *const c_char, modified: c_long, )2516     pub fn g_bookmark_file_set_modified(
2517         bookmark: *mut GBookmarkFile,
2518         uri: *const c_char,
2519         modified: c_long,
2520     );
g_bookmark_file_set_title( bookmark: *mut GBookmarkFile, uri: *const c_char, title: *const c_char, )2521     pub fn g_bookmark_file_set_title(
2522         bookmark: *mut GBookmarkFile,
2523         uri: *const c_char,
2524         title: *const c_char,
2525     );
g_bookmark_file_set_visited( bookmark: *mut GBookmarkFile, uri: *const c_char, visited: c_long, )2526     pub fn g_bookmark_file_set_visited(
2527         bookmark: *mut GBookmarkFile,
2528         uri: *const c_char,
2529         visited: c_long,
2530     );
g_bookmark_file_to_data( bookmark: *mut GBookmarkFile, length: *mut size_t, error: *mut *mut GError, ) -> *mut u82531     pub fn g_bookmark_file_to_data(
2532         bookmark: *mut GBookmarkFile,
2533         length: *mut size_t,
2534         error: *mut *mut GError,
2535     ) -> *mut u8;
g_bookmark_file_to_file( bookmark: *mut GBookmarkFile, filename: *const c_char, error: *mut *mut GError, ) -> gboolean2536     pub fn g_bookmark_file_to_file(
2537         bookmark: *mut GBookmarkFile,
2538         filename: *const c_char,
2539         error: *mut *mut GError,
2540     ) -> gboolean;
g_bookmark_file_error_quark() -> GQuark2541     pub fn g_bookmark_file_error_quark() -> GQuark;
g_bookmark_file_new() -> *mut GBookmarkFile2542     pub fn g_bookmark_file_new() -> *mut GBookmarkFile;
2543 
2544     //=========================================================================
2545     // GByteArray
2546     //=========================================================================
g_byte_array_get_type() -> GType2547     pub fn g_byte_array_get_type() -> GType;
g_byte_array_append( array: *mut GByteArray, data: *const u8, len: c_uint, ) -> *mut GByteArray2548     pub fn g_byte_array_append(
2549         array: *mut GByteArray,
2550         data: *const u8,
2551         len: c_uint,
2552     ) -> *mut GByteArray;
g_byte_array_free(array: *mut GByteArray, free_segment: gboolean) -> *mut u82553     pub fn g_byte_array_free(array: *mut GByteArray, free_segment: gboolean) -> *mut u8;
g_byte_array_free_to_bytes(array: *mut GByteArray) -> *mut GBytes2554     pub fn g_byte_array_free_to_bytes(array: *mut GByteArray) -> *mut GBytes;
g_byte_array_new() -> *mut GByteArray2555     pub fn g_byte_array_new() -> *mut GByteArray;
g_byte_array_new_take(data: *mut u8, len: size_t) -> *mut GByteArray2556     pub fn g_byte_array_new_take(data: *mut u8, len: size_t) -> *mut GByteArray;
g_byte_array_prepend( array: *mut GByteArray, data: *const u8, len: c_uint, ) -> *mut GByteArray2557     pub fn g_byte_array_prepend(
2558         array: *mut GByteArray,
2559         data: *const u8,
2560         len: c_uint,
2561     ) -> *mut GByteArray;
g_byte_array_ref(array: *mut GByteArray) -> *mut GByteArray2562     pub fn g_byte_array_ref(array: *mut GByteArray) -> *mut GByteArray;
g_byte_array_remove_index(array: *mut GByteArray, index_: c_uint) -> *mut GByteArray2563     pub fn g_byte_array_remove_index(array: *mut GByteArray, index_: c_uint) -> *mut GByteArray;
g_byte_array_remove_index_fast( array: *mut GByteArray, index_: c_uint, ) -> *mut GByteArray2564     pub fn g_byte_array_remove_index_fast(
2565         array: *mut GByteArray,
2566         index_: c_uint,
2567     ) -> *mut GByteArray;
g_byte_array_remove_range( array: *mut GByteArray, index_: c_uint, length: c_uint, ) -> *mut GByteArray2568     pub fn g_byte_array_remove_range(
2569         array: *mut GByteArray,
2570         index_: c_uint,
2571         length: c_uint,
2572     ) -> *mut GByteArray;
g_byte_array_set_size(array: *mut GByteArray, length: c_uint) -> *mut GByteArray2573     pub fn g_byte_array_set_size(array: *mut GByteArray, length: c_uint) -> *mut GByteArray;
g_byte_array_sized_new(reserved_size: c_uint) -> *mut GByteArray2574     pub fn g_byte_array_sized_new(reserved_size: c_uint) -> *mut GByteArray;
g_byte_array_sort(array: *mut GByteArray, compare_func: GCompareFunc)2575     pub fn g_byte_array_sort(array: *mut GByteArray, compare_func: GCompareFunc);
g_byte_array_sort_with_data( array: *mut GByteArray, compare_func: GCompareDataFunc, user_data: gpointer, )2576     pub fn g_byte_array_sort_with_data(
2577         array: *mut GByteArray,
2578         compare_func: GCompareDataFunc,
2579         user_data: gpointer,
2580     );
g_byte_array_unref(array: *mut GByteArray)2581     pub fn g_byte_array_unref(array: *mut GByteArray);
2582 
2583     //=========================================================================
2584     // GBytes
2585     //=========================================================================
g_bytes_get_type() -> GType2586     pub fn g_bytes_get_type() -> GType;
g_bytes_new(data: gconstpointer, size: size_t) -> *mut GBytes2587     pub fn g_bytes_new(data: gconstpointer, size: size_t) -> *mut GBytes;
g_bytes_new_static(data: gconstpointer, size: size_t) -> *mut GBytes2588     pub fn g_bytes_new_static(data: gconstpointer, size: size_t) -> *mut GBytes;
g_bytes_new_take(data: gpointer, size: size_t) -> *mut GBytes2589     pub fn g_bytes_new_take(data: gpointer, size: size_t) -> *mut GBytes;
g_bytes_new_with_free_func( data: gconstpointer, size: size_t, free_func: GDestroyNotify, user_data: gpointer, ) -> *mut GBytes2590     pub fn g_bytes_new_with_free_func(
2591         data: gconstpointer,
2592         size: size_t,
2593         free_func: GDestroyNotify,
2594         user_data: gpointer,
2595     ) -> *mut GBytes;
g_bytes_compare(bytes1: gconstpointer, bytes2: gconstpointer) -> c_int2596     pub fn g_bytes_compare(bytes1: gconstpointer, bytes2: gconstpointer) -> c_int;
g_bytes_equal(bytes1: gconstpointer, bytes2: gconstpointer) -> gboolean2597     pub fn g_bytes_equal(bytes1: gconstpointer, bytes2: gconstpointer) -> gboolean;
g_bytes_get_data(bytes: *mut GBytes, size: *mut size_t) -> gconstpointer2598     pub fn g_bytes_get_data(bytes: *mut GBytes, size: *mut size_t) -> gconstpointer;
g_bytes_get_size(bytes: *mut GBytes) -> size_t2599     pub fn g_bytes_get_size(bytes: *mut GBytes) -> size_t;
g_bytes_hash(bytes: gconstpointer) -> c_uint2600     pub fn g_bytes_hash(bytes: gconstpointer) -> c_uint;
g_bytes_new_from_bytes( bytes: *mut GBytes, offset: size_t, length: size_t, ) -> *mut GBytes2601     pub fn g_bytes_new_from_bytes(
2602         bytes: *mut GBytes,
2603         offset: size_t,
2604         length: size_t,
2605     ) -> *mut GBytes;
g_bytes_ref(bytes: *mut GBytes) -> *mut GBytes2606     pub fn g_bytes_ref(bytes: *mut GBytes) -> *mut GBytes;
g_bytes_unref(bytes: *mut GBytes)2607     pub fn g_bytes_unref(bytes: *mut GBytes);
g_bytes_unref_to_array(bytes: *mut GBytes) -> *mut GByteArray2608     pub fn g_bytes_unref_to_array(bytes: *mut GBytes) -> *mut GByteArray;
g_bytes_unref_to_data(bytes: *mut GBytes, size: *mut size_t) -> gpointer2609     pub fn g_bytes_unref_to_data(bytes: *mut GBytes, size: *mut size_t) -> gpointer;
2610 
2611     //=========================================================================
2612     // GChecksum
2613     //=========================================================================
g_checksum_get_type() -> GType2614     pub fn g_checksum_get_type() -> GType;
g_checksum_new(checksum_type: GChecksumType) -> *mut GChecksum2615     pub fn g_checksum_new(checksum_type: GChecksumType) -> *mut GChecksum;
g_checksum_copy(checksum: *const GChecksum) -> *mut GChecksum2616     pub fn g_checksum_copy(checksum: *const GChecksum) -> *mut GChecksum;
g_checksum_free(checksum: *mut GChecksum)2617     pub fn g_checksum_free(checksum: *mut GChecksum);
g_checksum_get_digest( checksum: *mut GChecksum, buffer: *mut u8, digest_len: *mut size_t, )2618     pub fn g_checksum_get_digest(
2619         checksum: *mut GChecksum,
2620         buffer: *mut u8,
2621         digest_len: *mut size_t,
2622     );
g_checksum_get_string(checksum: *mut GChecksum) -> *const c_char2623     pub fn g_checksum_get_string(checksum: *mut GChecksum) -> *const c_char;
g_checksum_reset(checksum: *mut GChecksum)2624     pub fn g_checksum_reset(checksum: *mut GChecksum);
g_checksum_update(checksum: *mut GChecksum, data: *const u8, length: ssize_t)2625     pub fn g_checksum_update(checksum: *mut GChecksum, data: *const u8, length: ssize_t);
g_checksum_type_get_length(checksum_type: GChecksumType) -> ssize_t2626     pub fn g_checksum_type_get_length(checksum_type: GChecksumType) -> ssize_t;
2627 
2628     //=========================================================================
2629     // GCond
2630     //=========================================================================
g_cond_broadcast(cond: *mut GCond)2631     pub fn g_cond_broadcast(cond: *mut GCond);
g_cond_clear(cond: *mut GCond)2632     pub fn g_cond_clear(cond: *mut GCond);
g_cond_init(cond: *mut GCond)2633     pub fn g_cond_init(cond: *mut GCond);
g_cond_signal(cond: *mut GCond)2634     pub fn g_cond_signal(cond: *mut GCond);
g_cond_wait(cond: *mut GCond, mutex: *mut GMutex)2635     pub fn g_cond_wait(cond: *mut GCond, mutex: *mut GMutex);
g_cond_wait_until(cond: *mut GCond, mutex: *mut GMutex, end_time: i64) -> gboolean2636     pub fn g_cond_wait_until(cond: *mut GCond, mutex: *mut GMutex, end_time: i64) -> gboolean;
2637 
2638     //=========================================================================
2639     // GDate
2640     //=========================================================================
g_date_get_type() -> GType2641     pub fn g_date_get_type() -> GType;
g_date_new() -> *mut GDate2642     pub fn g_date_new() -> *mut GDate;
g_date_new_dmy(day: GDateDay, month: GDateMonth, year: GDateYear) -> *mut GDate2643     pub fn g_date_new_dmy(day: GDateDay, month: GDateMonth, year: GDateYear) -> *mut GDate;
g_date_new_julian(julian_day: u32) -> *mut GDate2644     pub fn g_date_new_julian(julian_day: u32) -> *mut GDate;
g_date_add_days(date: *mut GDate, n_days: c_uint)2645     pub fn g_date_add_days(date: *mut GDate, n_days: c_uint);
g_date_add_months(date: *mut GDate, n_months: c_uint)2646     pub fn g_date_add_months(date: *mut GDate, n_months: c_uint);
g_date_add_years(date: *mut GDate, n_years: c_uint)2647     pub fn g_date_add_years(date: *mut GDate, n_years: c_uint);
g_date_clamp(date: *mut GDate, min_date: *const GDate, max_date: *const GDate)2648     pub fn g_date_clamp(date: *mut GDate, min_date: *const GDate, max_date: *const GDate);
g_date_clear(date: *mut GDate, n_dates: c_uint)2649     pub fn g_date_clear(date: *mut GDate, n_dates: c_uint);
g_date_compare(lhs: *const GDate, rhs: *const GDate) -> c_int2650     pub fn g_date_compare(lhs: *const GDate, rhs: *const GDate) -> c_int;
2651     #[cfg(any(feature = "v2_56", feature = "dox"))]
g_date_copy(date: *const GDate) -> *mut GDate2652     pub fn g_date_copy(date: *const GDate) -> *mut GDate;
g_date_days_between(date1: *const GDate, date2: *const GDate) -> c_int2653     pub fn g_date_days_between(date1: *const GDate, date2: *const GDate) -> c_int;
g_date_free(date: *mut GDate)2654     pub fn g_date_free(date: *mut GDate);
g_date_get_day(date: *const GDate) -> GDateDay2655     pub fn g_date_get_day(date: *const GDate) -> GDateDay;
g_date_get_day_of_year(date: *const GDate) -> c_uint2656     pub fn g_date_get_day_of_year(date: *const GDate) -> c_uint;
g_date_get_iso8601_week_of_year(date: *const GDate) -> c_uint2657     pub fn g_date_get_iso8601_week_of_year(date: *const GDate) -> c_uint;
g_date_get_julian(date: *const GDate) -> u322658     pub fn g_date_get_julian(date: *const GDate) -> u32;
g_date_get_monday_week_of_year(date: *const GDate) -> c_uint2659     pub fn g_date_get_monday_week_of_year(date: *const GDate) -> c_uint;
g_date_get_month(date: *const GDate) -> GDateMonth2660     pub fn g_date_get_month(date: *const GDate) -> GDateMonth;
g_date_get_sunday_week_of_year(date: *const GDate) -> c_uint2661     pub fn g_date_get_sunday_week_of_year(date: *const GDate) -> c_uint;
g_date_get_weekday(date: *const GDate) -> GDateWeekday2662     pub fn g_date_get_weekday(date: *const GDate) -> GDateWeekday;
g_date_get_year(date: *const GDate) -> GDateYear2663     pub fn g_date_get_year(date: *const GDate) -> GDateYear;
g_date_is_first_of_month(date: *const GDate) -> gboolean2664     pub fn g_date_is_first_of_month(date: *const GDate) -> gboolean;
g_date_is_last_of_month(date: *const GDate) -> gboolean2665     pub fn g_date_is_last_of_month(date: *const GDate) -> gboolean;
g_date_order(date1: *mut GDate, date2: *mut GDate)2666     pub fn g_date_order(date1: *mut GDate, date2: *mut GDate);
g_date_set_day(date: *mut GDate, day: GDateDay)2667     pub fn g_date_set_day(date: *mut GDate, day: GDateDay);
g_date_set_dmy(date: *mut GDate, day: GDateDay, month: GDateMonth, y: GDateYear)2668     pub fn g_date_set_dmy(date: *mut GDate, day: GDateDay, month: GDateMonth, y: GDateYear);
g_date_set_julian(date: *mut GDate, julian_date: u32)2669     pub fn g_date_set_julian(date: *mut GDate, julian_date: u32);
g_date_set_month(date: *mut GDate, month: GDateMonth)2670     pub fn g_date_set_month(date: *mut GDate, month: GDateMonth);
g_date_set_parse(date: *mut GDate, str: *const c_char)2671     pub fn g_date_set_parse(date: *mut GDate, str: *const c_char);
g_date_set_time(date: *mut GDate, time_: GTime)2672     pub fn g_date_set_time(date: *mut GDate, time_: GTime);
g_date_set_time_t(date: *mut GDate, timet: c_long)2673     pub fn g_date_set_time_t(date: *mut GDate, timet: c_long);
g_date_set_time_val(date: *mut GDate, timeval: *mut GTimeVal)2674     pub fn g_date_set_time_val(date: *mut GDate, timeval: *mut GTimeVal);
g_date_set_year(date: *mut GDate, year: GDateYear)2675     pub fn g_date_set_year(date: *mut GDate, year: GDateYear);
g_date_subtract_days(date: *mut GDate, n_days: c_uint)2676     pub fn g_date_subtract_days(date: *mut GDate, n_days: c_uint);
g_date_subtract_months(date: *mut GDate, n_months: c_uint)2677     pub fn g_date_subtract_months(date: *mut GDate, n_months: c_uint);
g_date_subtract_years(date: *mut GDate, n_years: c_uint)2678     pub fn g_date_subtract_years(date: *mut GDate, n_years: c_uint);
2679     //pub fn g_date_to_struct_tm(date: *const GDate, tm: /*Unimplemented*/*mut tm);
g_date_valid(date: *const GDate) -> gboolean2680     pub fn g_date_valid(date: *const GDate) -> gboolean;
g_date_get_days_in_month(month: GDateMonth, year: GDateYear) -> u82681     pub fn g_date_get_days_in_month(month: GDateMonth, year: GDateYear) -> u8;
g_date_get_monday_weeks_in_year(year: GDateYear) -> u82682     pub fn g_date_get_monday_weeks_in_year(year: GDateYear) -> u8;
g_date_get_sunday_weeks_in_year(year: GDateYear) -> u82683     pub fn g_date_get_sunday_weeks_in_year(year: GDateYear) -> u8;
g_date_is_leap_year(year: GDateYear) -> gboolean2684     pub fn g_date_is_leap_year(year: GDateYear) -> gboolean;
g_date_strftime( s: *mut c_char, slen: size_t, format: *const c_char, date: *const GDate, ) -> size_t2685     pub fn g_date_strftime(
2686         s: *mut c_char,
2687         slen: size_t,
2688         format: *const c_char,
2689         date: *const GDate,
2690     ) -> size_t;
g_date_valid_day(day: GDateDay) -> gboolean2691     pub fn g_date_valid_day(day: GDateDay) -> gboolean;
g_date_valid_dmy(day: GDateDay, month: GDateMonth, year: GDateYear) -> gboolean2692     pub fn g_date_valid_dmy(day: GDateDay, month: GDateMonth, year: GDateYear) -> gboolean;
g_date_valid_julian(julian_date: u32) -> gboolean2693     pub fn g_date_valid_julian(julian_date: u32) -> gboolean;
g_date_valid_month(month: GDateMonth) -> gboolean2694     pub fn g_date_valid_month(month: GDateMonth) -> gboolean;
g_date_valid_weekday(weekday: GDateWeekday) -> gboolean2695     pub fn g_date_valid_weekday(weekday: GDateWeekday) -> gboolean;
g_date_valid_year(year: GDateYear) -> gboolean2696     pub fn g_date_valid_year(year: GDateYear) -> gboolean;
2697 
2698     //=========================================================================
2699     // GDateTime
2700     //=========================================================================
g_date_time_get_type() -> GType2701     pub fn g_date_time_get_type() -> GType;
g_date_time_new( tz: *mut GTimeZone, year: c_int, month: c_int, day: c_int, hour: c_int, minute: c_int, seconds: c_double, ) -> *mut GDateTime2702     pub fn g_date_time_new(
2703         tz: *mut GTimeZone,
2704         year: c_int,
2705         month: c_int,
2706         day: c_int,
2707         hour: c_int,
2708         minute: c_int,
2709         seconds: c_double,
2710     ) -> *mut GDateTime;
2711     #[cfg(any(feature = "v2_56", feature = "dox"))]
g_date_time_new_from_iso8601( text: *const c_char, default_tz: *mut GTimeZone, ) -> *mut GDateTime2712     pub fn g_date_time_new_from_iso8601(
2713         text: *const c_char,
2714         default_tz: *mut GTimeZone,
2715     ) -> *mut GDateTime;
g_date_time_new_from_timeval_local(tv: *const GTimeVal) -> *mut GDateTime2716     pub fn g_date_time_new_from_timeval_local(tv: *const GTimeVal) -> *mut GDateTime;
g_date_time_new_from_timeval_utc(tv: *const GTimeVal) -> *mut GDateTime2717     pub fn g_date_time_new_from_timeval_utc(tv: *const GTimeVal) -> *mut GDateTime;
g_date_time_new_from_unix_local(t: i64) -> *mut GDateTime2718     pub fn g_date_time_new_from_unix_local(t: i64) -> *mut GDateTime;
g_date_time_new_from_unix_utc(t: i64) -> *mut GDateTime2719     pub fn g_date_time_new_from_unix_utc(t: i64) -> *mut GDateTime;
g_date_time_new_local( year: c_int, month: c_int, day: c_int, hour: c_int, minute: c_int, seconds: c_double, ) -> *mut GDateTime2720     pub fn g_date_time_new_local(
2721         year: c_int,
2722         month: c_int,
2723         day: c_int,
2724         hour: c_int,
2725         minute: c_int,
2726         seconds: c_double,
2727     ) -> *mut GDateTime;
g_date_time_new_now(tz: *mut GTimeZone) -> *mut GDateTime2728     pub fn g_date_time_new_now(tz: *mut GTimeZone) -> *mut GDateTime;
g_date_time_new_now_local() -> *mut GDateTime2729     pub fn g_date_time_new_now_local() -> *mut GDateTime;
g_date_time_new_now_utc() -> *mut GDateTime2730     pub fn g_date_time_new_now_utc() -> *mut GDateTime;
g_date_time_new_utc( year: c_int, month: c_int, day: c_int, hour: c_int, minute: c_int, seconds: c_double, ) -> *mut GDateTime2731     pub fn g_date_time_new_utc(
2732         year: c_int,
2733         month: c_int,
2734         day: c_int,
2735         hour: c_int,
2736         minute: c_int,
2737         seconds: c_double,
2738     ) -> *mut GDateTime;
g_date_time_add(datetime: *mut GDateTime, timespan: GTimeSpan) -> *mut GDateTime2739     pub fn g_date_time_add(datetime: *mut GDateTime, timespan: GTimeSpan) -> *mut GDateTime;
g_date_time_add_days(datetime: *mut GDateTime, days: c_int) -> *mut GDateTime2740     pub fn g_date_time_add_days(datetime: *mut GDateTime, days: c_int) -> *mut GDateTime;
g_date_time_add_full( datetime: *mut GDateTime, years: c_int, months: c_int, days: c_int, hours: c_int, minutes: c_int, seconds: c_double, ) -> *mut GDateTime2741     pub fn g_date_time_add_full(
2742         datetime: *mut GDateTime,
2743         years: c_int,
2744         months: c_int,
2745         days: c_int,
2746         hours: c_int,
2747         minutes: c_int,
2748         seconds: c_double,
2749     ) -> *mut GDateTime;
g_date_time_add_hours(datetime: *mut GDateTime, hours: c_int) -> *mut GDateTime2750     pub fn g_date_time_add_hours(datetime: *mut GDateTime, hours: c_int) -> *mut GDateTime;
g_date_time_add_minutes(datetime: *mut GDateTime, minutes: c_int) -> *mut GDateTime2751     pub fn g_date_time_add_minutes(datetime: *mut GDateTime, minutes: c_int) -> *mut GDateTime;
g_date_time_add_months(datetime: *mut GDateTime, months: c_int) -> *mut GDateTime2752     pub fn g_date_time_add_months(datetime: *mut GDateTime, months: c_int) -> *mut GDateTime;
g_date_time_add_seconds(datetime: *mut GDateTime, seconds: c_double) -> *mut GDateTime2753     pub fn g_date_time_add_seconds(datetime: *mut GDateTime, seconds: c_double) -> *mut GDateTime;
g_date_time_add_weeks(datetime: *mut GDateTime, weeks: c_int) -> *mut GDateTime2754     pub fn g_date_time_add_weeks(datetime: *mut GDateTime, weeks: c_int) -> *mut GDateTime;
g_date_time_add_years(datetime: *mut GDateTime, years: c_int) -> *mut GDateTime2755     pub fn g_date_time_add_years(datetime: *mut GDateTime, years: c_int) -> *mut GDateTime;
g_date_time_difference(end: *mut GDateTime, begin: *mut GDateTime) -> GTimeSpan2756     pub fn g_date_time_difference(end: *mut GDateTime, begin: *mut GDateTime) -> GTimeSpan;
g_date_time_format(datetime: *mut GDateTime, format: *const c_char) -> *mut c_char2757     pub fn g_date_time_format(datetime: *mut GDateTime, format: *const c_char) -> *mut c_char;
2758     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_date_time_format_iso8601(datetime: *mut GDateTime) -> *mut c_char2759     pub fn g_date_time_format_iso8601(datetime: *mut GDateTime) -> *mut c_char;
g_date_time_get_day_of_month(datetime: *mut GDateTime) -> c_int2760     pub fn g_date_time_get_day_of_month(datetime: *mut GDateTime) -> c_int;
g_date_time_get_day_of_week(datetime: *mut GDateTime) -> c_int2761     pub fn g_date_time_get_day_of_week(datetime: *mut GDateTime) -> c_int;
g_date_time_get_day_of_year(datetime: *mut GDateTime) -> c_int2762     pub fn g_date_time_get_day_of_year(datetime: *mut GDateTime) -> c_int;
g_date_time_get_hour(datetime: *mut GDateTime) -> c_int2763     pub fn g_date_time_get_hour(datetime: *mut GDateTime) -> c_int;
g_date_time_get_microsecond(datetime: *mut GDateTime) -> c_int2764     pub fn g_date_time_get_microsecond(datetime: *mut GDateTime) -> c_int;
g_date_time_get_minute(datetime: *mut GDateTime) -> c_int2765     pub fn g_date_time_get_minute(datetime: *mut GDateTime) -> c_int;
g_date_time_get_month(datetime: *mut GDateTime) -> c_int2766     pub fn g_date_time_get_month(datetime: *mut GDateTime) -> c_int;
g_date_time_get_second(datetime: *mut GDateTime) -> c_int2767     pub fn g_date_time_get_second(datetime: *mut GDateTime) -> c_int;
g_date_time_get_seconds(datetime: *mut GDateTime) -> c_double2768     pub fn g_date_time_get_seconds(datetime: *mut GDateTime) -> c_double;
2769     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_date_time_get_timezone(datetime: *mut GDateTime) -> *mut GTimeZone2770     pub fn g_date_time_get_timezone(datetime: *mut GDateTime) -> *mut GTimeZone;
g_date_time_get_timezone_abbreviation(datetime: *mut GDateTime) -> *const c_char2771     pub fn g_date_time_get_timezone_abbreviation(datetime: *mut GDateTime) -> *const c_char;
g_date_time_get_utc_offset(datetime: *mut GDateTime) -> GTimeSpan2772     pub fn g_date_time_get_utc_offset(datetime: *mut GDateTime) -> GTimeSpan;
g_date_time_get_week_numbering_year(datetime: *mut GDateTime) -> c_int2773     pub fn g_date_time_get_week_numbering_year(datetime: *mut GDateTime) -> c_int;
g_date_time_get_week_of_year(datetime: *mut GDateTime) -> c_int2774     pub fn g_date_time_get_week_of_year(datetime: *mut GDateTime) -> c_int;
g_date_time_get_year(datetime: *mut GDateTime) -> c_int2775     pub fn g_date_time_get_year(datetime: *mut GDateTime) -> c_int;
g_date_time_get_ymd( datetime: *mut GDateTime, year: *mut c_int, month: *mut c_int, day: *mut c_int, )2776     pub fn g_date_time_get_ymd(
2777         datetime: *mut GDateTime,
2778         year: *mut c_int,
2779         month: *mut c_int,
2780         day: *mut c_int,
2781     );
g_date_time_is_daylight_savings(datetime: *mut GDateTime) -> gboolean2782     pub fn g_date_time_is_daylight_savings(datetime: *mut GDateTime) -> gboolean;
g_date_time_ref(datetime: *mut GDateTime) -> *mut GDateTime2783     pub fn g_date_time_ref(datetime: *mut GDateTime) -> *mut GDateTime;
g_date_time_to_local(datetime: *mut GDateTime) -> *mut GDateTime2784     pub fn g_date_time_to_local(datetime: *mut GDateTime) -> *mut GDateTime;
g_date_time_to_timeval(datetime: *mut GDateTime, tv: *mut GTimeVal) -> gboolean2785     pub fn g_date_time_to_timeval(datetime: *mut GDateTime, tv: *mut GTimeVal) -> gboolean;
g_date_time_to_timezone(datetime: *mut GDateTime, tz: *mut GTimeZone) -> *mut GDateTime2786     pub fn g_date_time_to_timezone(datetime: *mut GDateTime, tz: *mut GTimeZone) -> *mut GDateTime;
g_date_time_to_unix(datetime: *mut GDateTime) -> i642787     pub fn g_date_time_to_unix(datetime: *mut GDateTime) -> i64;
g_date_time_to_utc(datetime: *mut GDateTime) -> *mut GDateTime2788     pub fn g_date_time_to_utc(datetime: *mut GDateTime) -> *mut GDateTime;
g_date_time_unref(datetime: *mut GDateTime)2789     pub fn g_date_time_unref(datetime: *mut GDateTime);
g_date_time_compare(dt1: gconstpointer, dt2: gconstpointer) -> c_int2790     pub fn g_date_time_compare(dt1: gconstpointer, dt2: gconstpointer) -> c_int;
g_date_time_equal(dt1: gconstpointer, dt2: gconstpointer) -> gboolean2791     pub fn g_date_time_equal(dt1: gconstpointer, dt2: gconstpointer) -> gboolean;
g_date_time_hash(datetime: gconstpointer) -> c_uint2792     pub fn g_date_time_hash(datetime: gconstpointer) -> c_uint;
2793 
2794     //=========================================================================
2795     // GDir
2796     //=========================================================================
g_dir_close(dir: *mut GDir)2797     pub fn g_dir_close(dir: *mut GDir);
2798     #[cfg(any(windows, feature = "dox"))]
g_dir_read_name_utf8(dir: *mut GDir) -> *const c_char2799     pub fn g_dir_read_name_utf8(dir: *mut GDir) -> *const c_char;
g_dir_read_name(dir: *mut GDir) -> *const c_char2800     pub fn g_dir_read_name(dir: *mut GDir) -> *const c_char;
g_dir_rewind(dir: *mut GDir)2801     pub fn g_dir_rewind(dir: *mut GDir);
g_dir_make_tmp(tmpl: *const c_char, error: *mut *mut GError) -> *mut c_char2802     pub fn g_dir_make_tmp(tmpl: *const c_char, error: *mut *mut GError) -> *mut c_char;
2803     #[cfg(any(windows, feature = "dox"))]
g_dir_open_utf8( path: *const c_char, flags: c_uint, error: *mut *mut GError, ) -> *mut GDir2804     pub fn g_dir_open_utf8(
2805         path: *const c_char,
2806         flags: c_uint,
2807         error: *mut *mut GError,
2808     ) -> *mut GDir;
g_dir_open(path: *const c_char, flags: c_uint, error: *mut *mut GError) -> *mut GDir2809     pub fn g_dir_open(path: *const c_char, flags: c_uint, error: *mut *mut GError) -> *mut GDir;
2810 
2811     //=========================================================================
2812     // GError
2813     //=========================================================================
g_error_get_type() -> GType2814     pub fn g_error_get_type() -> GType;
g_error_new(domain: GQuark, code: c_int, format: *const c_char, ...) -> *mut GError2815     pub fn g_error_new(domain: GQuark, code: c_int, format: *const c_char, ...) -> *mut GError;
g_error_new_literal(domain: GQuark, code: c_int, message: *const c_char) -> *mut GError2816     pub fn g_error_new_literal(domain: GQuark, code: c_int, message: *const c_char) -> *mut GError;
2817     //pub fn g_error_new_valist(domain: GQuark, code: c_int, format: *const c_char, args: /*Unimplemented*/va_list) -> *mut GError;
g_error_copy(error: *const GError) -> *mut GError2818     pub fn g_error_copy(error: *const GError) -> *mut GError;
g_error_free(error: *mut GError)2819     pub fn g_error_free(error: *mut GError);
g_error_matches(error: *const GError, domain: GQuark, code: c_int) -> gboolean2820     pub fn g_error_matches(error: *const GError, domain: GQuark, code: c_int) -> gboolean;
2821 
2822     //=========================================================================
2823     // GHashTable
2824     //=========================================================================
g_hash_table_get_type() -> GType2825     pub fn g_hash_table_get_type() -> GType;
g_hash_table_add(hash_table: *mut GHashTable, key: gpointer) -> gboolean2826     pub fn g_hash_table_add(hash_table: *mut GHashTable, key: gpointer) -> gboolean;
g_hash_table_contains(hash_table: *mut GHashTable, key: gconstpointer) -> gboolean2827     pub fn g_hash_table_contains(hash_table: *mut GHashTable, key: gconstpointer) -> gboolean;
g_hash_table_destroy(hash_table: *mut GHashTable)2828     pub fn g_hash_table_destroy(hash_table: *mut GHashTable);
g_hash_table_find( hash_table: *mut GHashTable, predicate: GHRFunc, user_data: gpointer, ) -> gpointer2829     pub fn g_hash_table_find(
2830         hash_table: *mut GHashTable,
2831         predicate: GHRFunc,
2832         user_data: gpointer,
2833     ) -> gpointer;
g_hash_table_foreach(hash_table: *mut GHashTable, func: GHFunc, user_data: gpointer)2834     pub fn g_hash_table_foreach(hash_table: *mut GHashTable, func: GHFunc, user_data: gpointer);
g_hash_table_foreach_remove( hash_table: *mut GHashTable, func: GHRFunc, user_data: gpointer, ) -> c_uint2835     pub fn g_hash_table_foreach_remove(
2836         hash_table: *mut GHashTable,
2837         func: GHRFunc,
2838         user_data: gpointer,
2839     ) -> c_uint;
g_hash_table_foreach_steal( hash_table: *mut GHashTable, func: GHRFunc, user_data: gpointer, ) -> c_uint2840     pub fn g_hash_table_foreach_steal(
2841         hash_table: *mut GHashTable,
2842         func: GHRFunc,
2843         user_data: gpointer,
2844     ) -> c_uint;
g_hash_table_get_keys(hash_table: *mut GHashTable) -> *mut GList2845     pub fn g_hash_table_get_keys(hash_table: *mut GHashTable) -> *mut GList;
g_hash_table_get_keys_as_array( hash_table: *mut GHashTable, length: *mut c_uint, ) -> *mut gpointer2846     pub fn g_hash_table_get_keys_as_array(
2847         hash_table: *mut GHashTable,
2848         length: *mut c_uint,
2849     ) -> *mut gpointer;
g_hash_table_get_values(hash_table: *mut GHashTable) -> *mut GList2850     pub fn g_hash_table_get_values(hash_table: *mut GHashTable) -> *mut GList;
g_hash_table_insert( hash_table: *mut GHashTable, key: gpointer, value: gpointer, ) -> gboolean2851     pub fn g_hash_table_insert(
2852         hash_table: *mut GHashTable,
2853         key: gpointer,
2854         value: gpointer,
2855     ) -> gboolean;
g_hash_table_lookup(hash_table: *mut GHashTable, key: gconstpointer) -> gpointer2856     pub fn g_hash_table_lookup(hash_table: *mut GHashTable, key: gconstpointer) -> gpointer;
g_hash_table_lookup_extended( hash_table: *mut GHashTable, lookup_key: gconstpointer, orig_key: *mut gpointer, value: *mut gpointer, ) -> gboolean2857     pub fn g_hash_table_lookup_extended(
2858         hash_table: *mut GHashTable,
2859         lookup_key: gconstpointer,
2860         orig_key: *mut gpointer,
2861         value: *mut gpointer,
2862     ) -> gboolean;
g_hash_table_new(hash_func: GHashFunc, key_equal_func: GEqualFunc) -> *mut GHashTable2863     pub fn g_hash_table_new(hash_func: GHashFunc, key_equal_func: GEqualFunc) -> *mut GHashTable;
g_hash_table_new_full( hash_func: GHashFunc, key_equal_func: GEqualFunc, key_destroy_func: GDestroyNotify, value_destroy_func: GDestroyNotify, ) -> *mut GHashTable2864     pub fn g_hash_table_new_full(
2865         hash_func: GHashFunc,
2866         key_equal_func: GEqualFunc,
2867         key_destroy_func: GDestroyNotify,
2868         value_destroy_func: GDestroyNotify,
2869     ) -> *mut GHashTable;
g_hash_table_ref(hash_table: *mut GHashTable) -> *mut GHashTable2870     pub fn g_hash_table_ref(hash_table: *mut GHashTable) -> *mut GHashTable;
g_hash_table_remove(hash_table: *mut GHashTable, key: gconstpointer) -> gboolean2871     pub fn g_hash_table_remove(hash_table: *mut GHashTable, key: gconstpointer) -> gboolean;
g_hash_table_remove_all(hash_table: *mut GHashTable)2872     pub fn g_hash_table_remove_all(hash_table: *mut GHashTable);
g_hash_table_replace( hash_table: *mut GHashTable, key: gpointer, value: gpointer, ) -> gboolean2873     pub fn g_hash_table_replace(
2874         hash_table: *mut GHashTable,
2875         key: gpointer,
2876         value: gpointer,
2877     ) -> gboolean;
g_hash_table_size(hash_table: *mut GHashTable) -> c_uint2878     pub fn g_hash_table_size(hash_table: *mut GHashTable) -> c_uint;
g_hash_table_steal(hash_table: *mut GHashTable, key: gconstpointer) -> gboolean2879     pub fn g_hash_table_steal(hash_table: *mut GHashTable, key: gconstpointer) -> gboolean;
g_hash_table_steal_all(hash_table: *mut GHashTable)2880     pub fn g_hash_table_steal_all(hash_table: *mut GHashTable);
2881     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_hash_table_steal_extended( hash_table: *mut GHashTable, lookup_key: gconstpointer, stolen_key: *mut gpointer, stolen_value: *mut gpointer, ) -> gboolean2882     pub fn g_hash_table_steal_extended(
2883         hash_table: *mut GHashTable,
2884         lookup_key: gconstpointer,
2885         stolen_key: *mut gpointer,
2886         stolen_value: *mut gpointer,
2887     ) -> gboolean;
g_hash_table_unref(hash_table: *mut GHashTable)2888     pub fn g_hash_table_unref(hash_table: *mut GHashTable);
2889 
2890     //=========================================================================
2891     // GHashTableIter
2892     //=========================================================================
g_hash_table_iter_get_hash_table(iter: *mut GHashTableIter) -> *mut GHashTable2893     pub fn g_hash_table_iter_get_hash_table(iter: *mut GHashTableIter) -> *mut GHashTable;
g_hash_table_iter_init(iter: *mut GHashTableIter, hash_table: *mut GHashTable)2894     pub fn g_hash_table_iter_init(iter: *mut GHashTableIter, hash_table: *mut GHashTable);
g_hash_table_iter_next( iter: *mut GHashTableIter, key: *mut gpointer, value: *mut gpointer, ) -> gboolean2895     pub fn g_hash_table_iter_next(
2896         iter: *mut GHashTableIter,
2897         key: *mut gpointer,
2898         value: *mut gpointer,
2899     ) -> gboolean;
g_hash_table_iter_remove(iter: *mut GHashTableIter)2900     pub fn g_hash_table_iter_remove(iter: *mut GHashTableIter);
g_hash_table_iter_replace(iter: *mut GHashTableIter, value: gpointer)2901     pub fn g_hash_table_iter_replace(iter: *mut GHashTableIter, value: gpointer);
g_hash_table_iter_steal(iter: *mut GHashTableIter)2902     pub fn g_hash_table_iter_steal(iter: *mut GHashTableIter);
2903 
2904     //=========================================================================
2905     // GHmac
2906     //=========================================================================
g_hmac_copy(hmac: *const GHmac) -> *mut GHmac2907     pub fn g_hmac_copy(hmac: *const GHmac) -> *mut GHmac;
g_hmac_get_digest(hmac: *mut GHmac, buffer: *mut u8, digest_len: *mut size_t)2908     pub fn g_hmac_get_digest(hmac: *mut GHmac, buffer: *mut u8, digest_len: *mut size_t);
g_hmac_get_string(hmac: *mut GHmac) -> *const c_char2909     pub fn g_hmac_get_string(hmac: *mut GHmac) -> *const c_char;
g_hmac_ref(hmac: *mut GHmac) -> *mut GHmac2910     pub fn g_hmac_ref(hmac: *mut GHmac) -> *mut GHmac;
g_hmac_unref(hmac: *mut GHmac)2911     pub fn g_hmac_unref(hmac: *mut GHmac);
g_hmac_update(hmac: *mut GHmac, data: *const u8, length: ssize_t)2912     pub fn g_hmac_update(hmac: *mut GHmac, data: *const u8, length: ssize_t);
g_hmac_new(digest_type: GChecksumType, key: *const u8, key_len: size_t) -> *mut GHmac2913     pub fn g_hmac_new(digest_type: GChecksumType, key: *const u8, key_len: size_t) -> *mut GHmac;
2914 
2915     //=========================================================================
2916     // GHook
2917     //=========================================================================
g_hook_compare_ids(new_hook: *mut GHook, sibling: *mut GHook) -> c_int2918     pub fn g_hook_compare_ids(new_hook: *mut GHook, sibling: *mut GHook) -> c_int;
g_hook_alloc(hook_list: *mut GHookList) -> *mut GHook2919     pub fn g_hook_alloc(hook_list: *mut GHookList) -> *mut GHook;
g_hook_destroy(hook_list: *mut GHookList, hook_id: c_ulong) -> gboolean2920     pub fn g_hook_destroy(hook_list: *mut GHookList, hook_id: c_ulong) -> gboolean;
g_hook_destroy_link(hook_list: *mut GHookList, hook: *mut GHook)2921     pub fn g_hook_destroy_link(hook_list: *mut GHookList, hook: *mut GHook);
g_hook_find( hook_list: *mut GHookList, need_valids: gboolean, func: GHookFindFunc, data: gpointer, ) -> *mut GHook2922     pub fn g_hook_find(
2923         hook_list: *mut GHookList,
2924         need_valids: gboolean,
2925         func: GHookFindFunc,
2926         data: gpointer,
2927     ) -> *mut GHook;
g_hook_find_data( hook_list: *mut GHookList, need_valids: gboolean, data: gpointer, ) -> *mut GHook2928     pub fn g_hook_find_data(
2929         hook_list: *mut GHookList,
2930         need_valids: gboolean,
2931         data: gpointer,
2932     ) -> *mut GHook;
g_hook_find_func( hook_list: *mut GHookList, need_valids: gboolean, func: gpointer, ) -> *mut GHook2933     pub fn g_hook_find_func(
2934         hook_list: *mut GHookList,
2935         need_valids: gboolean,
2936         func: gpointer,
2937     ) -> *mut GHook;
g_hook_find_func_data( hook_list: *mut GHookList, need_valids: gboolean, func: gpointer, data: gpointer, ) -> *mut GHook2938     pub fn g_hook_find_func_data(
2939         hook_list: *mut GHookList,
2940         need_valids: gboolean,
2941         func: gpointer,
2942         data: gpointer,
2943     ) -> *mut GHook;
g_hook_first_valid(hook_list: *mut GHookList, may_be_in_call: gboolean) -> *mut GHook2944     pub fn g_hook_first_valid(hook_list: *mut GHookList, may_be_in_call: gboolean) -> *mut GHook;
g_hook_free(hook_list: *mut GHookList, hook: *mut GHook)2945     pub fn g_hook_free(hook_list: *mut GHookList, hook: *mut GHook);
g_hook_get(hook_list: *mut GHookList, hook_id: c_ulong) -> *mut GHook2946     pub fn g_hook_get(hook_list: *mut GHookList, hook_id: c_ulong) -> *mut GHook;
g_hook_insert_before(hook_list: *mut GHookList, sibling: *mut GHook, hook: *mut GHook)2947     pub fn g_hook_insert_before(hook_list: *mut GHookList, sibling: *mut GHook, hook: *mut GHook);
g_hook_insert_sorted( hook_list: *mut GHookList, hook: *mut GHook, func: GHookCompareFunc, )2948     pub fn g_hook_insert_sorted(
2949         hook_list: *mut GHookList,
2950         hook: *mut GHook,
2951         func: GHookCompareFunc,
2952     );
g_hook_next_valid( hook_list: *mut GHookList, hook: *mut GHook, may_be_in_call: gboolean, ) -> *mut GHook2953     pub fn g_hook_next_valid(
2954         hook_list: *mut GHookList,
2955         hook: *mut GHook,
2956         may_be_in_call: gboolean,
2957     ) -> *mut GHook;
g_hook_prepend(hook_list: *mut GHookList, hook: *mut GHook)2958     pub fn g_hook_prepend(hook_list: *mut GHookList, hook: *mut GHook);
g_hook_ref(hook_list: *mut GHookList, hook: *mut GHook) -> *mut GHook2959     pub fn g_hook_ref(hook_list: *mut GHookList, hook: *mut GHook) -> *mut GHook;
g_hook_unref(hook_list: *mut GHookList, hook: *mut GHook)2960     pub fn g_hook_unref(hook_list: *mut GHookList, hook: *mut GHook);
2961 
2962     //=========================================================================
2963     // GHookList
2964     //=========================================================================
g_hook_list_clear(hook_list: *mut GHookList)2965     pub fn g_hook_list_clear(hook_list: *mut GHookList);
g_hook_list_init(hook_list: *mut GHookList, hook_size: c_uint)2966     pub fn g_hook_list_init(hook_list: *mut GHookList, hook_size: c_uint);
g_hook_list_invoke(hook_list: *mut GHookList, may_recurse: gboolean)2967     pub fn g_hook_list_invoke(hook_list: *mut GHookList, may_recurse: gboolean);
g_hook_list_invoke_check(hook_list: *mut GHookList, may_recurse: gboolean)2968     pub fn g_hook_list_invoke_check(hook_list: *mut GHookList, may_recurse: gboolean);
g_hook_list_marshal( hook_list: *mut GHookList, may_recurse: gboolean, marshaller: GHookMarshaller, marshal_data: gpointer, )2969     pub fn g_hook_list_marshal(
2970         hook_list: *mut GHookList,
2971         may_recurse: gboolean,
2972         marshaller: GHookMarshaller,
2973         marshal_data: gpointer,
2974     );
g_hook_list_marshal_check( hook_list: *mut GHookList, may_recurse: gboolean, marshaller: GHookCheckMarshaller, marshal_data: gpointer, )2975     pub fn g_hook_list_marshal_check(
2976         hook_list: *mut GHookList,
2977         may_recurse: gboolean,
2978         marshaller: GHookCheckMarshaller,
2979         marshal_data: gpointer,
2980     );
2981 
2982     //=========================================================================
2983     // GIConv
2984     //=========================================================================
g_iconv_close(converter: GIConv) -> c_int2985     pub fn g_iconv_close(converter: GIConv) -> c_int;
g_iconv_open(to_codeset: *const c_char, from_codeset: *const c_char) -> GIConv2986     pub fn g_iconv_open(to_codeset: *const c_char, from_codeset: *const c_char) -> GIConv;
2987 
2988     //=========================================================================
2989     // GIOChannel
2990     //=========================================================================
g_io_channel_get_type() -> GType2991     pub fn g_io_channel_get_type() -> GType;
2992     #[cfg(any(windows, feature = "dox"))]
g_io_channel_new_file_utf8( filename: *const c_char, mode: *const c_char, error: *mut *mut GError, ) -> *mut GIOChannel2993     pub fn g_io_channel_new_file_utf8(
2994         filename: *const c_char,
2995         mode: *const c_char,
2996         error: *mut *mut GError,
2997     ) -> *mut GIOChannel;
g_io_channel_new_file( filename: *const c_char, mode: *const c_char, error: *mut *mut GError, ) -> *mut GIOChannel2998     pub fn g_io_channel_new_file(
2999         filename: *const c_char,
3000         mode: *const c_char,
3001         error: *mut *mut GError,
3002     ) -> *mut GIOChannel;
g_io_channel_unix_new(fd: c_int) -> *mut GIOChannel3003     pub fn g_io_channel_unix_new(fd: c_int) -> *mut GIOChannel;
g_io_channel_close(channel: *mut GIOChannel)3004     pub fn g_io_channel_close(channel: *mut GIOChannel);
g_io_channel_flush(channel: *mut GIOChannel, error: *mut *mut GError) -> GIOStatus3005     pub fn g_io_channel_flush(channel: *mut GIOChannel, error: *mut *mut GError) -> GIOStatus;
g_io_channel_get_buffer_condition(channel: *mut GIOChannel) -> GIOCondition3006     pub fn g_io_channel_get_buffer_condition(channel: *mut GIOChannel) -> GIOCondition;
g_io_channel_get_buffer_size(channel: *mut GIOChannel) -> size_t3007     pub fn g_io_channel_get_buffer_size(channel: *mut GIOChannel) -> size_t;
g_io_channel_get_buffered(channel: *mut GIOChannel) -> gboolean3008     pub fn g_io_channel_get_buffered(channel: *mut GIOChannel) -> gboolean;
g_io_channel_get_close_on_unref(channel: *mut GIOChannel) -> gboolean3009     pub fn g_io_channel_get_close_on_unref(channel: *mut GIOChannel) -> gboolean;
g_io_channel_get_encoding(channel: *mut GIOChannel) -> *const c_char3010     pub fn g_io_channel_get_encoding(channel: *mut GIOChannel) -> *const c_char;
g_io_channel_get_flags(channel: *mut GIOChannel) -> GIOFlags3011     pub fn g_io_channel_get_flags(channel: *mut GIOChannel) -> GIOFlags;
g_io_channel_get_line_term( channel: *mut GIOChannel, length: *mut c_int, ) -> *const c_char3012     pub fn g_io_channel_get_line_term(
3013         channel: *mut GIOChannel,
3014         length: *mut c_int,
3015     ) -> *const c_char;
g_io_channel_init(channel: *mut GIOChannel)3016     pub fn g_io_channel_init(channel: *mut GIOChannel);
g_io_channel_read( channel: *mut GIOChannel, buf: *mut c_char, count: size_t, bytes_read: *mut size_t, ) -> GIOError3017     pub fn g_io_channel_read(
3018         channel: *mut GIOChannel,
3019         buf: *mut c_char,
3020         count: size_t,
3021         bytes_read: *mut size_t,
3022     ) -> GIOError;
g_io_channel_read_chars( channel: *mut GIOChannel, buf: *mut u8, count: size_t, bytes_read: *mut size_t, error: *mut *mut GError, ) -> GIOStatus3023     pub fn g_io_channel_read_chars(
3024         channel: *mut GIOChannel,
3025         buf: *mut u8,
3026         count: size_t,
3027         bytes_read: *mut size_t,
3028         error: *mut *mut GError,
3029     ) -> GIOStatus;
g_io_channel_read_line( channel: *mut GIOChannel, str_return: *mut *mut c_char, length: *mut size_t, terminator_pos: *mut size_t, error: *mut *mut GError, ) -> GIOStatus3030     pub fn g_io_channel_read_line(
3031         channel: *mut GIOChannel,
3032         str_return: *mut *mut c_char,
3033         length: *mut size_t,
3034         terminator_pos: *mut size_t,
3035         error: *mut *mut GError,
3036     ) -> GIOStatus;
g_io_channel_read_line_string( channel: *mut GIOChannel, buffer: *mut GString, terminator_pos: *mut size_t, error: *mut *mut GError, ) -> GIOStatus3037     pub fn g_io_channel_read_line_string(
3038         channel: *mut GIOChannel,
3039         buffer: *mut GString,
3040         terminator_pos: *mut size_t,
3041         error: *mut *mut GError,
3042     ) -> GIOStatus;
g_io_channel_read_to_end( channel: *mut GIOChannel, str_return: *mut *mut u8, length: *mut size_t, error: *mut *mut GError, ) -> GIOStatus3043     pub fn g_io_channel_read_to_end(
3044         channel: *mut GIOChannel,
3045         str_return: *mut *mut u8,
3046         length: *mut size_t,
3047         error: *mut *mut GError,
3048     ) -> GIOStatus;
g_io_channel_read_unichar( channel: *mut GIOChannel, thechar: *mut u32, error: *mut *mut GError, ) -> GIOStatus3049     pub fn g_io_channel_read_unichar(
3050         channel: *mut GIOChannel,
3051         thechar: *mut u32,
3052         error: *mut *mut GError,
3053     ) -> GIOStatus;
g_io_channel_ref(channel: *mut GIOChannel) -> *mut GIOChannel3054     pub fn g_io_channel_ref(channel: *mut GIOChannel) -> *mut GIOChannel;
g_io_channel_seek(channel: *mut GIOChannel, offset: i64, type_: GSeekType) -> GIOError3055     pub fn g_io_channel_seek(channel: *mut GIOChannel, offset: i64, type_: GSeekType) -> GIOError;
g_io_channel_seek_position( channel: *mut GIOChannel, offset: i64, type_: GSeekType, error: *mut *mut GError, ) -> GIOStatus3056     pub fn g_io_channel_seek_position(
3057         channel: *mut GIOChannel,
3058         offset: i64,
3059         type_: GSeekType,
3060         error: *mut *mut GError,
3061     ) -> GIOStatus;
g_io_channel_set_buffer_size(channel: *mut GIOChannel, size: size_t)3062     pub fn g_io_channel_set_buffer_size(channel: *mut GIOChannel, size: size_t);
g_io_channel_set_buffered(channel: *mut GIOChannel, buffered: gboolean)3063     pub fn g_io_channel_set_buffered(channel: *mut GIOChannel, buffered: gboolean);
g_io_channel_set_close_on_unref(channel: *mut GIOChannel, do_close: gboolean)3064     pub fn g_io_channel_set_close_on_unref(channel: *mut GIOChannel, do_close: gboolean);
g_io_channel_set_encoding( channel: *mut GIOChannel, encoding: *const c_char, error: *mut *mut GError, ) -> GIOStatus3065     pub fn g_io_channel_set_encoding(
3066         channel: *mut GIOChannel,
3067         encoding: *const c_char,
3068         error: *mut *mut GError,
3069     ) -> GIOStatus;
g_io_channel_set_flags( channel: *mut GIOChannel, flags: GIOFlags, error: *mut *mut GError, ) -> GIOStatus3070     pub fn g_io_channel_set_flags(
3071         channel: *mut GIOChannel,
3072         flags: GIOFlags,
3073         error: *mut *mut GError,
3074     ) -> GIOStatus;
g_io_channel_set_line_term( channel: *mut GIOChannel, line_term: *const c_char, length: c_int, )3075     pub fn g_io_channel_set_line_term(
3076         channel: *mut GIOChannel,
3077         line_term: *const c_char,
3078         length: c_int,
3079     );
g_io_channel_shutdown( channel: *mut GIOChannel, flush: gboolean, error: *mut *mut GError, ) -> GIOStatus3080     pub fn g_io_channel_shutdown(
3081         channel: *mut GIOChannel,
3082         flush: gboolean,
3083         error: *mut *mut GError,
3084     ) -> GIOStatus;
g_io_channel_unix_get_fd(channel: *mut GIOChannel) -> c_int3085     pub fn g_io_channel_unix_get_fd(channel: *mut GIOChannel) -> c_int;
g_io_channel_unref(channel: *mut GIOChannel)3086     pub fn g_io_channel_unref(channel: *mut GIOChannel);
g_io_channel_write( channel: *mut GIOChannel, buf: *const c_char, count: size_t, bytes_written: *mut size_t, ) -> GIOError3087     pub fn g_io_channel_write(
3088         channel: *mut GIOChannel,
3089         buf: *const c_char,
3090         count: size_t,
3091         bytes_written: *mut size_t,
3092     ) -> GIOError;
g_io_channel_write_chars( channel: *mut GIOChannel, buf: *const u8, count: ssize_t, bytes_written: *mut size_t, error: *mut *mut GError, ) -> GIOStatus3093     pub fn g_io_channel_write_chars(
3094         channel: *mut GIOChannel,
3095         buf: *const u8,
3096         count: ssize_t,
3097         bytes_written: *mut size_t,
3098         error: *mut *mut GError,
3099     ) -> GIOStatus;
g_io_channel_write_unichar( channel: *mut GIOChannel, thechar: u32, error: *mut *mut GError, ) -> GIOStatus3100     pub fn g_io_channel_write_unichar(
3101         channel: *mut GIOChannel,
3102         thechar: u32,
3103         error: *mut *mut GError,
3104     ) -> GIOStatus;
g_io_channel_error_from_errno(en: c_int) -> GIOChannelError3105     pub fn g_io_channel_error_from_errno(en: c_int) -> GIOChannelError;
g_io_channel_error_quark() -> GQuark3106     pub fn g_io_channel_error_quark() -> GQuark;
3107 
3108     //=========================================================================
3109     // GKeyFile
3110     //=========================================================================
g_key_file_get_type() -> GType3111     pub fn g_key_file_get_type() -> GType;
g_key_file_new() -> *mut GKeyFile3112     pub fn g_key_file_new() -> *mut GKeyFile;
g_key_file_free(key_file: *mut GKeyFile)3113     pub fn g_key_file_free(key_file: *mut GKeyFile);
g_key_file_get_boolean( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, error: *mut *mut GError, ) -> gboolean3114     pub fn g_key_file_get_boolean(
3115         key_file: *mut GKeyFile,
3116         group_name: *const c_char,
3117         key: *const c_char,
3118         error: *mut *mut GError,
3119     ) -> gboolean;
g_key_file_get_boolean_list( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, length: *mut size_t, error: *mut *mut GError, ) -> *mut gboolean3120     pub fn g_key_file_get_boolean_list(
3121         key_file: *mut GKeyFile,
3122         group_name: *const c_char,
3123         key: *const c_char,
3124         length: *mut size_t,
3125         error: *mut *mut GError,
3126     ) -> *mut gboolean;
g_key_file_get_comment( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, error: *mut *mut GError, ) -> *mut c_char3127     pub fn g_key_file_get_comment(
3128         key_file: *mut GKeyFile,
3129         group_name: *const c_char,
3130         key: *const c_char,
3131         error: *mut *mut GError,
3132     ) -> *mut c_char;
g_key_file_get_double( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, error: *mut *mut GError, ) -> c_double3133     pub fn g_key_file_get_double(
3134         key_file: *mut GKeyFile,
3135         group_name: *const c_char,
3136         key: *const c_char,
3137         error: *mut *mut GError,
3138     ) -> c_double;
g_key_file_get_double_list( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, length: *mut size_t, error: *mut *mut GError, ) -> *mut c_double3139     pub fn g_key_file_get_double_list(
3140         key_file: *mut GKeyFile,
3141         group_name: *const c_char,
3142         key: *const c_char,
3143         length: *mut size_t,
3144         error: *mut *mut GError,
3145     ) -> *mut c_double;
g_key_file_get_groups(key_file: *mut GKeyFile, length: *mut size_t) -> *mut *mut c_char3146     pub fn g_key_file_get_groups(key_file: *mut GKeyFile, length: *mut size_t) -> *mut *mut c_char;
g_key_file_get_int64( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, error: *mut *mut GError, ) -> i643147     pub fn g_key_file_get_int64(
3148         key_file: *mut GKeyFile,
3149         group_name: *const c_char,
3150         key: *const c_char,
3151         error: *mut *mut GError,
3152     ) -> i64;
g_key_file_get_integer( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, error: *mut *mut GError, ) -> c_int3153     pub fn g_key_file_get_integer(
3154         key_file: *mut GKeyFile,
3155         group_name: *const c_char,
3156         key: *const c_char,
3157         error: *mut *mut GError,
3158     ) -> c_int;
g_key_file_get_integer_list( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, length: *mut size_t, error: *mut *mut GError, ) -> *mut c_int3159     pub fn g_key_file_get_integer_list(
3160         key_file: *mut GKeyFile,
3161         group_name: *const c_char,
3162         key: *const c_char,
3163         length: *mut size_t,
3164         error: *mut *mut GError,
3165     ) -> *mut c_int;
g_key_file_get_keys( key_file: *mut GKeyFile, group_name: *const c_char, length: *mut size_t, error: *mut *mut GError, ) -> *mut *mut c_char3166     pub fn g_key_file_get_keys(
3167         key_file: *mut GKeyFile,
3168         group_name: *const c_char,
3169         length: *mut size_t,
3170         error: *mut *mut GError,
3171     ) -> *mut *mut c_char;
3172     #[cfg(any(feature = "v2_56", feature = "dox"))]
g_key_file_get_locale_for_key( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, locale: *const c_char, ) -> *mut c_char3173     pub fn g_key_file_get_locale_for_key(
3174         key_file: *mut GKeyFile,
3175         group_name: *const c_char,
3176         key: *const c_char,
3177         locale: *const c_char,
3178     ) -> *mut c_char;
g_key_file_get_locale_string( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, locale: *const c_char, error: *mut *mut GError, ) -> *mut c_char3179     pub fn g_key_file_get_locale_string(
3180         key_file: *mut GKeyFile,
3181         group_name: *const c_char,
3182         key: *const c_char,
3183         locale: *const c_char,
3184         error: *mut *mut GError,
3185     ) -> *mut c_char;
g_key_file_get_locale_string_list( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, locale: *const c_char, length: *mut size_t, error: *mut *mut GError, ) -> *mut *mut c_char3186     pub fn g_key_file_get_locale_string_list(
3187         key_file: *mut GKeyFile,
3188         group_name: *const c_char,
3189         key: *const c_char,
3190         locale: *const c_char,
3191         length: *mut size_t,
3192         error: *mut *mut GError,
3193     ) -> *mut *mut c_char;
g_key_file_get_start_group(key_file: *mut GKeyFile) -> *mut c_char3194     pub fn g_key_file_get_start_group(key_file: *mut GKeyFile) -> *mut c_char;
g_key_file_get_string( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, error: *mut *mut GError, ) -> *mut c_char3195     pub fn g_key_file_get_string(
3196         key_file: *mut GKeyFile,
3197         group_name: *const c_char,
3198         key: *const c_char,
3199         error: *mut *mut GError,
3200     ) -> *mut c_char;
g_key_file_get_string_list( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, length: *mut size_t, error: *mut *mut GError, ) -> *mut *mut c_char3201     pub fn g_key_file_get_string_list(
3202         key_file: *mut GKeyFile,
3203         group_name: *const c_char,
3204         key: *const c_char,
3205         length: *mut size_t,
3206         error: *mut *mut GError,
3207     ) -> *mut *mut c_char;
g_key_file_get_uint64( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, error: *mut *mut GError, ) -> u643208     pub fn g_key_file_get_uint64(
3209         key_file: *mut GKeyFile,
3210         group_name: *const c_char,
3211         key: *const c_char,
3212         error: *mut *mut GError,
3213     ) -> u64;
g_key_file_get_value( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, error: *mut *mut GError, ) -> *mut c_char3214     pub fn g_key_file_get_value(
3215         key_file: *mut GKeyFile,
3216         group_name: *const c_char,
3217         key: *const c_char,
3218         error: *mut *mut GError,
3219     ) -> *mut c_char;
g_key_file_has_group(key_file: *mut GKeyFile, group_name: *const c_char) -> gboolean3220     pub fn g_key_file_has_group(key_file: *mut GKeyFile, group_name: *const c_char) -> gboolean;
g_key_file_has_key( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, error: *mut *mut GError, ) -> gboolean3221     pub fn g_key_file_has_key(
3222         key_file: *mut GKeyFile,
3223         group_name: *const c_char,
3224         key: *const c_char,
3225         error: *mut *mut GError,
3226     ) -> gboolean;
3227     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_key_file_load_from_bytes( key_file: *mut GKeyFile, bytes: *mut GBytes, flags: GKeyFileFlags, error: *mut *mut GError, ) -> gboolean3228     pub fn g_key_file_load_from_bytes(
3229         key_file: *mut GKeyFile,
3230         bytes: *mut GBytes,
3231         flags: GKeyFileFlags,
3232         error: *mut *mut GError,
3233     ) -> gboolean;
g_key_file_load_from_data( key_file: *mut GKeyFile, data: *const c_char, length: size_t, flags: GKeyFileFlags, error: *mut *mut GError, ) -> gboolean3234     pub fn g_key_file_load_from_data(
3235         key_file: *mut GKeyFile,
3236         data: *const c_char,
3237         length: size_t,
3238         flags: GKeyFileFlags,
3239         error: *mut *mut GError,
3240     ) -> gboolean;
g_key_file_load_from_data_dirs( key_file: *mut GKeyFile, file: *const c_char, full_path: *mut *mut c_char, flags: GKeyFileFlags, error: *mut *mut GError, ) -> gboolean3241     pub fn g_key_file_load_from_data_dirs(
3242         key_file: *mut GKeyFile,
3243         file: *const c_char,
3244         full_path: *mut *mut c_char,
3245         flags: GKeyFileFlags,
3246         error: *mut *mut GError,
3247     ) -> gboolean;
g_key_file_load_from_dirs( key_file: *mut GKeyFile, file: *const c_char, search_dirs: *mut *const c_char, full_path: *mut *mut c_char, flags: GKeyFileFlags, error: *mut *mut GError, ) -> gboolean3248     pub fn g_key_file_load_from_dirs(
3249         key_file: *mut GKeyFile,
3250         file: *const c_char,
3251         search_dirs: *mut *const c_char,
3252         full_path: *mut *mut c_char,
3253         flags: GKeyFileFlags,
3254         error: *mut *mut GError,
3255     ) -> gboolean;
g_key_file_load_from_file( key_file: *mut GKeyFile, file: *const c_char, flags: GKeyFileFlags, error: *mut *mut GError, ) -> gboolean3256     pub fn g_key_file_load_from_file(
3257         key_file: *mut GKeyFile,
3258         file: *const c_char,
3259         flags: GKeyFileFlags,
3260         error: *mut *mut GError,
3261     ) -> gboolean;
g_key_file_ref(key_file: *mut GKeyFile) -> *mut GKeyFile3262     pub fn g_key_file_ref(key_file: *mut GKeyFile) -> *mut GKeyFile;
g_key_file_remove_comment( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, error: *mut *mut GError, ) -> gboolean3263     pub fn g_key_file_remove_comment(
3264         key_file: *mut GKeyFile,
3265         group_name: *const c_char,
3266         key: *const c_char,
3267         error: *mut *mut GError,
3268     ) -> gboolean;
g_key_file_remove_group( key_file: *mut GKeyFile, group_name: *const c_char, error: *mut *mut GError, ) -> gboolean3269     pub fn g_key_file_remove_group(
3270         key_file: *mut GKeyFile,
3271         group_name: *const c_char,
3272         error: *mut *mut GError,
3273     ) -> gboolean;
g_key_file_remove_key( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, error: *mut *mut GError, ) -> gboolean3274     pub fn g_key_file_remove_key(
3275         key_file: *mut GKeyFile,
3276         group_name: *const c_char,
3277         key: *const c_char,
3278         error: *mut *mut GError,
3279     ) -> gboolean;
g_key_file_save_to_file( key_file: *mut GKeyFile, filename: *const c_char, error: *mut *mut GError, ) -> gboolean3280     pub fn g_key_file_save_to_file(
3281         key_file: *mut GKeyFile,
3282         filename: *const c_char,
3283         error: *mut *mut GError,
3284     ) -> gboolean;
g_key_file_set_boolean( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, value: gboolean, )3285     pub fn g_key_file_set_boolean(
3286         key_file: *mut GKeyFile,
3287         group_name: *const c_char,
3288         key: *const c_char,
3289         value: gboolean,
3290     );
g_key_file_set_boolean_list( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, list: *mut gboolean, length: size_t, )3291     pub fn g_key_file_set_boolean_list(
3292         key_file: *mut GKeyFile,
3293         group_name: *const c_char,
3294         key: *const c_char,
3295         list: *mut gboolean,
3296         length: size_t,
3297     );
g_key_file_set_comment( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, comment: *const c_char, error: *mut *mut GError, ) -> gboolean3298     pub fn g_key_file_set_comment(
3299         key_file: *mut GKeyFile,
3300         group_name: *const c_char,
3301         key: *const c_char,
3302         comment: *const c_char,
3303         error: *mut *mut GError,
3304     ) -> gboolean;
g_key_file_set_double( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, value: c_double, )3305     pub fn g_key_file_set_double(
3306         key_file: *mut GKeyFile,
3307         group_name: *const c_char,
3308         key: *const c_char,
3309         value: c_double,
3310     );
g_key_file_set_double_list( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, list: *mut c_double, length: size_t, )3311     pub fn g_key_file_set_double_list(
3312         key_file: *mut GKeyFile,
3313         group_name: *const c_char,
3314         key: *const c_char,
3315         list: *mut c_double,
3316         length: size_t,
3317     );
g_key_file_set_int64( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, value: i64, )3318     pub fn g_key_file_set_int64(
3319         key_file: *mut GKeyFile,
3320         group_name: *const c_char,
3321         key: *const c_char,
3322         value: i64,
3323     );
g_key_file_set_integer( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, value: c_int, )3324     pub fn g_key_file_set_integer(
3325         key_file: *mut GKeyFile,
3326         group_name: *const c_char,
3327         key: *const c_char,
3328         value: c_int,
3329     );
g_key_file_set_integer_list( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, list: *mut c_int, length: size_t, )3330     pub fn g_key_file_set_integer_list(
3331         key_file: *mut GKeyFile,
3332         group_name: *const c_char,
3333         key: *const c_char,
3334         list: *mut c_int,
3335         length: size_t,
3336     );
g_key_file_set_list_separator(key_file: *mut GKeyFile, separator: c_char)3337     pub fn g_key_file_set_list_separator(key_file: *mut GKeyFile, separator: c_char);
g_key_file_set_locale_string( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, locale: *const c_char, string: *const c_char, )3338     pub fn g_key_file_set_locale_string(
3339         key_file: *mut GKeyFile,
3340         group_name: *const c_char,
3341         key: *const c_char,
3342         locale: *const c_char,
3343         string: *const c_char,
3344     );
g_key_file_set_locale_string_list( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, locale: *const c_char, list: *const *const c_char, length: size_t, )3345     pub fn g_key_file_set_locale_string_list(
3346         key_file: *mut GKeyFile,
3347         group_name: *const c_char,
3348         key: *const c_char,
3349         locale: *const c_char,
3350         list: *const *const c_char,
3351         length: size_t,
3352     );
g_key_file_set_string( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, string: *const c_char, )3353     pub fn g_key_file_set_string(
3354         key_file: *mut GKeyFile,
3355         group_name: *const c_char,
3356         key: *const c_char,
3357         string: *const c_char,
3358     );
g_key_file_set_string_list( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, list: *const *const c_char, length: size_t, )3359     pub fn g_key_file_set_string_list(
3360         key_file: *mut GKeyFile,
3361         group_name: *const c_char,
3362         key: *const c_char,
3363         list: *const *const c_char,
3364         length: size_t,
3365     );
g_key_file_set_uint64( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, value: u64, )3366     pub fn g_key_file_set_uint64(
3367         key_file: *mut GKeyFile,
3368         group_name: *const c_char,
3369         key: *const c_char,
3370         value: u64,
3371     );
g_key_file_set_value( key_file: *mut GKeyFile, group_name: *const c_char, key: *const c_char, value: *const c_char, )3372     pub fn g_key_file_set_value(
3373         key_file: *mut GKeyFile,
3374         group_name: *const c_char,
3375         key: *const c_char,
3376         value: *const c_char,
3377     );
g_key_file_to_data( key_file: *mut GKeyFile, length: *mut size_t, error: *mut *mut GError, ) -> *mut c_char3378     pub fn g_key_file_to_data(
3379         key_file: *mut GKeyFile,
3380         length: *mut size_t,
3381         error: *mut *mut GError,
3382     ) -> *mut c_char;
g_key_file_unref(key_file: *mut GKeyFile)3383     pub fn g_key_file_unref(key_file: *mut GKeyFile);
g_key_file_error_quark() -> GQuark3384     pub fn g_key_file_error_quark() -> GQuark;
3385 
3386     //=========================================================================
3387     // GList
3388     //=========================================================================
g_list_alloc() -> *mut GList3389     pub fn g_list_alloc() -> *mut GList;
g_list_append(list: *mut GList, data: gpointer) -> *mut GList3390     pub fn g_list_append(list: *mut GList, data: gpointer) -> *mut GList;
g_list_concat(list1: *mut GList, list2: *mut GList) -> *mut GList3391     pub fn g_list_concat(list1: *mut GList, list2: *mut GList) -> *mut GList;
g_list_copy(list: *mut GList) -> *mut GList3392     pub fn g_list_copy(list: *mut GList) -> *mut GList;
g_list_copy_deep(list: *mut GList, func: GCopyFunc, user_data: gpointer) -> *mut GList3393     pub fn g_list_copy_deep(list: *mut GList, func: GCopyFunc, user_data: gpointer) -> *mut GList;
g_list_delete_link(list: *mut GList, link_: *mut GList) -> *mut GList3394     pub fn g_list_delete_link(list: *mut GList, link_: *mut GList) -> *mut GList;
g_list_find(list: *mut GList, data: gconstpointer) -> *mut GList3395     pub fn g_list_find(list: *mut GList, data: gconstpointer) -> *mut GList;
g_list_find_custom( list: *mut GList, data: gconstpointer, func: GCompareFunc, ) -> *mut GList3396     pub fn g_list_find_custom(
3397         list: *mut GList,
3398         data: gconstpointer,
3399         func: GCompareFunc,
3400     ) -> *mut GList;
g_list_first(list: *mut GList) -> *mut GList3401     pub fn g_list_first(list: *mut GList) -> *mut GList;
g_list_foreach(list: *mut GList, func: GFunc, user_data: gpointer)3402     pub fn g_list_foreach(list: *mut GList, func: GFunc, user_data: gpointer);
g_list_free(list: *mut GList)3403     pub fn g_list_free(list: *mut GList);
g_list_free_1(list: *mut GList)3404     pub fn g_list_free_1(list: *mut GList);
g_list_free_full(list: *mut GList, free_func: GDestroyNotify)3405     pub fn g_list_free_full(list: *mut GList, free_func: GDestroyNotify);
g_list_index(list: *mut GList, data: gconstpointer) -> c_int3406     pub fn g_list_index(list: *mut GList, data: gconstpointer) -> c_int;
g_list_insert(list: *mut GList, data: gpointer, position: c_int) -> *mut GList3407     pub fn g_list_insert(list: *mut GList, data: gpointer, position: c_int) -> *mut GList;
g_list_insert_before( list: *mut GList, sibling: *mut GList, data: gpointer, ) -> *mut GList3408     pub fn g_list_insert_before(
3409         list: *mut GList,
3410         sibling: *mut GList,
3411         data: gpointer,
3412     ) -> *mut GList;
3413     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_list_insert_before_link( list: *mut GList, sibling: *mut GList, link_: *mut GList, ) -> *mut GList3414     pub fn g_list_insert_before_link(
3415         list: *mut GList,
3416         sibling: *mut GList,
3417         link_: *mut GList,
3418     ) -> *mut GList;
g_list_insert_sorted(list: *mut GList, data: gpointer, func: GCompareFunc) -> *mut GList3419     pub fn g_list_insert_sorted(list: *mut GList, data: gpointer, func: GCompareFunc)
3420         -> *mut GList;
g_list_insert_sorted_with_data( list: *mut GList, data: gpointer, func: GCompareDataFunc, user_data: gpointer, ) -> *mut GList3421     pub fn g_list_insert_sorted_with_data(
3422         list: *mut GList,
3423         data: gpointer,
3424         func: GCompareDataFunc,
3425         user_data: gpointer,
3426     ) -> *mut GList;
g_list_last(list: *mut GList) -> *mut GList3427     pub fn g_list_last(list: *mut GList) -> *mut GList;
g_list_length(list: *mut GList) -> c_uint3428     pub fn g_list_length(list: *mut GList) -> c_uint;
g_list_nth(list: *mut GList, n: c_uint) -> *mut GList3429     pub fn g_list_nth(list: *mut GList, n: c_uint) -> *mut GList;
g_list_nth_data(list: *mut GList, n: c_uint) -> gpointer3430     pub fn g_list_nth_data(list: *mut GList, n: c_uint) -> gpointer;
g_list_nth_prev(list: *mut GList, n: c_uint) -> *mut GList3431     pub fn g_list_nth_prev(list: *mut GList, n: c_uint) -> *mut GList;
g_list_position(list: *mut GList, llink: *mut GList) -> c_int3432     pub fn g_list_position(list: *mut GList, llink: *mut GList) -> c_int;
g_list_prepend(list: *mut GList, data: gpointer) -> *mut GList3433     pub fn g_list_prepend(list: *mut GList, data: gpointer) -> *mut GList;
g_list_remove(list: *mut GList, data: gconstpointer) -> *mut GList3434     pub fn g_list_remove(list: *mut GList, data: gconstpointer) -> *mut GList;
g_list_remove_all(list: *mut GList, data: gconstpointer) -> *mut GList3435     pub fn g_list_remove_all(list: *mut GList, data: gconstpointer) -> *mut GList;
g_list_remove_link(list: *mut GList, llink: *mut GList) -> *mut GList3436     pub fn g_list_remove_link(list: *mut GList, llink: *mut GList) -> *mut GList;
g_list_reverse(list: *mut GList) -> *mut GList3437     pub fn g_list_reverse(list: *mut GList) -> *mut GList;
g_list_sort(list: *mut GList, compare_func: GCompareFunc) -> *mut GList3438     pub fn g_list_sort(list: *mut GList, compare_func: GCompareFunc) -> *mut GList;
g_list_sort_with_data( list: *mut GList, compare_func: GCompareDataFunc, user_data: gpointer, ) -> *mut GList3439     pub fn g_list_sort_with_data(
3440         list: *mut GList,
3441         compare_func: GCompareDataFunc,
3442         user_data: gpointer,
3443     ) -> *mut GList;
3444 
3445     //=========================================================================
3446     // GMainContext
3447     //=========================================================================
g_main_context_get_type() -> GType3448     pub fn g_main_context_get_type() -> GType;
g_main_context_new() -> *mut GMainContext3449     pub fn g_main_context_new() -> *mut GMainContext;
g_main_context_acquire(context: *mut GMainContext) -> gboolean3450     pub fn g_main_context_acquire(context: *mut GMainContext) -> gboolean;
g_main_context_add_poll(context: *mut GMainContext, fd: *mut GPollFD, priority: c_int)3451     pub fn g_main_context_add_poll(context: *mut GMainContext, fd: *mut GPollFD, priority: c_int);
g_main_context_check( context: *mut GMainContext, max_priority: c_int, fds: *mut GPollFD, n_fds: c_int, ) -> gboolean3452     pub fn g_main_context_check(
3453         context: *mut GMainContext,
3454         max_priority: c_int,
3455         fds: *mut GPollFD,
3456         n_fds: c_int,
3457     ) -> gboolean;
g_main_context_dispatch(context: *mut GMainContext)3458     pub fn g_main_context_dispatch(context: *mut GMainContext);
g_main_context_find_source_by_funcs_user_data( context: *mut GMainContext, funcs: *mut GSourceFuncs, user_data: gpointer, ) -> *mut GSource3459     pub fn g_main_context_find_source_by_funcs_user_data(
3460         context: *mut GMainContext,
3461         funcs: *mut GSourceFuncs,
3462         user_data: gpointer,
3463     ) -> *mut GSource;
g_main_context_find_source_by_id( context: *mut GMainContext, source_id: c_uint, ) -> *mut GSource3464     pub fn g_main_context_find_source_by_id(
3465         context: *mut GMainContext,
3466         source_id: c_uint,
3467     ) -> *mut GSource;
g_main_context_find_source_by_user_data( context: *mut GMainContext, user_data: gpointer, ) -> *mut GSource3468     pub fn g_main_context_find_source_by_user_data(
3469         context: *mut GMainContext,
3470         user_data: gpointer,
3471     ) -> *mut GSource;
g_main_context_get_poll_func(context: *mut GMainContext) -> GPollFunc3472     pub fn g_main_context_get_poll_func(context: *mut GMainContext) -> GPollFunc;
g_main_context_invoke(context: *mut GMainContext, function: GSourceFunc, data: gpointer)3473     pub fn g_main_context_invoke(context: *mut GMainContext, function: GSourceFunc, data: gpointer);
g_main_context_invoke_full( context: *mut GMainContext, priority: c_int, function: GSourceFunc, data: gpointer, notify: GDestroyNotify, )3474     pub fn g_main_context_invoke_full(
3475         context: *mut GMainContext,
3476         priority: c_int,
3477         function: GSourceFunc,
3478         data: gpointer,
3479         notify: GDestroyNotify,
3480     );
g_main_context_is_owner(context: *mut GMainContext) -> gboolean3481     pub fn g_main_context_is_owner(context: *mut GMainContext) -> gboolean;
g_main_context_iteration(context: *mut GMainContext, may_block: gboolean) -> gboolean3482     pub fn g_main_context_iteration(context: *mut GMainContext, may_block: gboolean) -> gboolean;
g_main_context_pending(context: *mut GMainContext) -> gboolean3483     pub fn g_main_context_pending(context: *mut GMainContext) -> gboolean;
g_main_context_pop_thread_default(context: *mut GMainContext)3484     pub fn g_main_context_pop_thread_default(context: *mut GMainContext);
g_main_context_prepare(context: *mut GMainContext, priority: *mut c_int) -> gboolean3485     pub fn g_main_context_prepare(context: *mut GMainContext, priority: *mut c_int) -> gboolean;
g_main_context_push_thread_default(context: *mut GMainContext)3486     pub fn g_main_context_push_thread_default(context: *mut GMainContext);
g_main_context_query( context: *mut GMainContext, max_priority: c_int, timeout_: *mut c_int, fds: *mut GPollFD, n_fds: c_int, ) -> c_int3487     pub fn g_main_context_query(
3488         context: *mut GMainContext,
3489         max_priority: c_int,
3490         timeout_: *mut c_int,
3491         fds: *mut GPollFD,
3492         n_fds: c_int,
3493     ) -> c_int;
g_main_context_ref(context: *mut GMainContext) -> *mut GMainContext3494     pub fn g_main_context_ref(context: *mut GMainContext) -> *mut GMainContext;
g_main_context_release(context: *mut GMainContext)3495     pub fn g_main_context_release(context: *mut GMainContext);
g_main_context_remove_poll(context: *mut GMainContext, fd: *mut GPollFD)3496     pub fn g_main_context_remove_poll(context: *mut GMainContext, fd: *mut GPollFD);
g_main_context_set_poll_func(context: *mut GMainContext, func: GPollFunc)3497     pub fn g_main_context_set_poll_func(context: *mut GMainContext, func: GPollFunc);
g_main_context_unref(context: *mut GMainContext)3498     pub fn g_main_context_unref(context: *mut GMainContext);
g_main_context_wait( context: *mut GMainContext, cond: *mut GCond, mutex: *mut GMutex, ) -> gboolean3499     pub fn g_main_context_wait(
3500         context: *mut GMainContext,
3501         cond: *mut GCond,
3502         mutex: *mut GMutex,
3503     ) -> gboolean;
g_main_context_wakeup(context: *mut GMainContext)3504     pub fn g_main_context_wakeup(context: *mut GMainContext);
g_main_context_default() -> *mut GMainContext3505     pub fn g_main_context_default() -> *mut GMainContext;
g_main_context_get_thread_default() -> *mut GMainContext3506     pub fn g_main_context_get_thread_default() -> *mut GMainContext;
g_main_context_ref_thread_default() -> *mut GMainContext3507     pub fn g_main_context_ref_thread_default() -> *mut GMainContext;
3508 
3509     //=========================================================================
3510     // GMainLoop
3511     //=========================================================================
g_main_loop_get_type() -> GType3512     pub fn g_main_loop_get_type() -> GType;
g_main_loop_new(context: *mut GMainContext, is_running: gboolean) -> *mut GMainLoop3513     pub fn g_main_loop_new(context: *mut GMainContext, is_running: gboolean) -> *mut GMainLoop;
g_main_loop_get_context(loop_: *mut GMainLoop) -> *mut GMainContext3514     pub fn g_main_loop_get_context(loop_: *mut GMainLoop) -> *mut GMainContext;
g_main_loop_is_running(loop_: *mut GMainLoop) -> gboolean3515     pub fn g_main_loop_is_running(loop_: *mut GMainLoop) -> gboolean;
g_main_loop_quit(loop_: *mut GMainLoop)3516     pub fn g_main_loop_quit(loop_: *mut GMainLoop);
g_main_loop_ref(loop_: *mut GMainLoop) -> *mut GMainLoop3517     pub fn g_main_loop_ref(loop_: *mut GMainLoop) -> *mut GMainLoop;
g_main_loop_run(loop_: *mut GMainLoop)3518     pub fn g_main_loop_run(loop_: *mut GMainLoop);
g_main_loop_unref(loop_: *mut GMainLoop)3519     pub fn g_main_loop_unref(loop_: *mut GMainLoop);
3520 
3521     //=========================================================================
3522     // GMappedFile
3523     //=========================================================================
g_mapped_file_get_type() -> GType3524     pub fn g_mapped_file_get_type() -> GType;
g_mapped_file_new( filename: *const c_char, writable: gboolean, error: *mut *mut GError, ) -> *mut GMappedFile3525     pub fn g_mapped_file_new(
3526         filename: *const c_char,
3527         writable: gboolean,
3528         error: *mut *mut GError,
3529     ) -> *mut GMappedFile;
g_mapped_file_new_from_fd( fd: c_int, writable: gboolean, error: *mut *mut GError, ) -> *mut GMappedFile3530     pub fn g_mapped_file_new_from_fd(
3531         fd: c_int,
3532         writable: gboolean,
3533         error: *mut *mut GError,
3534     ) -> *mut GMappedFile;
g_mapped_file_free(file: *mut GMappedFile)3535     pub fn g_mapped_file_free(file: *mut GMappedFile);
g_mapped_file_get_bytes(file: *mut GMappedFile) -> *mut GBytes3536     pub fn g_mapped_file_get_bytes(file: *mut GMappedFile) -> *mut GBytes;
g_mapped_file_get_contents(file: *mut GMappedFile) -> *mut c_char3537     pub fn g_mapped_file_get_contents(file: *mut GMappedFile) -> *mut c_char;
g_mapped_file_get_length(file: *mut GMappedFile) -> size_t3538     pub fn g_mapped_file_get_length(file: *mut GMappedFile) -> size_t;
g_mapped_file_ref(file: *mut GMappedFile) -> *mut GMappedFile3539     pub fn g_mapped_file_ref(file: *mut GMappedFile) -> *mut GMappedFile;
g_mapped_file_unref(file: *mut GMappedFile)3540     pub fn g_mapped_file_unref(file: *mut GMappedFile);
3541 
3542     //=========================================================================
3543     // GMarkupParseContext
3544     //=========================================================================
g_markup_parse_context_get_type() -> GType3545     pub fn g_markup_parse_context_get_type() -> GType;
g_markup_parse_context_new( parser: *const GMarkupParser, flags: GMarkupParseFlags, user_data: gpointer, user_data_dnotify: GDestroyNotify, ) -> *mut GMarkupParseContext3546     pub fn g_markup_parse_context_new(
3547         parser: *const GMarkupParser,
3548         flags: GMarkupParseFlags,
3549         user_data: gpointer,
3550         user_data_dnotify: GDestroyNotify,
3551     ) -> *mut GMarkupParseContext;
g_markup_parse_context_end_parse( context: *mut GMarkupParseContext, error: *mut *mut GError, ) -> gboolean3552     pub fn g_markup_parse_context_end_parse(
3553         context: *mut GMarkupParseContext,
3554         error: *mut *mut GError,
3555     ) -> gboolean;
g_markup_parse_context_free(context: *mut GMarkupParseContext)3556     pub fn g_markup_parse_context_free(context: *mut GMarkupParseContext);
g_markup_parse_context_get_element(context: *mut GMarkupParseContext) -> *const c_char3557     pub fn g_markup_parse_context_get_element(context: *mut GMarkupParseContext) -> *const c_char;
g_markup_parse_context_get_element_stack( context: *mut GMarkupParseContext, ) -> *const GSList3558     pub fn g_markup_parse_context_get_element_stack(
3559         context: *mut GMarkupParseContext,
3560     ) -> *const GSList;
g_markup_parse_context_get_position( context: *mut GMarkupParseContext, line_number: *mut c_int, char_number: *mut c_int, )3561     pub fn g_markup_parse_context_get_position(
3562         context: *mut GMarkupParseContext,
3563         line_number: *mut c_int,
3564         char_number: *mut c_int,
3565     );
g_markup_parse_context_get_user_data(context: *mut GMarkupParseContext) -> gpointer3566     pub fn g_markup_parse_context_get_user_data(context: *mut GMarkupParseContext) -> gpointer;
g_markup_parse_context_parse( context: *mut GMarkupParseContext, text: *const c_char, text_len: ssize_t, error: *mut *mut GError, ) -> gboolean3567     pub fn g_markup_parse_context_parse(
3568         context: *mut GMarkupParseContext,
3569         text: *const c_char,
3570         text_len: ssize_t,
3571         error: *mut *mut GError,
3572     ) -> gboolean;
g_markup_parse_context_pop(context: *mut GMarkupParseContext) -> gpointer3573     pub fn g_markup_parse_context_pop(context: *mut GMarkupParseContext) -> gpointer;
g_markup_parse_context_push( context: *mut GMarkupParseContext, parser: *const GMarkupParser, user_data: gpointer, )3574     pub fn g_markup_parse_context_push(
3575         context: *mut GMarkupParseContext,
3576         parser: *const GMarkupParser,
3577         user_data: gpointer,
3578     );
g_markup_parse_context_ref( context: *mut GMarkupParseContext, ) -> *mut GMarkupParseContext3579     pub fn g_markup_parse_context_ref(
3580         context: *mut GMarkupParseContext,
3581     ) -> *mut GMarkupParseContext;
g_markup_parse_context_unref(context: *mut GMarkupParseContext)3582     pub fn g_markup_parse_context_unref(context: *mut GMarkupParseContext);
3583 
3584     //=========================================================================
3585     // GMatchInfo
3586     //=========================================================================
g_match_info_get_type() -> GType3587     pub fn g_match_info_get_type() -> GType;
g_match_info_expand_references( match_info: *const GMatchInfo, string_to_expand: *const c_char, error: *mut *mut GError, ) -> *mut c_char3588     pub fn g_match_info_expand_references(
3589         match_info: *const GMatchInfo,
3590         string_to_expand: *const c_char,
3591         error: *mut *mut GError,
3592     ) -> *mut c_char;
g_match_info_fetch(match_info: *const GMatchInfo, match_num: c_int) -> *mut c_char3593     pub fn g_match_info_fetch(match_info: *const GMatchInfo, match_num: c_int) -> *mut c_char;
g_match_info_fetch_all(match_info: *const GMatchInfo) -> *mut *mut c_char3594     pub fn g_match_info_fetch_all(match_info: *const GMatchInfo) -> *mut *mut c_char;
g_match_info_fetch_named( match_info: *const GMatchInfo, name: *const c_char, ) -> *mut c_char3595     pub fn g_match_info_fetch_named(
3596         match_info: *const GMatchInfo,
3597         name: *const c_char,
3598     ) -> *mut c_char;
g_match_info_fetch_named_pos( match_info: *const GMatchInfo, name: *const c_char, start_pos: *mut c_int, end_pos: *mut c_int, ) -> gboolean3599     pub fn g_match_info_fetch_named_pos(
3600         match_info: *const GMatchInfo,
3601         name: *const c_char,
3602         start_pos: *mut c_int,
3603         end_pos: *mut c_int,
3604     ) -> gboolean;
g_match_info_fetch_pos( match_info: *const GMatchInfo, match_num: c_int, start_pos: *mut c_int, end_pos: *mut c_int, ) -> gboolean3605     pub fn g_match_info_fetch_pos(
3606         match_info: *const GMatchInfo,
3607         match_num: c_int,
3608         start_pos: *mut c_int,
3609         end_pos: *mut c_int,
3610     ) -> gboolean;
g_match_info_free(match_info: *mut GMatchInfo)3611     pub fn g_match_info_free(match_info: *mut GMatchInfo);
g_match_info_get_match_count(match_info: *const GMatchInfo) -> c_int3612     pub fn g_match_info_get_match_count(match_info: *const GMatchInfo) -> c_int;
g_match_info_get_regex(match_info: *const GMatchInfo) -> *mut GRegex3613     pub fn g_match_info_get_regex(match_info: *const GMatchInfo) -> *mut GRegex;
g_match_info_get_string(match_info: *const GMatchInfo) -> *const c_char3614     pub fn g_match_info_get_string(match_info: *const GMatchInfo) -> *const c_char;
g_match_info_is_partial_match(match_info: *const GMatchInfo) -> gboolean3615     pub fn g_match_info_is_partial_match(match_info: *const GMatchInfo) -> gboolean;
g_match_info_matches(match_info: *const GMatchInfo) -> gboolean3616     pub fn g_match_info_matches(match_info: *const GMatchInfo) -> gboolean;
g_match_info_next(match_info: *mut GMatchInfo, error: *mut *mut GError) -> gboolean3617     pub fn g_match_info_next(match_info: *mut GMatchInfo, error: *mut *mut GError) -> gboolean;
g_match_info_ref(match_info: *mut GMatchInfo) -> *mut GMatchInfo3618     pub fn g_match_info_ref(match_info: *mut GMatchInfo) -> *mut GMatchInfo;
g_match_info_unref(match_info: *mut GMatchInfo)3619     pub fn g_match_info_unref(match_info: *mut GMatchInfo);
3620 
3621     //=========================================================================
3622     // GNode
3623     //=========================================================================
g_node_child_index(node: *mut GNode, data: gpointer) -> c_int3624     pub fn g_node_child_index(node: *mut GNode, data: gpointer) -> c_int;
g_node_child_position(node: *mut GNode, child: *mut GNode) -> c_int3625     pub fn g_node_child_position(node: *mut GNode, child: *mut GNode) -> c_int;
g_node_children_foreach( node: *mut GNode, flags: GTraverseFlags, func: GNodeForeachFunc, data: gpointer, )3626     pub fn g_node_children_foreach(
3627         node: *mut GNode,
3628         flags: GTraverseFlags,
3629         func: GNodeForeachFunc,
3630         data: gpointer,
3631     );
g_node_copy(node: *mut GNode) -> *mut GNode3632     pub fn g_node_copy(node: *mut GNode) -> *mut GNode;
g_node_copy_deep(node: *mut GNode, copy_func: GCopyFunc, data: gpointer) -> *mut GNode3633     pub fn g_node_copy_deep(node: *mut GNode, copy_func: GCopyFunc, data: gpointer) -> *mut GNode;
g_node_depth(node: *mut GNode) -> c_uint3634     pub fn g_node_depth(node: *mut GNode) -> c_uint;
g_node_destroy(root: *mut GNode)3635     pub fn g_node_destroy(root: *mut GNode);
g_node_find( root: *mut GNode, order: GTraverseType, flags: GTraverseFlags, data: gpointer, ) -> *mut GNode3636     pub fn g_node_find(
3637         root: *mut GNode,
3638         order: GTraverseType,
3639         flags: GTraverseFlags,
3640         data: gpointer,
3641     ) -> *mut GNode;
g_node_find_child(node: *mut GNode, flags: GTraverseFlags, data: gpointer) -> *mut GNode3642     pub fn g_node_find_child(node: *mut GNode, flags: GTraverseFlags, data: gpointer)
3643         -> *mut GNode;
g_node_first_sibling(node: *mut GNode) -> *mut GNode3644     pub fn g_node_first_sibling(node: *mut GNode) -> *mut GNode;
g_node_get_root(node: *mut GNode) -> *mut GNode3645     pub fn g_node_get_root(node: *mut GNode) -> *mut GNode;
g_node_insert(parent: *mut GNode, position: c_int, node: *mut GNode) -> *mut GNode3646     pub fn g_node_insert(parent: *mut GNode, position: c_int, node: *mut GNode) -> *mut GNode;
g_node_insert_after( parent: *mut GNode, sibling: *mut GNode, node: *mut GNode, ) -> *mut GNode3647     pub fn g_node_insert_after(
3648         parent: *mut GNode,
3649         sibling: *mut GNode,
3650         node: *mut GNode,
3651     ) -> *mut GNode;
g_node_insert_before( parent: *mut GNode, sibling: *mut GNode, node: *mut GNode, ) -> *mut GNode3652     pub fn g_node_insert_before(
3653         parent: *mut GNode,
3654         sibling: *mut GNode,
3655         node: *mut GNode,
3656     ) -> *mut GNode;
g_node_is_ancestor(node: *mut GNode, descendant: *mut GNode) -> gboolean3657     pub fn g_node_is_ancestor(node: *mut GNode, descendant: *mut GNode) -> gboolean;
g_node_last_child(node: *mut GNode) -> *mut GNode3658     pub fn g_node_last_child(node: *mut GNode) -> *mut GNode;
g_node_last_sibling(node: *mut GNode) -> *mut GNode3659     pub fn g_node_last_sibling(node: *mut GNode) -> *mut GNode;
g_node_max_height(root: *mut GNode) -> c_uint3660     pub fn g_node_max_height(root: *mut GNode) -> c_uint;
g_node_n_children(node: *mut GNode) -> c_uint3661     pub fn g_node_n_children(node: *mut GNode) -> c_uint;
g_node_n_nodes(root: *mut GNode, flags: GTraverseFlags) -> c_uint3662     pub fn g_node_n_nodes(root: *mut GNode, flags: GTraverseFlags) -> c_uint;
g_node_nth_child(node: *mut GNode, n: c_uint) -> *mut GNode3663     pub fn g_node_nth_child(node: *mut GNode, n: c_uint) -> *mut GNode;
g_node_prepend(parent: *mut GNode, node: *mut GNode) -> *mut GNode3664     pub fn g_node_prepend(parent: *mut GNode, node: *mut GNode) -> *mut GNode;
g_node_reverse_children(node: *mut GNode)3665     pub fn g_node_reverse_children(node: *mut GNode);
g_node_traverse( root: *mut GNode, order: GTraverseType, flags: GTraverseFlags, max_depth: c_int, func: GNodeTraverseFunc, data: gpointer, )3666     pub fn g_node_traverse(
3667         root: *mut GNode,
3668         order: GTraverseType,
3669         flags: GTraverseFlags,
3670         max_depth: c_int,
3671         func: GNodeTraverseFunc,
3672         data: gpointer,
3673     );
g_node_unlink(node: *mut GNode)3674     pub fn g_node_unlink(node: *mut GNode);
g_node_new(data: gpointer) -> *mut GNode3675     pub fn g_node_new(data: gpointer) -> *mut GNode;
3676 
3677     //=========================================================================
3678     // GOnce
3679     //=========================================================================
g_once_impl(once: *mut GOnce, func: GThreadFunc, arg: gpointer) -> gpointer3680     pub fn g_once_impl(once: *mut GOnce, func: GThreadFunc, arg: gpointer) -> gpointer;
g_once_init_enter(location: *mut c_void) -> gboolean3681     pub fn g_once_init_enter(location: *mut c_void) -> gboolean;
g_once_init_leave(location: *mut c_void, result: size_t)3682     pub fn g_once_init_leave(location: *mut c_void, result: size_t);
3683 
3684     //=========================================================================
3685     // GOptionContext
3686     //=========================================================================
g_option_context_add_group(context: *mut GOptionContext, group: *mut GOptionGroup)3687     pub fn g_option_context_add_group(context: *mut GOptionContext, group: *mut GOptionGroup);
g_option_context_add_main_entries( context: *mut GOptionContext, entries: *const GOptionEntry, translation_domain: *const c_char, )3688     pub fn g_option_context_add_main_entries(
3689         context: *mut GOptionContext,
3690         entries: *const GOptionEntry,
3691         translation_domain: *const c_char,
3692     );
g_option_context_free(context: *mut GOptionContext)3693     pub fn g_option_context_free(context: *mut GOptionContext);
g_option_context_get_description(context: *mut GOptionContext) -> *const c_char3694     pub fn g_option_context_get_description(context: *mut GOptionContext) -> *const c_char;
g_option_context_get_help( context: *mut GOptionContext, main_help: gboolean, group: *mut GOptionGroup, ) -> *mut c_char3695     pub fn g_option_context_get_help(
3696         context: *mut GOptionContext,
3697         main_help: gboolean,
3698         group: *mut GOptionGroup,
3699     ) -> *mut c_char;
g_option_context_get_help_enabled(context: *mut GOptionContext) -> gboolean3700     pub fn g_option_context_get_help_enabled(context: *mut GOptionContext) -> gboolean;
g_option_context_get_ignore_unknown_options(context: *mut GOptionContext) -> gboolean3701     pub fn g_option_context_get_ignore_unknown_options(context: *mut GOptionContext) -> gboolean;
g_option_context_get_main_group(context: *mut GOptionContext) -> *mut GOptionGroup3702     pub fn g_option_context_get_main_group(context: *mut GOptionContext) -> *mut GOptionGroup;
3703     #[cfg(any(feature = "v2_44", feature = "dox"))]
g_option_context_get_strict_posix(context: *mut GOptionContext) -> gboolean3704     pub fn g_option_context_get_strict_posix(context: *mut GOptionContext) -> gboolean;
g_option_context_get_summary(context: *mut GOptionContext) -> *const c_char3705     pub fn g_option_context_get_summary(context: *mut GOptionContext) -> *const c_char;
g_option_context_parse( context: *mut GOptionContext, argc: *mut c_int, argv: *mut *mut *mut c_char, error: *mut *mut GError, ) -> gboolean3706     pub fn g_option_context_parse(
3707         context: *mut GOptionContext,
3708         argc: *mut c_int,
3709         argv: *mut *mut *mut c_char,
3710         error: *mut *mut GError,
3711     ) -> gboolean;
g_option_context_parse_strv( context: *mut GOptionContext, arguments: *mut *mut *mut c_char, error: *mut *mut GError, ) -> gboolean3712     pub fn g_option_context_parse_strv(
3713         context: *mut GOptionContext,
3714         arguments: *mut *mut *mut c_char,
3715         error: *mut *mut GError,
3716     ) -> gboolean;
g_option_context_set_description( context: *mut GOptionContext, description: *const c_char, )3717     pub fn g_option_context_set_description(
3718         context: *mut GOptionContext,
3719         description: *const c_char,
3720     );
g_option_context_set_help_enabled(context: *mut GOptionContext, help_enabled: gboolean)3721     pub fn g_option_context_set_help_enabled(context: *mut GOptionContext, help_enabled: gboolean);
g_option_context_set_ignore_unknown_options( context: *mut GOptionContext, ignore_unknown: gboolean, )3722     pub fn g_option_context_set_ignore_unknown_options(
3723         context: *mut GOptionContext,
3724         ignore_unknown: gboolean,
3725     );
g_option_context_set_main_group(context: *mut GOptionContext, group: *mut GOptionGroup)3726     pub fn g_option_context_set_main_group(context: *mut GOptionContext, group: *mut GOptionGroup);
3727     #[cfg(any(feature = "v2_44", feature = "dox"))]
g_option_context_set_strict_posix(context: *mut GOptionContext, strict_posix: gboolean)3728     pub fn g_option_context_set_strict_posix(context: *mut GOptionContext, strict_posix: gboolean);
g_option_context_set_summary(context: *mut GOptionContext, summary: *const c_char)3729     pub fn g_option_context_set_summary(context: *mut GOptionContext, summary: *const c_char);
g_option_context_set_translate_func( context: *mut GOptionContext, func: GTranslateFunc, data: gpointer, destroy_notify: GDestroyNotify, )3730     pub fn g_option_context_set_translate_func(
3731         context: *mut GOptionContext,
3732         func: GTranslateFunc,
3733         data: gpointer,
3734         destroy_notify: GDestroyNotify,
3735     );
g_option_context_set_translation_domain( context: *mut GOptionContext, domain: *const c_char, )3736     pub fn g_option_context_set_translation_domain(
3737         context: *mut GOptionContext,
3738         domain: *const c_char,
3739     );
g_option_context_new(parameter_string: *const c_char) -> *mut GOptionContext3740     pub fn g_option_context_new(parameter_string: *const c_char) -> *mut GOptionContext;
3741 
3742     //=========================================================================
3743     // GOptionGroup
3744     //=========================================================================
g_option_group_get_type() -> GType3745     pub fn g_option_group_get_type() -> GType;
g_option_group_new( name: *const c_char, description: *const c_char, help_description: *const c_char, user_data: gpointer, destroy: GDestroyNotify, ) -> *mut GOptionGroup3746     pub fn g_option_group_new(
3747         name: *const c_char,
3748         description: *const c_char,
3749         help_description: *const c_char,
3750         user_data: gpointer,
3751         destroy: GDestroyNotify,
3752     ) -> *mut GOptionGroup;
g_option_group_add_entries(group: *mut GOptionGroup, entries: *const GOptionEntry)3753     pub fn g_option_group_add_entries(group: *mut GOptionGroup, entries: *const GOptionEntry);
g_option_group_free(group: *mut GOptionGroup)3754     pub fn g_option_group_free(group: *mut GOptionGroup);
3755     #[cfg(any(feature = "v2_44", feature = "dox"))]
g_option_group_ref(group: *mut GOptionGroup) -> *mut GOptionGroup3756     pub fn g_option_group_ref(group: *mut GOptionGroup) -> *mut GOptionGroup;
g_option_group_set_error_hook(group: *mut GOptionGroup, error_func: GOptionErrorFunc)3757     pub fn g_option_group_set_error_hook(group: *mut GOptionGroup, error_func: GOptionErrorFunc);
g_option_group_set_parse_hooks( group: *mut GOptionGroup, pre_parse_func: GOptionParseFunc, post_parse_func: GOptionParseFunc, )3758     pub fn g_option_group_set_parse_hooks(
3759         group: *mut GOptionGroup,
3760         pre_parse_func: GOptionParseFunc,
3761         post_parse_func: GOptionParseFunc,
3762     );
g_option_group_set_translate_func( group: *mut GOptionGroup, func: GTranslateFunc, data: gpointer, destroy_notify: GDestroyNotify, )3763     pub fn g_option_group_set_translate_func(
3764         group: *mut GOptionGroup,
3765         func: GTranslateFunc,
3766         data: gpointer,
3767         destroy_notify: GDestroyNotify,
3768     );
g_option_group_set_translation_domain(group: *mut GOptionGroup, domain: *const c_char)3769     pub fn g_option_group_set_translation_domain(group: *mut GOptionGroup, domain: *const c_char);
3770     #[cfg(any(feature = "v2_44", feature = "dox"))]
g_option_group_unref(group: *mut GOptionGroup)3771     pub fn g_option_group_unref(group: *mut GOptionGroup);
3772 
3773     //=========================================================================
3774     // GPatternSpec
3775     //=========================================================================
g_pattern_spec_equal(pspec1: *mut GPatternSpec, pspec2: *mut GPatternSpec) -> gboolean3776     pub fn g_pattern_spec_equal(pspec1: *mut GPatternSpec, pspec2: *mut GPatternSpec) -> gboolean;
g_pattern_spec_free(pspec: *mut GPatternSpec)3777     pub fn g_pattern_spec_free(pspec: *mut GPatternSpec);
g_pattern_spec_new(pattern: *const c_char) -> *mut GPatternSpec3778     pub fn g_pattern_spec_new(pattern: *const c_char) -> *mut GPatternSpec;
3779 
3780     //=========================================================================
3781     // GPollFD
3782     //=========================================================================
g_pollfd_get_type() -> GType3783     pub fn g_pollfd_get_type() -> GType;
3784 
3785     //=========================================================================
3786     // GPrivate
3787     //=========================================================================
g_private_get(key: *mut GPrivate) -> gpointer3788     pub fn g_private_get(key: *mut GPrivate) -> gpointer;
g_private_replace(key: *mut GPrivate, value: gpointer)3789     pub fn g_private_replace(key: *mut GPrivate, value: gpointer);
g_private_set(key: *mut GPrivate, value: gpointer)3790     pub fn g_private_set(key: *mut GPrivate, value: gpointer);
3791 
3792     //=========================================================================
3793     // GPtrArray
3794     //=========================================================================
g_ptr_array_get_type() -> GType3795     pub fn g_ptr_array_get_type() -> GType;
g_ptr_array_add(array: *mut GPtrArray, data: gpointer)3796     pub fn g_ptr_array_add(array: *mut GPtrArray, data: gpointer);
3797     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_ptr_array_copy( array: *mut GPtrArray, func: GCopyFunc, user_data: gpointer, ) -> *mut GPtrArray3798     pub fn g_ptr_array_copy(
3799         array: *mut GPtrArray,
3800         func: GCopyFunc,
3801         user_data: gpointer,
3802     ) -> *mut GPtrArray;
3803     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_ptr_array_extend( array_to_extend: *mut GPtrArray, array: *mut GPtrArray, func: GCopyFunc, user_data: gpointer, )3804     pub fn g_ptr_array_extend(
3805         array_to_extend: *mut GPtrArray,
3806         array: *mut GPtrArray,
3807         func: GCopyFunc,
3808         user_data: gpointer,
3809     );
3810     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_ptr_array_extend_and_steal(array_to_extend: *mut GPtrArray, array: *mut GPtrArray)3811     pub fn g_ptr_array_extend_and_steal(array_to_extend: *mut GPtrArray, array: *mut GPtrArray);
3812     #[cfg(any(feature = "v2_54", feature = "dox"))]
g_ptr_array_find( haystack: *mut GPtrArray, needle: gconstpointer, index_: *mut c_uint, ) -> gboolean3813     pub fn g_ptr_array_find(
3814         haystack: *mut GPtrArray,
3815         needle: gconstpointer,
3816         index_: *mut c_uint,
3817     ) -> gboolean;
3818     #[cfg(any(feature = "v2_54", feature = "dox"))]
g_ptr_array_find_with_equal_func( haystack: *mut GPtrArray, needle: gconstpointer, equal_func: GEqualFunc, index_: *mut c_uint, ) -> gboolean3819     pub fn g_ptr_array_find_with_equal_func(
3820         haystack: *mut GPtrArray,
3821         needle: gconstpointer,
3822         equal_func: GEqualFunc,
3823         index_: *mut c_uint,
3824     ) -> gboolean;
g_ptr_array_foreach(array: *mut GPtrArray, func: GFunc, user_data: gpointer)3825     pub fn g_ptr_array_foreach(array: *mut GPtrArray, func: GFunc, user_data: gpointer);
g_ptr_array_free(array: *mut GPtrArray, free_seg: gboolean) -> *mut gpointer3826     pub fn g_ptr_array_free(array: *mut GPtrArray, free_seg: gboolean) -> *mut gpointer;
g_ptr_array_insert(array: *mut GPtrArray, index_: c_int, data: gpointer)3827     pub fn g_ptr_array_insert(array: *mut GPtrArray, index_: c_int, data: gpointer);
g_ptr_array_new() -> *mut GPtrArray3828     pub fn g_ptr_array_new() -> *mut GPtrArray;
g_ptr_array_new_full( reserved_size: c_uint, element_free_func: GDestroyNotify, ) -> *mut GPtrArray3829     pub fn g_ptr_array_new_full(
3830         reserved_size: c_uint,
3831         element_free_func: GDestroyNotify,
3832     ) -> *mut GPtrArray;
g_ptr_array_new_with_free_func(element_free_func: GDestroyNotify) -> *mut GPtrArray3833     pub fn g_ptr_array_new_with_free_func(element_free_func: GDestroyNotify) -> *mut GPtrArray;
g_ptr_array_ref(array: *mut GPtrArray) -> *mut GPtrArray3834     pub fn g_ptr_array_ref(array: *mut GPtrArray) -> *mut GPtrArray;
g_ptr_array_remove(array: *mut GPtrArray, data: gpointer) -> gboolean3835     pub fn g_ptr_array_remove(array: *mut GPtrArray, data: gpointer) -> gboolean;
g_ptr_array_remove_fast(array: *mut GPtrArray, data: gpointer) -> gboolean3836     pub fn g_ptr_array_remove_fast(array: *mut GPtrArray, data: gpointer) -> gboolean;
g_ptr_array_remove_index(array: *mut GPtrArray, index_: c_uint) -> gpointer3837     pub fn g_ptr_array_remove_index(array: *mut GPtrArray, index_: c_uint) -> gpointer;
g_ptr_array_remove_index_fast(array: *mut GPtrArray, index_: c_uint) -> gpointer3838     pub fn g_ptr_array_remove_index_fast(array: *mut GPtrArray, index_: c_uint) -> gpointer;
g_ptr_array_remove_range( array: *mut GPtrArray, index_: c_uint, length: c_uint, ) -> *mut GPtrArray3839     pub fn g_ptr_array_remove_range(
3840         array: *mut GPtrArray,
3841         index_: c_uint,
3842         length: c_uint,
3843     ) -> *mut GPtrArray;
g_ptr_array_set_free_func(array: *mut GPtrArray, element_free_func: GDestroyNotify)3844     pub fn g_ptr_array_set_free_func(array: *mut GPtrArray, element_free_func: GDestroyNotify);
g_ptr_array_set_size(array: *mut GPtrArray, length: c_int)3845     pub fn g_ptr_array_set_size(array: *mut GPtrArray, length: c_int);
g_ptr_array_sized_new(reserved_size: c_uint) -> *mut GPtrArray3846     pub fn g_ptr_array_sized_new(reserved_size: c_uint) -> *mut GPtrArray;
g_ptr_array_sort(array: *mut GPtrArray, compare_func: GCompareFunc)3847     pub fn g_ptr_array_sort(array: *mut GPtrArray, compare_func: GCompareFunc);
g_ptr_array_sort_with_data( array: *mut GPtrArray, compare_func: GCompareDataFunc, user_data: gpointer, )3848     pub fn g_ptr_array_sort_with_data(
3849         array: *mut GPtrArray,
3850         compare_func: GCompareDataFunc,
3851         user_data: gpointer,
3852     );
3853     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ptr_array_steal_index(array: *mut GPtrArray, index_: c_uint) -> gpointer3854     pub fn g_ptr_array_steal_index(array: *mut GPtrArray, index_: c_uint) -> gpointer;
3855     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ptr_array_steal_index_fast(array: *mut GPtrArray, index_: c_uint) -> gpointer3856     pub fn g_ptr_array_steal_index_fast(array: *mut GPtrArray, index_: c_uint) -> gpointer;
g_ptr_array_unref(array: *mut GPtrArray)3857     pub fn g_ptr_array_unref(array: *mut GPtrArray);
3858 
3859     //=========================================================================
3860     // GQueue
3861     //=========================================================================
g_queue_clear(queue: *mut GQueue)3862     pub fn g_queue_clear(queue: *mut GQueue);
3863     #[cfg(any(feature = "v2_60", feature = "dox"))]
g_queue_clear_full(queue: *mut GQueue, free_func: GDestroyNotify)3864     pub fn g_queue_clear_full(queue: *mut GQueue, free_func: GDestroyNotify);
g_queue_copy(queue: *mut GQueue) -> *mut GQueue3865     pub fn g_queue_copy(queue: *mut GQueue) -> *mut GQueue;
g_queue_delete_link(queue: *mut GQueue, link_: *mut GList)3866     pub fn g_queue_delete_link(queue: *mut GQueue, link_: *mut GList);
g_queue_find(queue: *mut GQueue, data: gconstpointer) -> *mut GList3867     pub fn g_queue_find(queue: *mut GQueue, data: gconstpointer) -> *mut GList;
g_queue_find_custom( queue: *mut GQueue, data: gconstpointer, func: GCompareFunc, ) -> *mut GList3868     pub fn g_queue_find_custom(
3869         queue: *mut GQueue,
3870         data: gconstpointer,
3871         func: GCompareFunc,
3872     ) -> *mut GList;
g_queue_foreach(queue: *mut GQueue, func: GFunc, user_data: gpointer)3873     pub fn g_queue_foreach(queue: *mut GQueue, func: GFunc, user_data: gpointer);
g_queue_free(queue: *mut GQueue)3874     pub fn g_queue_free(queue: *mut GQueue);
g_queue_free_full(queue: *mut GQueue, free_func: GDestroyNotify)3875     pub fn g_queue_free_full(queue: *mut GQueue, free_func: GDestroyNotify);
g_queue_get_length(queue: *mut GQueue) -> c_uint3876     pub fn g_queue_get_length(queue: *mut GQueue) -> c_uint;
g_queue_index(queue: *mut GQueue, data: gconstpointer) -> c_int3877     pub fn g_queue_index(queue: *mut GQueue, data: gconstpointer) -> c_int;
g_queue_init(queue: *mut GQueue)3878     pub fn g_queue_init(queue: *mut GQueue);
g_queue_insert_after(queue: *mut GQueue, sibling: *mut GList, data: gpointer)3879     pub fn g_queue_insert_after(queue: *mut GQueue, sibling: *mut GList, data: gpointer);
3880     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_queue_insert_after_link(queue: *mut GQueue, sibling: *mut GList, link_: *mut GList)3881     pub fn g_queue_insert_after_link(queue: *mut GQueue, sibling: *mut GList, link_: *mut GList);
g_queue_insert_before(queue: *mut GQueue, sibling: *mut GList, data: gpointer)3882     pub fn g_queue_insert_before(queue: *mut GQueue, sibling: *mut GList, data: gpointer);
3883     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_queue_insert_before_link(queue: *mut GQueue, sibling: *mut GList, link_: *mut GList)3884     pub fn g_queue_insert_before_link(queue: *mut GQueue, sibling: *mut GList, link_: *mut GList);
g_queue_insert_sorted( queue: *mut GQueue, data: gpointer, func: GCompareDataFunc, user_data: gpointer, )3885     pub fn g_queue_insert_sorted(
3886         queue: *mut GQueue,
3887         data: gpointer,
3888         func: GCompareDataFunc,
3889         user_data: gpointer,
3890     );
g_queue_is_empty(queue: *mut GQueue) -> gboolean3891     pub fn g_queue_is_empty(queue: *mut GQueue) -> gboolean;
g_queue_link_index(queue: *mut GQueue, link_: *mut GList) -> c_int3892     pub fn g_queue_link_index(queue: *mut GQueue, link_: *mut GList) -> c_int;
g_queue_peek_head(queue: *mut GQueue) -> gpointer3893     pub fn g_queue_peek_head(queue: *mut GQueue) -> gpointer;
g_queue_peek_head_link(queue: *mut GQueue) -> *mut GList3894     pub fn g_queue_peek_head_link(queue: *mut GQueue) -> *mut GList;
g_queue_peek_nth(queue: *mut GQueue, n: c_uint) -> gpointer3895     pub fn g_queue_peek_nth(queue: *mut GQueue, n: c_uint) -> gpointer;
g_queue_peek_nth_link(queue: *mut GQueue, n: c_uint) -> *mut GList3896     pub fn g_queue_peek_nth_link(queue: *mut GQueue, n: c_uint) -> *mut GList;
g_queue_peek_tail(queue: *mut GQueue) -> gpointer3897     pub fn g_queue_peek_tail(queue: *mut GQueue) -> gpointer;
g_queue_peek_tail_link(queue: *mut GQueue) -> *mut GList3898     pub fn g_queue_peek_tail_link(queue: *mut GQueue) -> *mut GList;
g_queue_pop_head(queue: *mut GQueue) -> gpointer3899     pub fn g_queue_pop_head(queue: *mut GQueue) -> gpointer;
g_queue_pop_head_link(queue: *mut GQueue) -> *mut GList3900     pub fn g_queue_pop_head_link(queue: *mut GQueue) -> *mut GList;
g_queue_pop_nth(queue: *mut GQueue, n: c_uint) -> gpointer3901     pub fn g_queue_pop_nth(queue: *mut GQueue, n: c_uint) -> gpointer;
g_queue_pop_nth_link(queue: *mut GQueue, n: c_uint) -> *mut GList3902     pub fn g_queue_pop_nth_link(queue: *mut GQueue, n: c_uint) -> *mut GList;
g_queue_pop_tail(queue: *mut GQueue) -> gpointer3903     pub fn g_queue_pop_tail(queue: *mut GQueue) -> gpointer;
g_queue_pop_tail_link(queue: *mut GQueue) -> *mut GList3904     pub fn g_queue_pop_tail_link(queue: *mut GQueue) -> *mut GList;
g_queue_push_head(queue: *mut GQueue, data: gpointer)3905     pub fn g_queue_push_head(queue: *mut GQueue, data: gpointer);
g_queue_push_head_link(queue: *mut GQueue, link_: *mut GList)3906     pub fn g_queue_push_head_link(queue: *mut GQueue, link_: *mut GList);
g_queue_push_nth(queue: *mut GQueue, data: gpointer, n: c_int)3907     pub fn g_queue_push_nth(queue: *mut GQueue, data: gpointer, n: c_int);
g_queue_push_nth_link(queue: *mut GQueue, n: c_int, link_: *mut GList)3908     pub fn g_queue_push_nth_link(queue: *mut GQueue, n: c_int, link_: *mut GList);
g_queue_push_tail(queue: *mut GQueue, data: gpointer)3909     pub fn g_queue_push_tail(queue: *mut GQueue, data: gpointer);
g_queue_push_tail_link(queue: *mut GQueue, link_: *mut GList)3910     pub fn g_queue_push_tail_link(queue: *mut GQueue, link_: *mut GList);
g_queue_remove(queue: *mut GQueue, data: gconstpointer) -> gboolean3911     pub fn g_queue_remove(queue: *mut GQueue, data: gconstpointer) -> gboolean;
g_queue_remove_all(queue: *mut GQueue, data: gconstpointer) -> c_uint3912     pub fn g_queue_remove_all(queue: *mut GQueue, data: gconstpointer) -> c_uint;
g_queue_reverse(queue: *mut GQueue)3913     pub fn g_queue_reverse(queue: *mut GQueue);
g_queue_sort(queue: *mut GQueue, compare_func: GCompareDataFunc, user_data: gpointer)3914     pub fn g_queue_sort(queue: *mut GQueue, compare_func: GCompareDataFunc, user_data: gpointer);
g_queue_unlink(queue: *mut GQueue, link_: *mut GList)3915     pub fn g_queue_unlink(queue: *mut GQueue, link_: *mut GList);
g_queue_new() -> *mut GQueue3916     pub fn g_queue_new() -> *mut GQueue;
3917 
3918     //=========================================================================
3919     // GRWLock
3920     //=========================================================================
g_rw_lock_clear(rw_lock: *mut GRWLock)3921     pub fn g_rw_lock_clear(rw_lock: *mut GRWLock);
g_rw_lock_init(rw_lock: *mut GRWLock)3922     pub fn g_rw_lock_init(rw_lock: *mut GRWLock);
g_rw_lock_reader_lock(rw_lock: *mut GRWLock)3923     pub fn g_rw_lock_reader_lock(rw_lock: *mut GRWLock);
g_rw_lock_reader_trylock(rw_lock: *mut GRWLock) -> gboolean3924     pub fn g_rw_lock_reader_trylock(rw_lock: *mut GRWLock) -> gboolean;
g_rw_lock_reader_unlock(rw_lock: *mut GRWLock)3925     pub fn g_rw_lock_reader_unlock(rw_lock: *mut GRWLock);
g_rw_lock_writer_lock(rw_lock: *mut GRWLock)3926     pub fn g_rw_lock_writer_lock(rw_lock: *mut GRWLock);
g_rw_lock_writer_trylock(rw_lock: *mut GRWLock) -> gboolean3927     pub fn g_rw_lock_writer_trylock(rw_lock: *mut GRWLock) -> gboolean;
g_rw_lock_writer_unlock(rw_lock: *mut GRWLock)3928     pub fn g_rw_lock_writer_unlock(rw_lock: *mut GRWLock);
3929 
3930     //=========================================================================
3931     // GRand
3932     //=========================================================================
g_rand_copy(rand_: *mut GRand) -> *mut GRand3933     pub fn g_rand_copy(rand_: *mut GRand) -> *mut GRand;
g_rand_double(rand_: *mut GRand) -> c_double3934     pub fn g_rand_double(rand_: *mut GRand) -> c_double;
g_rand_double_range(rand_: *mut GRand, begin: c_double, end: c_double) -> c_double3935     pub fn g_rand_double_range(rand_: *mut GRand, begin: c_double, end: c_double) -> c_double;
g_rand_free(rand_: *mut GRand)3936     pub fn g_rand_free(rand_: *mut GRand);
g_rand_int(rand_: *mut GRand) -> u323937     pub fn g_rand_int(rand_: *mut GRand) -> u32;
g_rand_int_range(rand_: *mut GRand, begin: i32, end: i32) -> i323938     pub fn g_rand_int_range(rand_: *mut GRand, begin: i32, end: i32) -> i32;
g_rand_set_seed(rand_: *mut GRand, seed: u32)3939     pub fn g_rand_set_seed(rand_: *mut GRand, seed: u32);
g_rand_set_seed_array(rand_: *mut GRand, seed: *const u32, seed_length: c_uint)3940     pub fn g_rand_set_seed_array(rand_: *mut GRand, seed: *const u32, seed_length: c_uint);
g_rand_new() -> *mut GRand3941     pub fn g_rand_new() -> *mut GRand;
g_rand_new_with_seed(seed: u32) -> *mut GRand3942     pub fn g_rand_new_with_seed(seed: u32) -> *mut GRand;
g_rand_new_with_seed_array(seed: *const u32, seed_length: c_uint) -> *mut GRand3943     pub fn g_rand_new_with_seed_array(seed: *const u32, seed_length: c_uint) -> *mut GRand;
3944 
3945     //=========================================================================
3946     // GRecMutex
3947     //=========================================================================
g_rec_mutex_clear(rec_mutex: *mut GRecMutex)3948     pub fn g_rec_mutex_clear(rec_mutex: *mut GRecMutex);
g_rec_mutex_init(rec_mutex: *mut GRecMutex)3949     pub fn g_rec_mutex_init(rec_mutex: *mut GRecMutex);
g_rec_mutex_lock(rec_mutex: *mut GRecMutex)3950     pub fn g_rec_mutex_lock(rec_mutex: *mut GRecMutex);
g_rec_mutex_trylock(rec_mutex: *mut GRecMutex) -> gboolean3951     pub fn g_rec_mutex_trylock(rec_mutex: *mut GRecMutex) -> gboolean;
g_rec_mutex_unlock(rec_mutex: *mut GRecMutex)3952     pub fn g_rec_mutex_unlock(rec_mutex: *mut GRecMutex);
3953 
3954     //=========================================================================
3955     // GRegex
3956     //=========================================================================
g_regex_get_type() -> GType3957     pub fn g_regex_get_type() -> GType;
g_regex_new( pattern: *const c_char, compile_options: GRegexCompileFlags, match_options: GRegexMatchFlags, error: *mut *mut GError, ) -> *mut GRegex3958     pub fn g_regex_new(
3959         pattern: *const c_char,
3960         compile_options: GRegexCompileFlags,
3961         match_options: GRegexMatchFlags,
3962         error: *mut *mut GError,
3963     ) -> *mut GRegex;
g_regex_get_capture_count(regex: *const GRegex) -> c_int3964     pub fn g_regex_get_capture_count(regex: *const GRegex) -> c_int;
g_regex_get_compile_flags(regex: *const GRegex) -> GRegexCompileFlags3965     pub fn g_regex_get_compile_flags(regex: *const GRegex) -> GRegexCompileFlags;
g_regex_get_has_cr_or_lf(regex: *const GRegex) -> gboolean3966     pub fn g_regex_get_has_cr_or_lf(regex: *const GRegex) -> gboolean;
g_regex_get_match_flags(regex: *const GRegex) -> GRegexMatchFlags3967     pub fn g_regex_get_match_flags(regex: *const GRegex) -> GRegexMatchFlags;
g_regex_get_max_backref(regex: *const GRegex) -> c_int3968     pub fn g_regex_get_max_backref(regex: *const GRegex) -> c_int;
g_regex_get_max_lookbehind(regex: *const GRegex) -> c_int3969     pub fn g_regex_get_max_lookbehind(regex: *const GRegex) -> c_int;
g_regex_get_pattern(regex: *const GRegex) -> *const c_char3970     pub fn g_regex_get_pattern(regex: *const GRegex) -> *const c_char;
g_regex_get_string_number(regex: *const GRegex, name: *const c_char) -> c_int3971     pub fn g_regex_get_string_number(regex: *const GRegex, name: *const c_char) -> c_int;
g_regex_match( regex: *const GRegex, string: *const c_char, match_options: GRegexMatchFlags, match_info: *mut *mut GMatchInfo, ) -> gboolean3972     pub fn g_regex_match(
3973         regex: *const GRegex,
3974         string: *const c_char,
3975         match_options: GRegexMatchFlags,
3976         match_info: *mut *mut GMatchInfo,
3977     ) -> gboolean;
g_regex_match_all( regex: *const GRegex, string: *const c_char, match_options: GRegexMatchFlags, match_info: *mut *mut GMatchInfo, ) -> gboolean3978     pub fn g_regex_match_all(
3979         regex: *const GRegex,
3980         string: *const c_char,
3981         match_options: GRegexMatchFlags,
3982         match_info: *mut *mut GMatchInfo,
3983     ) -> gboolean;
g_regex_match_all_full( regex: *const GRegex, string: *const c_char, string_len: ssize_t, start_position: c_int, match_options: GRegexMatchFlags, match_info: *mut *mut GMatchInfo, error: *mut *mut GError, ) -> gboolean3984     pub fn g_regex_match_all_full(
3985         regex: *const GRegex,
3986         string: *const c_char,
3987         string_len: ssize_t,
3988         start_position: c_int,
3989         match_options: GRegexMatchFlags,
3990         match_info: *mut *mut GMatchInfo,
3991         error: *mut *mut GError,
3992     ) -> gboolean;
g_regex_match_full( regex: *const GRegex, string: *const c_char, string_len: ssize_t, start_position: c_int, match_options: GRegexMatchFlags, match_info: *mut *mut GMatchInfo, error: *mut *mut GError, ) -> gboolean3993     pub fn g_regex_match_full(
3994         regex: *const GRegex,
3995         string: *const c_char,
3996         string_len: ssize_t,
3997         start_position: c_int,
3998         match_options: GRegexMatchFlags,
3999         match_info: *mut *mut GMatchInfo,
4000         error: *mut *mut GError,
4001     ) -> gboolean;
g_regex_ref(regex: *mut GRegex) -> *mut GRegex4002     pub fn g_regex_ref(regex: *mut GRegex) -> *mut GRegex;
g_regex_replace( regex: *const GRegex, string: *const c_char, string_len: ssize_t, start_position: c_int, replacement: *const c_char, match_options: GRegexMatchFlags, error: *mut *mut GError, ) -> *mut c_char4003     pub fn g_regex_replace(
4004         regex: *const GRegex,
4005         string: *const c_char,
4006         string_len: ssize_t,
4007         start_position: c_int,
4008         replacement: *const c_char,
4009         match_options: GRegexMatchFlags,
4010         error: *mut *mut GError,
4011     ) -> *mut c_char;
g_regex_replace_eval( regex: *const GRegex, string: *const c_char, string_len: ssize_t, start_position: c_int, match_options: GRegexMatchFlags, eval: GRegexEvalCallback, user_data: gpointer, error: *mut *mut GError, ) -> *mut c_char4012     pub fn g_regex_replace_eval(
4013         regex: *const GRegex,
4014         string: *const c_char,
4015         string_len: ssize_t,
4016         start_position: c_int,
4017         match_options: GRegexMatchFlags,
4018         eval: GRegexEvalCallback,
4019         user_data: gpointer,
4020         error: *mut *mut GError,
4021     ) -> *mut c_char;
g_regex_replace_literal( regex: *const GRegex, string: *const c_char, string_len: ssize_t, start_position: c_int, replacement: *const c_char, match_options: GRegexMatchFlags, error: *mut *mut GError, ) -> *mut c_char4022     pub fn g_regex_replace_literal(
4023         regex: *const GRegex,
4024         string: *const c_char,
4025         string_len: ssize_t,
4026         start_position: c_int,
4027         replacement: *const c_char,
4028         match_options: GRegexMatchFlags,
4029         error: *mut *mut GError,
4030     ) -> *mut c_char;
g_regex_split( regex: *const GRegex, string: *const c_char, match_options: GRegexMatchFlags, ) -> *mut *mut c_char4031     pub fn g_regex_split(
4032         regex: *const GRegex,
4033         string: *const c_char,
4034         match_options: GRegexMatchFlags,
4035     ) -> *mut *mut c_char;
g_regex_split_full( regex: *const GRegex, string: *const c_char, string_len: ssize_t, start_position: c_int, match_options: GRegexMatchFlags, max_tokens: c_int, error: *mut *mut GError, ) -> *mut *mut c_char4036     pub fn g_regex_split_full(
4037         regex: *const GRegex,
4038         string: *const c_char,
4039         string_len: ssize_t,
4040         start_position: c_int,
4041         match_options: GRegexMatchFlags,
4042         max_tokens: c_int,
4043         error: *mut *mut GError,
4044     ) -> *mut *mut c_char;
g_regex_unref(regex: *mut GRegex)4045     pub fn g_regex_unref(regex: *mut GRegex);
g_regex_check_replacement( replacement: *const c_char, has_references: *mut gboolean, error: *mut *mut GError, ) -> gboolean4046     pub fn g_regex_check_replacement(
4047         replacement: *const c_char,
4048         has_references: *mut gboolean,
4049         error: *mut *mut GError,
4050     ) -> gboolean;
g_regex_error_quark() -> GQuark4051     pub fn g_regex_error_quark() -> GQuark;
g_regex_escape_nul(string: *const c_char, length: c_int) -> *mut c_char4052     pub fn g_regex_escape_nul(string: *const c_char, length: c_int) -> *mut c_char;
g_regex_escape_string(string: *const c_char, length: c_int) -> *mut c_char4053     pub fn g_regex_escape_string(string: *const c_char, length: c_int) -> *mut c_char;
g_regex_match_simple( pattern: *const c_char, string: *const c_char, compile_options: GRegexCompileFlags, match_options: GRegexMatchFlags, ) -> gboolean4054     pub fn g_regex_match_simple(
4055         pattern: *const c_char,
4056         string: *const c_char,
4057         compile_options: GRegexCompileFlags,
4058         match_options: GRegexMatchFlags,
4059     ) -> gboolean;
g_regex_split_simple( pattern: *const c_char, string: *const c_char, compile_options: GRegexCompileFlags, match_options: GRegexMatchFlags, ) -> *mut *mut c_char4060     pub fn g_regex_split_simple(
4061         pattern: *const c_char,
4062         string: *const c_char,
4063         compile_options: GRegexCompileFlags,
4064         match_options: GRegexMatchFlags,
4065     ) -> *mut *mut c_char;
4066 
4067     //=========================================================================
4068     // GSList
4069     //=========================================================================
g_slist_alloc() -> *mut GSList4070     pub fn g_slist_alloc() -> *mut GSList;
g_slist_append(list: *mut GSList, data: gpointer) -> *mut GSList4071     pub fn g_slist_append(list: *mut GSList, data: gpointer) -> *mut GSList;
g_slist_concat(list1: *mut GSList, list2: *mut GSList) -> *mut GSList4072     pub fn g_slist_concat(list1: *mut GSList, list2: *mut GSList) -> *mut GSList;
g_slist_copy(list: *mut GSList) -> *mut GSList4073     pub fn g_slist_copy(list: *mut GSList) -> *mut GSList;
g_slist_copy_deep( list: *mut GSList, func: GCopyFunc, user_data: gpointer, ) -> *mut GSList4074     pub fn g_slist_copy_deep(
4075         list: *mut GSList,
4076         func: GCopyFunc,
4077         user_data: gpointer,
4078     ) -> *mut GSList;
g_slist_delete_link(list: *mut GSList, link_: *mut GSList) -> *mut GSList4079     pub fn g_slist_delete_link(list: *mut GSList, link_: *mut GSList) -> *mut GSList;
g_slist_find(list: *mut GSList, data: gconstpointer) -> *mut GSList4080     pub fn g_slist_find(list: *mut GSList, data: gconstpointer) -> *mut GSList;
g_slist_find_custom( list: *mut GSList, data: gconstpointer, func: GCompareFunc, ) -> *mut GSList4081     pub fn g_slist_find_custom(
4082         list: *mut GSList,
4083         data: gconstpointer,
4084         func: GCompareFunc,
4085     ) -> *mut GSList;
g_slist_foreach(list: *mut GSList, func: GFunc, user_data: gpointer)4086     pub fn g_slist_foreach(list: *mut GSList, func: GFunc, user_data: gpointer);
g_slist_free(list: *mut GSList)4087     pub fn g_slist_free(list: *mut GSList);
g_slist_free_1(list: *mut GSList)4088     pub fn g_slist_free_1(list: *mut GSList);
g_slist_free_full(list: *mut GSList, free_func: GDestroyNotify)4089     pub fn g_slist_free_full(list: *mut GSList, free_func: GDestroyNotify);
g_slist_index(list: *mut GSList, data: gconstpointer) -> c_int4090     pub fn g_slist_index(list: *mut GSList, data: gconstpointer) -> c_int;
g_slist_insert(list: *mut GSList, data: gpointer, position: c_int) -> *mut GSList4091     pub fn g_slist_insert(list: *mut GSList, data: gpointer, position: c_int) -> *mut GSList;
g_slist_insert_before( slist: *mut GSList, sibling: *mut GSList, data: gpointer, ) -> *mut GSList4092     pub fn g_slist_insert_before(
4093         slist: *mut GSList,
4094         sibling: *mut GSList,
4095         data: gpointer,
4096     ) -> *mut GSList;
g_slist_insert_sorted( list: *mut GSList, data: gpointer, func: GCompareFunc, ) -> *mut GSList4097     pub fn g_slist_insert_sorted(
4098         list: *mut GSList,
4099         data: gpointer,
4100         func: GCompareFunc,
4101     ) -> *mut GSList;
g_slist_insert_sorted_with_data( list: *mut GSList, data: gpointer, func: GCompareDataFunc, user_data: gpointer, ) -> *mut GSList4102     pub fn g_slist_insert_sorted_with_data(
4103         list: *mut GSList,
4104         data: gpointer,
4105         func: GCompareDataFunc,
4106         user_data: gpointer,
4107     ) -> *mut GSList;
g_slist_last(list: *mut GSList) -> *mut GSList4108     pub fn g_slist_last(list: *mut GSList) -> *mut GSList;
g_slist_length(list: *mut GSList) -> c_uint4109     pub fn g_slist_length(list: *mut GSList) -> c_uint;
g_slist_nth(list: *mut GSList, n: c_uint) -> *mut GSList4110     pub fn g_slist_nth(list: *mut GSList, n: c_uint) -> *mut GSList;
g_slist_nth_data(list: *mut GSList, n: c_uint) -> gpointer4111     pub fn g_slist_nth_data(list: *mut GSList, n: c_uint) -> gpointer;
g_slist_position(list: *mut GSList, llink: *mut GSList) -> c_int4112     pub fn g_slist_position(list: *mut GSList, llink: *mut GSList) -> c_int;
g_slist_prepend(list: *mut GSList, data: gpointer) -> *mut GSList4113     pub fn g_slist_prepend(list: *mut GSList, data: gpointer) -> *mut GSList;
g_slist_remove(list: *mut GSList, data: gconstpointer) -> *mut GSList4114     pub fn g_slist_remove(list: *mut GSList, data: gconstpointer) -> *mut GSList;
g_slist_remove_all(list: *mut GSList, data: gconstpointer) -> *mut GSList4115     pub fn g_slist_remove_all(list: *mut GSList, data: gconstpointer) -> *mut GSList;
g_slist_remove_link(list: *mut GSList, link_: *mut GSList) -> *mut GSList4116     pub fn g_slist_remove_link(list: *mut GSList, link_: *mut GSList) -> *mut GSList;
g_slist_reverse(list: *mut GSList) -> *mut GSList4117     pub fn g_slist_reverse(list: *mut GSList) -> *mut GSList;
g_slist_sort(list: *mut GSList, compare_func: GCompareFunc) -> *mut GSList4118     pub fn g_slist_sort(list: *mut GSList, compare_func: GCompareFunc) -> *mut GSList;
g_slist_sort_with_data( list: *mut GSList, compare_func: GCompareDataFunc, user_data: gpointer, ) -> *mut GSList4119     pub fn g_slist_sort_with_data(
4120         list: *mut GSList,
4121         compare_func: GCompareDataFunc,
4122         user_data: gpointer,
4123     ) -> *mut GSList;
4124 
4125     //=========================================================================
4126     // GScanner
4127     //=========================================================================
g_scanner_cur_line(scanner: *mut GScanner) -> c_uint4128     pub fn g_scanner_cur_line(scanner: *mut GScanner) -> c_uint;
g_scanner_cur_position(scanner: *mut GScanner) -> c_uint4129     pub fn g_scanner_cur_position(scanner: *mut GScanner) -> c_uint;
g_scanner_cur_token(scanner: *mut GScanner) -> GTokenType4130     pub fn g_scanner_cur_token(scanner: *mut GScanner) -> GTokenType;
g_scanner_cur_value(scanner: *mut GScanner) -> GTokenValue4131     pub fn g_scanner_cur_value(scanner: *mut GScanner) -> GTokenValue;
g_scanner_destroy(scanner: *mut GScanner)4132     pub fn g_scanner_destroy(scanner: *mut GScanner);
g_scanner_eof(scanner: *mut GScanner) -> gboolean4133     pub fn g_scanner_eof(scanner: *mut GScanner) -> gboolean;
g_scanner_error(scanner: *mut GScanner, format: *const c_char, ...)4134     pub fn g_scanner_error(scanner: *mut GScanner, format: *const c_char, ...);
g_scanner_get_next_token(scanner: *mut GScanner) -> GTokenType4135     pub fn g_scanner_get_next_token(scanner: *mut GScanner) -> GTokenType;
g_scanner_input_file(scanner: *mut GScanner, input_fd: c_int)4136     pub fn g_scanner_input_file(scanner: *mut GScanner, input_fd: c_int);
g_scanner_input_text(scanner: *mut GScanner, text: *const c_char, text_len: c_uint)4137     pub fn g_scanner_input_text(scanner: *mut GScanner, text: *const c_char, text_len: c_uint);
g_scanner_lookup_symbol(scanner: *mut GScanner, symbol: *const c_char) -> gpointer4138     pub fn g_scanner_lookup_symbol(scanner: *mut GScanner, symbol: *const c_char) -> gpointer;
g_scanner_peek_next_token(scanner: *mut GScanner) -> GTokenType4139     pub fn g_scanner_peek_next_token(scanner: *mut GScanner) -> GTokenType;
g_scanner_scope_add_symbol( scanner: *mut GScanner, scope_id: c_uint, symbol: *const c_char, value: gpointer, )4140     pub fn g_scanner_scope_add_symbol(
4141         scanner: *mut GScanner,
4142         scope_id: c_uint,
4143         symbol: *const c_char,
4144         value: gpointer,
4145     );
g_scanner_scope_foreach_symbol( scanner: *mut GScanner, scope_id: c_uint, func: GHFunc, user_data: gpointer, )4146     pub fn g_scanner_scope_foreach_symbol(
4147         scanner: *mut GScanner,
4148         scope_id: c_uint,
4149         func: GHFunc,
4150         user_data: gpointer,
4151     );
g_scanner_scope_lookup_symbol( scanner: *mut GScanner, scope_id: c_uint, symbol: *const c_char, ) -> gpointer4152     pub fn g_scanner_scope_lookup_symbol(
4153         scanner: *mut GScanner,
4154         scope_id: c_uint,
4155         symbol: *const c_char,
4156     ) -> gpointer;
g_scanner_scope_remove_symbol( scanner: *mut GScanner, scope_id: c_uint, symbol: *const c_char, )4157     pub fn g_scanner_scope_remove_symbol(
4158         scanner: *mut GScanner,
4159         scope_id: c_uint,
4160         symbol: *const c_char,
4161     );
g_scanner_set_scope(scanner: *mut GScanner, scope_id: c_uint) -> c_uint4162     pub fn g_scanner_set_scope(scanner: *mut GScanner, scope_id: c_uint) -> c_uint;
g_scanner_sync_file_offset(scanner: *mut GScanner)4163     pub fn g_scanner_sync_file_offset(scanner: *mut GScanner);
g_scanner_unexp_token( scanner: *mut GScanner, expected_token: GTokenType, identifier_spec: *const c_char, symbol_spec: *const c_char, symbol_name: *const c_char, message: *const c_char, is_error: c_int, )4164     pub fn g_scanner_unexp_token(
4165         scanner: *mut GScanner,
4166         expected_token: GTokenType,
4167         identifier_spec: *const c_char,
4168         symbol_spec: *const c_char,
4169         symbol_name: *const c_char,
4170         message: *const c_char,
4171         is_error: c_int,
4172     );
g_scanner_warn(scanner: *mut GScanner, format: *const c_char, ...)4173     pub fn g_scanner_warn(scanner: *mut GScanner, format: *const c_char, ...);
g_scanner_new(config_templ: *const GScannerConfig) -> *mut GScanner4174     pub fn g_scanner_new(config_templ: *const GScannerConfig) -> *mut GScanner;
4175 
4176     //=========================================================================
4177     // GSequence
4178     //=========================================================================
g_sequence_append(seq: *mut GSequence, data: gpointer) -> *mut GSequenceIter4179     pub fn g_sequence_append(seq: *mut GSequence, data: gpointer) -> *mut GSequenceIter;
g_sequence_foreach(seq: *mut GSequence, func: GFunc, user_data: gpointer)4180     pub fn g_sequence_foreach(seq: *mut GSequence, func: GFunc, user_data: gpointer);
g_sequence_free(seq: *mut GSequence)4181     pub fn g_sequence_free(seq: *mut GSequence);
g_sequence_get_begin_iter(seq: *mut GSequence) -> *mut GSequenceIter4182     pub fn g_sequence_get_begin_iter(seq: *mut GSequence) -> *mut GSequenceIter;
g_sequence_get_end_iter(seq: *mut GSequence) -> *mut GSequenceIter4183     pub fn g_sequence_get_end_iter(seq: *mut GSequence) -> *mut GSequenceIter;
g_sequence_get_iter_at_pos(seq: *mut GSequence, pos: c_int) -> *mut GSequenceIter4184     pub fn g_sequence_get_iter_at_pos(seq: *mut GSequence, pos: c_int) -> *mut GSequenceIter;
g_sequence_get_length(seq: *mut GSequence) -> c_int4185     pub fn g_sequence_get_length(seq: *mut GSequence) -> c_int;
g_sequence_insert_sorted( seq: *mut GSequence, data: gpointer, cmp_func: GCompareDataFunc, cmp_data: gpointer, ) -> *mut GSequenceIter4186     pub fn g_sequence_insert_sorted(
4187         seq: *mut GSequence,
4188         data: gpointer,
4189         cmp_func: GCompareDataFunc,
4190         cmp_data: gpointer,
4191     ) -> *mut GSequenceIter;
g_sequence_insert_sorted_iter( seq: *mut GSequence, data: gpointer, iter_cmp: GSequenceIterCompareFunc, cmp_data: gpointer, ) -> *mut GSequenceIter4192     pub fn g_sequence_insert_sorted_iter(
4193         seq: *mut GSequence,
4194         data: gpointer,
4195         iter_cmp: GSequenceIterCompareFunc,
4196         cmp_data: gpointer,
4197     ) -> *mut GSequenceIter;
4198     #[cfg(any(feature = "v2_48", feature = "dox"))]
g_sequence_is_empty(seq: *mut GSequence) -> gboolean4199     pub fn g_sequence_is_empty(seq: *mut GSequence) -> gboolean;
g_sequence_lookup( seq: *mut GSequence, data: gpointer, cmp_func: GCompareDataFunc, cmp_data: gpointer, ) -> *mut GSequenceIter4200     pub fn g_sequence_lookup(
4201         seq: *mut GSequence,
4202         data: gpointer,
4203         cmp_func: GCompareDataFunc,
4204         cmp_data: gpointer,
4205     ) -> *mut GSequenceIter;
g_sequence_lookup_iter( seq: *mut GSequence, data: gpointer, iter_cmp: GSequenceIterCompareFunc, cmp_data: gpointer, ) -> *mut GSequenceIter4206     pub fn g_sequence_lookup_iter(
4207         seq: *mut GSequence,
4208         data: gpointer,
4209         iter_cmp: GSequenceIterCompareFunc,
4210         cmp_data: gpointer,
4211     ) -> *mut GSequenceIter;
g_sequence_prepend(seq: *mut GSequence, data: gpointer) -> *mut GSequenceIter4212     pub fn g_sequence_prepend(seq: *mut GSequence, data: gpointer) -> *mut GSequenceIter;
g_sequence_search( seq: *mut GSequence, data: gpointer, cmp_func: GCompareDataFunc, cmp_data: gpointer, ) -> *mut GSequenceIter4213     pub fn g_sequence_search(
4214         seq: *mut GSequence,
4215         data: gpointer,
4216         cmp_func: GCompareDataFunc,
4217         cmp_data: gpointer,
4218     ) -> *mut GSequenceIter;
g_sequence_search_iter( seq: *mut GSequence, data: gpointer, iter_cmp: GSequenceIterCompareFunc, cmp_data: gpointer, ) -> *mut GSequenceIter4219     pub fn g_sequence_search_iter(
4220         seq: *mut GSequence,
4221         data: gpointer,
4222         iter_cmp: GSequenceIterCompareFunc,
4223         cmp_data: gpointer,
4224     ) -> *mut GSequenceIter;
g_sequence_sort(seq: *mut GSequence, cmp_func: GCompareDataFunc, cmp_data: gpointer)4225     pub fn g_sequence_sort(seq: *mut GSequence, cmp_func: GCompareDataFunc, cmp_data: gpointer);
g_sequence_sort_iter( seq: *mut GSequence, cmp_func: GSequenceIterCompareFunc, cmp_data: gpointer, )4226     pub fn g_sequence_sort_iter(
4227         seq: *mut GSequence,
4228         cmp_func: GSequenceIterCompareFunc,
4229         cmp_data: gpointer,
4230     );
g_sequence_foreach_range( begin: *mut GSequenceIter, end: *mut GSequenceIter, func: GFunc, user_data: gpointer, )4231     pub fn g_sequence_foreach_range(
4232         begin: *mut GSequenceIter,
4233         end: *mut GSequenceIter,
4234         func: GFunc,
4235         user_data: gpointer,
4236     );
g_sequence_get(iter: *mut GSequenceIter) -> gpointer4237     pub fn g_sequence_get(iter: *mut GSequenceIter) -> gpointer;
g_sequence_insert_before(iter: *mut GSequenceIter, data: gpointer) -> *mut GSequenceIter4238     pub fn g_sequence_insert_before(iter: *mut GSequenceIter, data: gpointer)
4239         -> *mut GSequenceIter;
g_sequence_move(src: *mut GSequenceIter, dest: *mut GSequenceIter)4240     pub fn g_sequence_move(src: *mut GSequenceIter, dest: *mut GSequenceIter);
g_sequence_move_range( dest: *mut GSequenceIter, begin: *mut GSequenceIter, end: *mut GSequenceIter, )4241     pub fn g_sequence_move_range(
4242         dest: *mut GSequenceIter,
4243         begin: *mut GSequenceIter,
4244         end: *mut GSequenceIter,
4245     );
g_sequence_new(data_destroy: GDestroyNotify) -> *mut GSequence4246     pub fn g_sequence_new(data_destroy: GDestroyNotify) -> *mut GSequence;
g_sequence_range_get_midpoint( begin: *mut GSequenceIter, end: *mut GSequenceIter, ) -> *mut GSequenceIter4247     pub fn g_sequence_range_get_midpoint(
4248         begin: *mut GSequenceIter,
4249         end: *mut GSequenceIter,
4250     ) -> *mut GSequenceIter;
g_sequence_remove(iter: *mut GSequenceIter)4251     pub fn g_sequence_remove(iter: *mut GSequenceIter);
g_sequence_remove_range(begin: *mut GSequenceIter, end: *mut GSequenceIter)4252     pub fn g_sequence_remove_range(begin: *mut GSequenceIter, end: *mut GSequenceIter);
g_sequence_set(iter: *mut GSequenceIter, data: gpointer)4253     pub fn g_sequence_set(iter: *mut GSequenceIter, data: gpointer);
g_sequence_sort_changed( iter: *mut GSequenceIter, cmp_func: GCompareDataFunc, cmp_data: gpointer, )4254     pub fn g_sequence_sort_changed(
4255         iter: *mut GSequenceIter,
4256         cmp_func: GCompareDataFunc,
4257         cmp_data: gpointer,
4258     );
g_sequence_sort_changed_iter( iter: *mut GSequenceIter, iter_cmp: GSequenceIterCompareFunc, cmp_data: gpointer, )4259     pub fn g_sequence_sort_changed_iter(
4260         iter: *mut GSequenceIter,
4261         iter_cmp: GSequenceIterCompareFunc,
4262         cmp_data: gpointer,
4263     );
g_sequence_swap(a: *mut GSequenceIter, b: *mut GSequenceIter)4264     pub fn g_sequence_swap(a: *mut GSequenceIter, b: *mut GSequenceIter);
4265 
4266     //=========================================================================
4267     // GSequenceIter
4268     //=========================================================================
g_sequence_iter_compare(a: *mut GSequenceIter, b: *mut GSequenceIter) -> c_int4269     pub fn g_sequence_iter_compare(a: *mut GSequenceIter, b: *mut GSequenceIter) -> c_int;
g_sequence_iter_get_position(iter: *mut GSequenceIter) -> c_int4270     pub fn g_sequence_iter_get_position(iter: *mut GSequenceIter) -> c_int;
g_sequence_iter_get_sequence(iter: *mut GSequenceIter) -> *mut GSequence4271     pub fn g_sequence_iter_get_sequence(iter: *mut GSequenceIter) -> *mut GSequence;
g_sequence_iter_is_begin(iter: *mut GSequenceIter) -> gboolean4272     pub fn g_sequence_iter_is_begin(iter: *mut GSequenceIter) -> gboolean;
g_sequence_iter_is_end(iter: *mut GSequenceIter) -> gboolean4273     pub fn g_sequence_iter_is_end(iter: *mut GSequenceIter) -> gboolean;
g_sequence_iter_move(iter: *mut GSequenceIter, delta: c_int) -> *mut GSequenceIter4274     pub fn g_sequence_iter_move(iter: *mut GSequenceIter, delta: c_int) -> *mut GSequenceIter;
g_sequence_iter_next(iter: *mut GSequenceIter) -> *mut GSequenceIter4275     pub fn g_sequence_iter_next(iter: *mut GSequenceIter) -> *mut GSequenceIter;
g_sequence_iter_prev(iter: *mut GSequenceIter) -> *mut GSequenceIter4276     pub fn g_sequence_iter_prev(iter: *mut GSequenceIter) -> *mut GSequenceIter;
4277 
4278     //=========================================================================
4279     // GSource
4280     //=========================================================================
g_source_get_type() -> GType4281     pub fn g_source_get_type() -> GType;
g_source_new(source_funcs: *mut GSourceFuncs, struct_size: c_uint) -> *mut GSource4282     pub fn g_source_new(source_funcs: *mut GSourceFuncs, struct_size: c_uint) -> *mut GSource;
g_source_add_child_source(source: *mut GSource, child_source: *mut GSource)4283     pub fn g_source_add_child_source(source: *mut GSource, child_source: *mut GSource);
g_source_add_poll(source: *mut GSource, fd: *mut GPollFD)4284     pub fn g_source_add_poll(source: *mut GSource, fd: *mut GPollFD);
g_source_add_unix_fd(source: *mut GSource, fd: c_int, events: GIOCondition) -> gpointer4285     pub fn g_source_add_unix_fd(source: *mut GSource, fd: c_int, events: GIOCondition) -> gpointer;
g_source_attach(source: *mut GSource, context: *mut GMainContext) -> c_uint4286     pub fn g_source_attach(source: *mut GSource, context: *mut GMainContext) -> c_uint;
g_source_destroy(source: *mut GSource)4287     pub fn g_source_destroy(source: *mut GSource);
g_source_get_can_recurse(source: *mut GSource) -> gboolean4288     pub fn g_source_get_can_recurse(source: *mut GSource) -> gboolean;
g_source_get_context(source: *mut GSource) -> *mut GMainContext4289     pub fn g_source_get_context(source: *mut GSource) -> *mut GMainContext;
g_source_get_current_time(source: *mut GSource, timeval: *mut GTimeVal)4290     pub fn g_source_get_current_time(source: *mut GSource, timeval: *mut GTimeVal);
g_source_get_id(source: *mut GSource) -> c_uint4291     pub fn g_source_get_id(source: *mut GSource) -> c_uint;
g_source_get_name(source: *mut GSource) -> *const c_char4292     pub fn g_source_get_name(source: *mut GSource) -> *const c_char;
g_source_get_priority(source: *mut GSource) -> c_int4293     pub fn g_source_get_priority(source: *mut GSource) -> c_int;
g_source_get_ready_time(source: *mut GSource) -> i644294     pub fn g_source_get_ready_time(source: *mut GSource) -> i64;
g_source_get_time(source: *mut GSource) -> i644295     pub fn g_source_get_time(source: *mut GSource) -> i64;
g_source_is_destroyed(source: *mut GSource) -> gboolean4296     pub fn g_source_is_destroyed(source: *mut GSource) -> gboolean;
g_source_modify_unix_fd(source: *mut GSource, tag: gpointer, new_events: GIOCondition)4297     pub fn g_source_modify_unix_fd(source: *mut GSource, tag: gpointer, new_events: GIOCondition);
g_source_query_unix_fd(source: *mut GSource, tag: gpointer) -> GIOCondition4298     pub fn g_source_query_unix_fd(source: *mut GSource, tag: gpointer) -> GIOCondition;
g_source_ref(source: *mut GSource) -> *mut GSource4299     pub fn g_source_ref(source: *mut GSource) -> *mut GSource;
g_source_remove_child_source(source: *mut GSource, child_source: *mut GSource)4300     pub fn g_source_remove_child_source(source: *mut GSource, child_source: *mut GSource);
g_source_remove_poll(source: *mut GSource, fd: *mut GPollFD)4301     pub fn g_source_remove_poll(source: *mut GSource, fd: *mut GPollFD);
g_source_remove_unix_fd(source: *mut GSource, tag: gpointer)4302     pub fn g_source_remove_unix_fd(source: *mut GSource, tag: gpointer);
g_source_set_callback( source: *mut GSource, func: GSourceFunc, data: gpointer, notify: GDestroyNotify, )4303     pub fn g_source_set_callback(
4304         source: *mut GSource,
4305         func: GSourceFunc,
4306         data: gpointer,
4307         notify: GDestroyNotify,
4308     );
g_source_set_callback_indirect( source: *mut GSource, callback_data: gpointer, callback_funcs: *mut GSourceCallbackFuncs, )4309     pub fn g_source_set_callback_indirect(
4310         source: *mut GSource,
4311         callback_data: gpointer,
4312         callback_funcs: *mut GSourceCallbackFuncs,
4313     );
g_source_set_can_recurse(source: *mut GSource, can_recurse: gboolean)4314     pub fn g_source_set_can_recurse(source: *mut GSource, can_recurse: gboolean);
g_source_set_funcs(source: *mut GSource, funcs: *mut GSourceFuncs)4315     pub fn g_source_set_funcs(source: *mut GSource, funcs: *mut GSourceFuncs);
g_source_set_name(source: *mut GSource, name: *const c_char)4316     pub fn g_source_set_name(source: *mut GSource, name: *const c_char);
g_source_set_priority(source: *mut GSource, priority: c_int)4317     pub fn g_source_set_priority(source: *mut GSource, priority: c_int);
g_source_set_ready_time(source: *mut GSource, ready_time: i64)4318     pub fn g_source_set_ready_time(source: *mut GSource, ready_time: i64);
g_source_unref(source: *mut GSource)4319     pub fn g_source_unref(source: *mut GSource);
g_source_remove(tag: c_uint) -> gboolean4320     pub fn g_source_remove(tag: c_uint) -> gboolean;
g_source_remove_by_funcs_user_data( funcs: *mut GSourceFuncs, user_data: gpointer, ) -> gboolean4321     pub fn g_source_remove_by_funcs_user_data(
4322         funcs: *mut GSourceFuncs,
4323         user_data: gpointer,
4324     ) -> gboolean;
g_source_remove_by_user_data(user_data: gpointer) -> gboolean4325     pub fn g_source_remove_by_user_data(user_data: gpointer) -> gboolean;
g_source_set_name_by_id(tag: c_uint, name: *const c_char)4326     pub fn g_source_set_name_by_id(tag: c_uint, name: *const c_char);
4327 
4328     //=========================================================================
4329     // GString
4330     //=========================================================================
g_gstring_get_type() -> GType4331     pub fn g_gstring_get_type() -> GType;
g_string_append(string: *mut GString, val: *const c_char) -> *mut GString4332     pub fn g_string_append(string: *mut GString, val: *const c_char) -> *mut GString;
g_string_append_c(string: *mut GString, c: c_char) -> *mut GString4333     pub fn g_string_append_c(string: *mut GString, c: c_char) -> *mut GString;
g_string_append_len( string: *mut GString, val: *const c_char, len: ssize_t, ) -> *mut GString4334     pub fn g_string_append_len(
4335         string: *mut GString,
4336         val: *const c_char,
4337         len: ssize_t,
4338     ) -> *mut GString;
g_string_append_printf(string: *mut GString, format: *const c_char, ...)4339     pub fn g_string_append_printf(string: *mut GString, format: *const c_char, ...);
g_string_append_unichar(string: *mut GString, wc: u32) -> *mut GString4340     pub fn g_string_append_unichar(string: *mut GString, wc: u32) -> *mut GString;
g_string_append_uri_escaped( string: *mut GString, unescaped: *const c_char, reserved_chars_allowed: *const c_char, allow_utf8: gboolean, ) -> *mut GString4341     pub fn g_string_append_uri_escaped(
4342         string: *mut GString,
4343         unescaped: *const c_char,
4344         reserved_chars_allowed: *const c_char,
4345         allow_utf8: gboolean,
4346     ) -> *mut GString;
4347     //pub fn g_string_append_vprintf(string: *mut GString, format: *const c_char, args: /*Unimplemented*/va_list);
g_string_ascii_down(string: *mut GString) -> *mut GString4348     pub fn g_string_ascii_down(string: *mut GString) -> *mut GString;
g_string_ascii_up(string: *mut GString) -> *mut GString4349     pub fn g_string_ascii_up(string: *mut GString) -> *mut GString;
g_string_assign(string: *mut GString, rval: *const c_char) -> *mut GString4350     pub fn g_string_assign(string: *mut GString, rval: *const c_char) -> *mut GString;
g_string_down(string: *mut GString) -> *mut GString4351     pub fn g_string_down(string: *mut GString) -> *mut GString;
g_string_equal(v: *const GString, v2: *const GString) -> gboolean4352     pub fn g_string_equal(v: *const GString, v2: *const GString) -> gboolean;
g_string_erase(string: *mut GString, pos: ssize_t, len: ssize_t) -> *mut GString4353     pub fn g_string_erase(string: *mut GString, pos: ssize_t, len: ssize_t) -> *mut GString;
g_string_free(string: *mut GString, free_segment: gboolean) -> *mut c_char4354     pub fn g_string_free(string: *mut GString, free_segment: gboolean) -> *mut c_char;
g_string_free_to_bytes(string: *mut GString) -> *mut GBytes4355     pub fn g_string_free_to_bytes(string: *mut GString) -> *mut GBytes;
g_string_hash(str: *const GString) -> c_uint4356     pub fn g_string_hash(str: *const GString) -> c_uint;
g_string_insert(string: *mut GString, pos: ssize_t, val: *const c_char) -> *mut GString4357     pub fn g_string_insert(string: *mut GString, pos: ssize_t, val: *const c_char) -> *mut GString;
g_string_insert_c(string: *mut GString, pos: ssize_t, c: c_char) -> *mut GString4358     pub fn g_string_insert_c(string: *mut GString, pos: ssize_t, c: c_char) -> *mut GString;
g_string_insert_len( string: *mut GString, pos: ssize_t, val: *const c_char, len: ssize_t, ) -> *mut GString4359     pub fn g_string_insert_len(
4360         string: *mut GString,
4361         pos: ssize_t,
4362         val: *const c_char,
4363         len: ssize_t,
4364     ) -> *mut GString;
g_string_insert_unichar(string: *mut GString, pos: ssize_t, wc: u32) -> *mut GString4365     pub fn g_string_insert_unichar(string: *mut GString, pos: ssize_t, wc: u32) -> *mut GString;
g_string_overwrite( string: *mut GString, pos: size_t, val: *const c_char, ) -> *mut GString4366     pub fn g_string_overwrite(
4367         string: *mut GString,
4368         pos: size_t,
4369         val: *const c_char,
4370     ) -> *mut GString;
g_string_overwrite_len( string: *mut GString, pos: size_t, val: *const c_char, len: ssize_t, ) -> *mut GString4371     pub fn g_string_overwrite_len(
4372         string: *mut GString,
4373         pos: size_t,
4374         val: *const c_char,
4375         len: ssize_t,
4376     ) -> *mut GString;
g_string_prepend(string: *mut GString, val: *const c_char) -> *mut GString4377     pub fn g_string_prepend(string: *mut GString, val: *const c_char) -> *mut GString;
g_string_prepend_c(string: *mut GString, c: c_char) -> *mut GString4378     pub fn g_string_prepend_c(string: *mut GString, c: c_char) -> *mut GString;
g_string_prepend_len( string: *mut GString, val: *const c_char, len: ssize_t, ) -> *mut GString4379     pub fn g_string_prepend_len(
4380         string: *mut GString,
4381         val: *const c_char,
4382         len: ssize_t,
4383     ) -> *mut GString;
g_string_prepend_unichar(string: *mut GString, wc: u32) -> *mut GString4384     pub fn g_string_prepend_unichar(string: *mut GString, wc: u32) -> *mut GString;
g_string_printf(string: *mut GString, format: *const c_char, ...)4385     pub fn g_string_printf(string: *mut GString, format: *const c_char, ...);
g_string_set_size(string: *mut GString, len: size_t) -> *mut GString4386     pub fn g_string_set_size(string: *mut GString, len: size_t) -> *mut GString;
g_string_truncate(string: *mut GString, len: size_t) -> *mut GString4387     pub fn g_string_truncate(string: *mut GString, len: size_t) -> *mut GString;
g_string_up(string: *mut GString) -> *mut GString4388     pub fn g_string_up(string: *mut GString) -> *mut GString;
4389     //pub fn g_string_vprintf(string: *mut GString, format: *const c_char, args: /*Unimplemented*/va_list);
4390 
4391     //=========================================================================
4392     // GStringChunk
4393     //=========================================================================
g_string_chunk_clear(chunk: *mut GStringChunk)4394     pub fn g_string_chunk_clear(chunk: *mut GStringChunk);
g_string_chunk_free(chunk: *mut GStringChunk)4395     pub fn g_string_chunk_free(chunk: *mut GStringChunk);
g_string_chunk_insert(chunk: *mut GStringChunk, string: *const c_char) -> *mut c_char4396     pub fn g_string_chunk_insert(chunk: *mut GStringChunk, string: *const c_char) -> *mut c_char;
g_string_chunk_insert_const( chunk: *mut GStringChunk, string: *const c_char, ) -> *mut c_char4397     pub fn g_string_chunk_insert_const(
4398         chunk: *mut GStringChunk,
4399         string: *const c_char,
4400     ) -> *mut c_char;
g_string_chunk_insert_len( chunk: *mut GStringChunk, string: *const c_char, len: ssize_t, ) -> *mut c_char4401     pub fn g_string_chunk_insert_len(
4402         chunk: *mut GStringChunk,
4403         string: *const c_char,
4404         len: ssize_t,
4405     ) -> *mut c_char;
g_string_chunk_new(size: size_t) -> *mut GStringChunk4406     pub fn g_string_chunk_new(size: size_t) -> *mut GStringChunk;
4407 
4408     //=========================================================================
4409     // GTestLogBuffer
4410     //=========================================================================
g_test_log_buffer_free(tbuffer: *mut GTestLogBuffer)4411     pub fn g_test_log_buffer_free(tbuffer: *mut GTestLogBuffer);
g_test_log_buffer_pop(tbuffer: *mut GTestLogBuffer) -> *mut GTestLogMsg4412     pub fn g_test_log_buffer_pop(tbuffer: *mut GTestLogBuffer) -> *mut GTestLogMsg;
g_test_log_buffer_push(tbuffer: *mut GTestLogBuffer, n_bytes: c_uint, bytes: *const u8)4413     pub fn g_test_log_buffer_push(tbuffer: *mut GTestLogBuffer, n_bytes: c_uint, bytes: *const u8);
g_test_log_buffer_new() -> *mut GTestLogBuffer4414     pub fn g_test_log_buffer_new() -> *mut GTestLogBuffer;
4415 
4416     //=========================================================================
4417     // GTestLogMsg
4418     //=========================================================================
g_test_log_msg_free(tmsg: *mut GTestLogMsg)4419     pub fn g_test_log_msg_free(tmsg: *mut GTestLogMsg);
4420 
4421     //=========================================================================
4422     // GTestSuite
4423     //=========================================================================
g_test_suite_add(suite: *mut GTestSuite, test_case: *mut GTestCase)4424     pub fn g_test_suite_add(suite: *mut GTestSuite, test_case: *mut GTestCase);
g_test_suite_add_suite(suite: *mut GTestSuite, nestedsuite: *mut GTestSuite)4425     pub fn g_test_suite_add_suite(suite: *mut GTestSuite, nestedsuite: *mut GTestSuite);
4426 
4427     //=========================================================================
4428     // GThread
4429     //=========================================================================
g_thread_get_type() -> GType4430     pub fn g_thread_get_type() -> GType;
g_thread_new(name: *const c_char, func: GThreadFunc, data: gpointer) -> *mut GThread4431     pub fn g_thread_new(name: *const c_char, func: GThreadFunc, data: gpointer) -> *mut GThread;
g_thread_try_new( name: *const c_char, func: GThreadFunc, data: gpointer, error: *mut *mut GError, ) -> *mut GThread4432     pub fn g_thread_try_new(
4433         name: *const c_char,
4434         func: GThreadFunc,
4435         data: gpointer,
4436         error: *mut *mut GError,
4437     ) -> *mut GThread;
g_thread_join(thread: *mut GThread) -> gpointer4438     pub fn g_thread_join(thread: *mut GThread) -> gpointer;
g_thread_ref(thread: *mut GThread) -> *mut GThread4439     pub fn g_thread_ref(thread: *mut GThread) -> *mut GThread;
g_thread_unref(thread: *mut GThread)4440     pub fn g_thread_unref(thread: *mut GThread);
g_thread_error_quark() -> GQuark4441     pub fn g_thread_error_quark() -> GQuark;
g_thread_exit(retval: gpointer)4442     pub fn g_thread_exit(retval: gpointer);
g_thread_self() -> *mut GThread4443     pub fn g_thread_self() -> *mut GThread;
g_thread_yield()4444     pub fn g_thread_yield();
4445 
4446     //=========================================================================
4447     // GThreadPool
4448     //=========================================================================
g_thread_pool_free(pool: *mut GThreadPool, immediate: gboolean, wait_: gboolean)4449     pub fn g_thread_pool_free(pool: *mut GThreadPool, immediate: gboolean, wait_: gboolean);
g_thread_pool_get_max_threads(pool: *mut GThreadPool) -> c_int4450     pub fn g_thread_pool_get_max_threads(pool: *mut GThreadPool) -> c_int;
g_thread_pool_get_num_threads(pool: *mut GThreadPool) -> c_uint4451     pub fn g_thread_pool_get_num_threads(pool: *mut GThreadPool) -> c_uint;
4452     #[cfg(any(feature = "v2_46", feature = "dox"))]
g_thread_pool_move_to_front(pool: *mut GThreadPool, data: gpointer) -> gboolean4453     pub fn g_thread_pool_move_to_front(pool: *mut GThreadPool, data: gpointer) -> gboolean;
g_thread_pool_push( pool: *mut GThreadPool, data: gpointer, error: *mut *mut GError, ) -> gboolean4454     pub fn g_thread_pool_push(
4455         pool: *mut GThreadPool,
4456         data: gpointer,
4457         error: *mut *mut GError,
4458     ) -> gboolean;
g_thread_pool_set_max_threads( pool: *mut GThreadPool, max_threads: c_int, error: *mut *mut GError, ) -> gboolean4459     pub fn g_thread_pool_set_max_threads(
4460         pool: *mut GThreadPool,
4461         max_threads: c_int,
4462         error: *mut *mut GError,
4463     ) -> gboolean;
g_thread_pool_set_sort_function( pool: *mut GThreadPool, func: GCompareDataFunc, user_data: gpointer, )4464     pub fn g_thread_pool_set_sort_function(
4465         pool: *mut GThreadPool,
4466         func: GCompareDataFunc,
4467         user_data: gpointer,
4468     );
g_thread_pool_unprocessed(pool: *mut GThreadPool) -> c_uint4469     pub fn g_thread_pool_unprocessed(pool: *mut GThreadPool) -> c_uint;
g_thread_pool_get_max_idle_time() -> c_uint4470     pub fn g_thread_pool_get_max_idle_time() -> c_uint;
g_thread_pool_get_max_unused_threads() -> c_int4471     pub fn g_thread_pool_get_max_unused_threads() -> c_int;
g_thread_pool_get_num_unused_threads() -> c_uint4472     pub fn g_thread_pool_get_num_unused_threads() -> c_uint;
g_thread_pool_new( func: GFunc, user_data: gpointer, max_threads: c_int, exclusive: gboolean, error: *mut *mut GError, ) -> *mut GThreadPool4473     pub fn g_thread_pool_new(
4474         func: GFunc,
4475         user_data: gpointer,
4476         max_threads: c_int,
4477         exclusive: gboolean,
4478         error: *mut *mut GError,
4479     ) -> *mut GThreadPool;
g_thread_pool_set_max_idle_time(interval: c_uint)4480     pub fn g_thread_pool_set_max_idle_time(interval: c_uint);
g_thread_pool_set_max_unused_threads(max_threads: c_int)4481     pub fn g_thread_pool_set_max_unused_threads(max_threads: c_int);
g_thread_pool_stop_unused_threads()4482     pub fn g_thread_pool_stop_unused_threads();
4483 
4484     //=========================================================================
4485     // GTimeVal
4486     //=========================================================================
g_time_val_add(time_: *mut GTimeVal, microseconds: c_long)4487     pub fn g_time_val_add(time_: *mut GTimeVal, microseconds: c_long);
g_time_val_to_iso8601(time_: *mut GTimeVal) -> *mut c_char4488     pub fn g_time_val_to_iso8601(time_: *mut GTimeVal) -> *mut c_char;
g_time_val_from_iso8601(iso_date: *const c_char, time_: *mut GTimeVal) -> gboolean4489     pub fn g_time_val_from_iso8601(iso_date: *const c_char, time_: *mut GTimeVal) -> gboolean;
4490 
4491     //=========================================================================
4492     // GTimeZone
4493     //=========================================================================
g_time_zone_get_type() -> GType4494     pub fn g_time_zone_get_type() -> GType;
g_time_zone_new(identifier: *const c_char) -> *mut GTimeZone4495     pub fn g_time_zone_new(identifier: *const c_char) -> *mut GTimeZone;
g_time_zone_new_local() -> *mut GTimeZone4496     pub fn g_time_zone_new_local() -> *mut GTimeZone;
4497     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_time_zone_new_offset(seconds: i32) -> *mut GTimeZone4498     pub fn g_time_zone_new_offset(seconds: i32) -> *mut GTimeZone;
g_time_zone_new_utc() -> *mut GTimeZone4499     pub fn g_time_zone_new_utc() -> *mut GTimeZone;
g_time_zone_adjust_time(tz: *mut GTimeZone, type_: GTimeType, time_: *mut i64) -> c_int4500     pub fn g_time_zone_adjust_time(tz: *mut GTimeZone, type_: GTimeType, time_: *mut i64) -> c_int;
g_time_zone_find_interval(tz: *mut GTimeZone, type_: GTimeType, time_: i64) -> c_int4501     pub fn g_time_zone_find_interval(tz: *mut GTimeZone, type_: GTimeType, time_: i64) -> c_int;
g_time_zone_get_abbreviation(tz: *mut GTimeZone, interval: c_int) -> *const c_char4502     pub fn g_time_zone_get_abbreviation(tz: *mut GTimeZone, interval: c_int) -> *const c_char;
4503     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_time_zone_get_identifier(tz: *mut GTimeZone) -> *const c_char4504     pub fn g_time_zone_get_identifier(tz: *mut GTimeZone) -> *const c_char;
g_time_zone_get_offset(tz: *mut GTimeZone, interval: c_int) -> i324505     pub fn g_time_zone_get_offset(tz: *mut GTimeZone, interval: c_int) -> i32;
g_time_zone_is_dst(tz: *mut GTimeZone, interval: c_int) -> gboolean4506     pub fn g_time_zone_is_dst(tz: *mut GTimeZone, interval: c_int) -> gboolean;
g_time_zone_ref(tz: *mut GTimeZone) -> *mut GTimeZone4507     pub fn g_time_zone_ref(tz: *mut GTimeZone) -> *mut GTimeZone;
g_time_zone_unref(tz: *mut GTimeZone)4508     pub fn g_time_zone_unref(tz: *mut GTimeZone);
4509 
4510     //=========================================================================
4511     // GTimer
4512     //=========================================================================
g_timer_continue(timer: *mut GTimer)4513     pub fn g_timer_continue(timer: *mut GTimer);
g_timer_destroy(timer: *mut GTimer)4514     pub fn g_timer_destroy(timer: *mut GTimer);
g_timer_elapsed(timer: *mut GTimer, microseconds: *mut c_ulong) -> c_double4515     pub fn g_timer_elapsed(timer: *mut GTimer, microseconds: *mut c_ulong) -> c_double;
4516     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_timer_is_active(timer: *mut GTimer) -> gboolean4517     pub fn g_timer_is_active(timer: *mut GTimer) -> gboolean;
g_timer_reset(timer: *mut GTimer)4518     pub fn g_timer_reset(timer: *mut GTimer);
g_timer_start(timer: *mut GTimer)4519     pub fn g_timer_start(timer: *mut GTimer);
g_timer_stop(timer: *mut GTimer)4520     pub fn g_timer_stop(timer: *mut GTimer);
g_timer_new() -> *mut GTimer4521     pub fn g_timer_new() -> *mut GTimer;
4522 
4523     //=========================================================================
4524     // GTrashStack
4525     //=========================================================================
g_trash_stack_height(stack_p: *mut *mut GTrashStack) -> c_uint4526     pub fn g_trash_stack_height(stack_p: *mut *mut GTrashStack) -> c_uint;
g_trash_stack_peek(stack_p: *mut *mut GTrashStack) -> gpointer4527     pub fn g_trash_stack_peek(stack_p: *mut *mut GTrashStack) -> gpointer;
g_trash_stack_pop(stack_p: *mut *mut GTrashStack) -> gpointer4528     pub fn g_trash_stack_pop(stack_p: *mut *mut GTrashStack) -> gpointer;
g_trash_stack_push(stack_p: *mut *mut GTrashStack, data_p: gpointer)4529     pub fn g_trash_stack_push(stack_p: *mut *mut GTrashStack, data_p: gpointer);
4530 
4531     //=========================================================================
4532     // GTree
4533     //=========================================================================
g_tree_destroy(tree: *mut GTree)4534     pub fn g_tree_destroy(tree: *mut GTree);
g_tree_foreach(tree: *mut GTree, func: GTraverseFunc, user_data: gpointer)4535     pub fn g_tree_foreach(tree: *mut GTree, func: GTraverseFunc, user_data: gpointer);
g_tree_height(tree: *mut GTree) -> c_int4536     pub fn g_tree_height(tree: *mut GTree) -> c_int;
g_tree_insert(tree: *mut GTree, key: gpointer, value: gpointer)4537     pub fn g_tree_insert(tree: *mut GTree, key: gpointer, value: gpointer);
g_tree_lookup(tree: *mut GTree, key: gconstpointer) -> gpointer4538     pub fn g_tree_lookup(tree: *mut GTree, key: gconstpointer) -> gpointer;
g_tree_lookup_extended( tree: *mut GTree, lookup_key: gconstpointer, orig_key: *mut gpointer, value: *mut gpointer, ) -> gboolean4539     pub fn g_tree_lookup_extended(
4540         tree: *mut GTree,
4541         lookup_key: gconstpointer,
4542         orig_key: *mut gpointer,
4543         value: *mut gpointer,
4544     ) -> gboolean;
g_tree_nnodes(tree: *mut GTree) -> c_int4545     pub fn g_tree_nnodes(tree: *mut GTree) -> c_int;
g_tree_ref(tree: *mut GTree) -> *mut GTree4546     pub fn g_tree_ref(tree: *mut GTree) -> *mut GTree;
g_tree_remove(tree: *mut GTree, key: gconstpointer) -> gboolean4547     pub fn g_tree_remove(tree: *mut GTree, key: gconstpointer) -> gboolean;
g_tree_replace(tree: *mut GTree, key: gpointer, value: gpointer)4548     pub fn g_tree_replace(tree: *mut GTree, key: gpointer, value: gpointer);
g_tree_search( tree: *mut GTree, search_func: GCompareFunc, user_data: gconstpointer, ) -> gpointer4549     pub fn g_tree_search(
4550         tree: *mut GTree,
4551         search_func: GCompareFunc,
4552         user_data: gconstpointer,
4553     ) -> gpointer;
g_tree_steal(tree: *mut GTree, key: gconstpointer) -> gboolean4554     pub fn g_tree_steal(tree: *mut GTree, key: gconstpointer) -> gboolean;
g_tree_traverse( tree: *mut GTree, traverse_func: GTraverseFunc, traverse_type: GTraverseType, user_data: gpointer, )4555     pub fn g_tree_traverse(
4556         tree: *mut GTree,
4557         traverse_func: GTraverseFunc,
4558         traverse_type: GTraverseType,
4559         user_data: gpointer,
4560     );
g_tree_unref(tree: *mut GTree)4561     pub fn g_tree_unref(tree: *mut GTree);
g_tree_new(key_compare_func: GCompareFunc) -> *mut GTree4562     pub fn g_tree_new(key_compare_func: GCompareFunc) -> *mut GTree;
g_tree_new_full( key_compare_func: GCompareDataFunc, key_compare_data: gpointer, key_destroy_func: GDestroyNotify, value_destroy_func: GDestroyNotify, ) -> *mut GTree4563     pub fn g_tree_new_full(
4564         key_compare_func: GCompareDataFunc,
4565         key_compare_data: gpointer,
4566         key_destroy_func: GDestroyNotify,
4567         value_destroy_func: GDestroyNotify,
4568     ) -> *mut GTree;
g_tree_new_with_data( key_compare_func: GCompareDataFunc, key_compare_data: gpointer, ) -> *mut GTree4569     pub fn g_tree_new_with_data(
4570         key_compare_func: GCompareDataFunc,
4571         key_compare_data: gpointer,
4572     ) -> *mut GTree;
4573 
4574     //=========================================================================
4575     // GVariant
4576     //=========================================================================
g_variant_new(format_string: *const c_char, ...) -> *mut GVariant4577     pub fn g_variant_new(format_string: *const c_char, ...) -> *mut GVariant;
g_variant_new_array( child_type: *const GVariantType, children: *const *mut GVariant, n_children: size_t, ) -> *mut GVariant4578     pub fn g_variant_new_array(
4579         child_type: *const GVariantType,
4580         children: *const *mut GVariant,
4581         n_children: size_t,
4582     ) -> *mut GVariant;
g_variant_new_boolean(value: gboolean) -> *mut GVariant4583     pub fn g_variant_new_boolean(value: gboolean) -> *mut GVariant;
g_variant_new_byte(value: u8) -> *mut GVariant4584     pub fn g_variant_new_byte(value: u8) -> *mut GVariant;
g_variant_new_bytestring(string: *const u8) -> *mut GVariant4585     pub fn g_variant_new_bytestring(string: *const u8) -> *mut GVariant;
g_variant_new_bytestring_array( strv: *const *const c_char, length: ssize_t, ) -> *mut GVariant4586     pub fn g_variant_new_bytestring_array(
4587         strv: *const *const c_char,
4588         length: ssize_t,
4589     ) -> *mut GVariant;
g_variant_new_dict_entry(key: *mut GVariant, value: *mut GVariant) -> *mut GVariant4590     pub fn g_variant_new_dict_entry(key: *mut GVariant, value: *mut GVariant) -> *mut GVariant;
g_variant_new_double(value: c_double) -> *mut GVariant4591     pub fn g_variant_new_double(value: c_double) -> *mut GVariant;
g_variant_new_fixed_array( element_type: *const GVariantType, elements: gconstpointer, n_elements: size_t, element_size: size_t, ) -> *mut GVariant4592     pub fn g_variant_new_fixed_array(
4593         element_type: *const GVariantType,
4594         elements: gconstpointer,
4595         n_elements: size_t,
4596         element_size: size_t,
4597     ) -> *mut GVariant;
g_variant_new_from_bytes( type_: *const GVariantType, bytes: *mut GBytes, trusted: gboolean, ) -> *mut GVariant4598     pub fn g_variant_new_from_bytes(
4599         type_: *const GVariantType,
4600         bytes: *mut GBytes,
4601         trusted: gboolean,
4602     ) -> *mut GVariant;
g_variant_new_from_data( type_: *const GVariantType, data: gconstpointer, size: size_t, trusted: gboolean, notify: GDestroyNotify, user_data: gpointer, ) -> *mut GVariant4603     pub fn g_variant_new_from_data(
4604         type_: *const GVariantType,
4605         data: gconstpointer,
4606         size: size_t,
4607         trusted: gboolean,
4608         notify: GDestroyNotify,
4609         user_data: gpointer,
4610     ) -> *mut GVariant;
g_variant_new_handle(value: i32) -> *mut GVariant4611     pub fn g_variant_new_handle(value: i32) -> *mut GVariant;
g_variant_new_int16(value: i16) -> *mut GVariant4612     pub fn g_variant_new_int16(value: i16) -> *mut GVariant;
g_variant_new_int32(value: i32) -> *mut GVariant4613     pub fn g_variant_new_int32(value: i32) -> *mut GVariant;
g_variant_new_int64(value: i64) -> *mut GVariant4614     pub fn g_variant_new_int64(value: i64) -> *mut GVariant;
g_variant_new_maybe( child_type: *const GVariantType, child: *mut GVariant, ) -> *mut GVariant4615     pub fn g_variant_new_maybe(
4616         child_type: *const GVariantType,
4617         child: *mut GVariant,
4618     ) -> *mut GVariant;
g_variant_new_object_path(object_path: *const c_char) -> *mut GVariant4619     pub fn g_variant_new_object_path(object_path: *const c_char) -> *mut GVariant;
g_variant_new_objv(strv: *const *const c_char, length: ssize_t) -> *mut GVariant4620     pub fn g_variant_new_objv(strv: *const *const c_char, length: ssize_t) -> *mut GVariant;
g_variant_new_parsed(format: *const c_char, ...) -> *mut GVariant4621     pub fn g_variant_new_parsed(format: *const c_char, ...) -> *mut GVariant;
4622     //pub fn g_variant_new_parsed_va(format: *const c_char, app: /*Unimplemented*/*mut va_list) -> *mut GVariant;
g_variant_new_printf(format_string: *const c_char, ...) -> *mut GVariant4623     pub fn g_variant_new_printf(format_string: *const c_char, ...) -> *mut GVariant;
g_variant_new_signature(signature: *const c_char) -> *mut GVariant4624     pub fn g_variant_new_signature(signature: *const c_char) -> *mut GVariant;
g_variant_new_string(string: *const c_char) -> *mut GVariant4625     pub fn g_variant_new_string(string: *const c_char) -> *mut GVariant;
g_variant_new_strv(strv: *const *const c_char, length: ssize_t) -> *mut GVariant4626     pub fn g_variant_new_strv(strv: *const *const c_char, length: ssize_t) -> *mut GVariant;
g_variant_new_take_string(string: *mut c_char) -> *mut GVariant4627     pub fn g_variant_new_take_string(string: *mut c_char) -> *mut GVariant;
g_variant_new_tuple(children: *const *mut GVariant, n_children: size_t) -> *mut GVariant4628     pub fn g_variant_new_tuple(children: *const *mut GVariant, n_children: size_t)
4629         -> *mut GVariant;
g_variant_new_uint16(value: u16) -> *mut GVariant4630     pub fn g_variant_new_uint16(value: u16) -> *mut GVariant;
g_variant_new_uint32(value: u32) -> *mut GVariant4631     pub fn g_variant_new_uint32(value: u32) -> *mut GVariant;
g_variant_new_uint64(value: u64) -> *mut GVariant4632     pub fn g_variant_new_uint64(value: u64) -> *mut GVariant;
4633     //pub fn g_variant_new_va(format_string: *const c_char, endptr: *mut *const c_char, app: /*Unimplemented*/*mut va_list) -> *mut GVariant;
g_variant_new_variant(value: *mut GVariant) -> *mut GVariant4634     pub fn g_variant_new_variant(value: *mut GVariant) -> *mut GVariant;
g_variant_byteswap(value: *mut GVariant) -> *mut GVariant4635     pub fn g_variant_byteswap(value: *mut GVariant) -> *mut GVariant;
g_variant_check_format_string( value: *mut GVariant, format_string: *const c_char, copy_only: gboolean, ) -> gboolean4636     pub fn g_variant_check_format_string(
4637         value: *mut GVariant,
4638         format_string: *const c_char,
4639         copy_only: gboolean,
4640     ) -> gboolean;
g_variant_classify(value: *mut GVariant) -> GVariantClass4641     pub fn g_variant_classify(value: *mut GVariant) -> GVariantClass;
g_variant_compare(one: gconstpointer, two: gconstpointer) -> c_int4642     pub fn g_variant_compare(one: gconstpointer, two: gconstpointer) -> c_int;
g_variant_dup_bytestring(value: *mut GVariant, length: *mut size_t) -> *mut u84643     pub fn g_variant_dup_bytestring(value: *mut GVariant, length: *mut size_t) -> *mut u8;
g_variant_dup_bytestring_array( value: *mut GVariant, length: *mut size_t, ) -> *mut *mut c_char4644     pub fn g_variant_dup_bytestring_array(
4645         value: *mut GVariant,
4646         length: *mut size_t,
4647     ) -> *mut *mut c_char;
g_variant_dup_objv(value: *mut GVariant, length: *mut size_t) -> *mut *mut c_char4648     pub fn g_variant_dup_objv(value: *mut GVariant, length: *mut size_t) -> *mut *mut c_char;
g_variant_dup_string(value: *mut GVariant, length: *mut size_t) -> *mut c_char4649     pub fn g_variant_dup_string(value: *mut GVariant, length: *mut size_t) -> *mut c_char;
g_variant_dup_strv(value: *mut GVariant, length: *mut size_t) -> *mut *mut c_char4650     pub fn g_variant_dup_strv(value: *mut GVariant, length: *mut size_t) -> *mut *mut c_char;
g_variant_equal(one: gconstpointer, two: gconstpointer) -> gboolean4651     pub fn g_variant_equal(one: gconstpointer, two: gconstpointer) -> gboolean;
g_variant_get(value: *mut GVariant, format_string: *const c_char, ...)4652     pub fn g_variant_get(value: *mut GVariant, format_string: *const c_char, ...);
g_variant_get_boolean(value: *mut GVariant) -> gboolean4653     pub fn g_variant_get_boolean(value: *mut GVariant) -> gboolean;
g_variant_get_byte(value: *mut GVariant) -> u84654     pub fn g_variant_get_byte(value: *mut GVariant) -> u8;
g_variant_get_bytestring(value: *mut GVariant) -> *const u84655     pub fn g_variant_get_bytestring(value: *mut GVariant) -> *const u8;
g_variant_get_bytestring_array( value: *mut GVariant, length: *mut size_t, ) -> *mut *const c_char4656     pub fn g_variant_get_bytestring_array(
4657         value: *mut GVariant,
4658         length: *mut size_t,
4659     ) -> *mut *const c_char;
g_variant_get_child( value: *mut GVariant, index_: size_t, format_string: *const c_char, ... )4660     pub fn g_variant_get_child(
4661         value: *mut GVariant,
4662         index_: size_t,
4663         format_string: *const c_char,
4664         ...
4665     );
g_variant_get_child_value(value: *mut GVariant, index_: size_t) -> *mut GVariant4666     pub fn g_variant_get_child_value(value: *mut GVariant, index_: size_t) -> *mut GVariant;
g_variant_get_data(value: *mut GVariant) -> gconstpointer4667     pub fn g_variant_get_data(value: *mut GVariant) -> gconstpointer;
g_variant_get_data_as_bytes(value: *mut GVariant) -> *mut GBytes4668     pub fn g_variant_get_data_as_bytes(value: *mut GVariant) -> *mut GBytes;
g_variant_get_double(value: *mut GVariant) -> c_double4669     pub fn g_variant_get_double(value: *mut GVariant) -> c_double;
g_variant_get_fixed_array( value: *mut GVariant, n_elements: *mut size_t, element_size: size_t, ) -> gconstpointer4670     pub fn g_variant_get_fixed_array(
4671         value: *mut GVariant,
4672         n_elements: *mut size_t,
4673         element_size: size_t,
4674     ) -> gconstpointer;
g_variant_get_handle(value: *mut GVariant) -> i324675     pub fn g_variant_get_handle(value: *mut GVariant) -> i32;
g_variant_get_int16(value: *mut GVariant) -> i164676     pub fn g_variant_get_int16(value: *mut GVariant) -> i16;
g_variant_get_int32(value: *mut GVariant) -> i324677     pub fn g_variant_get_int32(value: *mut GVariant) -> i32;
g_variant_get_int64(value: *mut GVariant) -> i644678     pub fn g_variant_get_int64(value: *mut GVariant) -> i64;
g_variant_get_maybe(value: *mut GVariant) -> *mut GVariant4679     pub fn g_variant_get_maybe(value: *mut GVariant) -> *mut GVariant;
g_variant_get_normal_form(value: *mut GVariant) -> *mut GVariant4680     pub fn g_variant_get_normal_form(value: *mut GVariant) -> *mut GVariant;
g_variant_get_objv(value: *mut GVariant, length: *mut size_t) -> *mut *const c_char4681     pub fn g_variant_get_objv(value: *mut GVariant, length: *mut size_t) -> *mut *const c_char;
g_variant_get_size(value: *mut GVariant) -> size_t4682     pub fn g_variant_get_size(value: *mut GVariant) -> size_t;
g_variant_get_string(value: *mut GVariant, length: *mut size_t) -> *const c_char4683     pub fn g_variant_get_string(value: *mut GVariant, length: *mut size_t) -> *const c_char;
g_variant_get_strv(value: *mut GVariant, length: *mut size_t) -> *mut *const c_char4684     pub fn g_variant_get_strv(value: *mut GVariant, length: *mut size_t) -> *mut *const c_char;
g_variant_get_type(value: *mut GVariant) -> *const GVariantType4685     pub fn g_variant_get_type(value: *mut GVariant) -> *const GVariantType;
g_variant_get_type_string(value: *mut GVariant) -> *const c_char4686     pub fn g_variant_get_type_string(value: *mut GVariant) -> *const c_char;
g_variant_get_uint16(value: *mut GVariant) -> u164687     pub fn g_variant_get_uint16(value: *mut GVariant) -> u16;
g_variant_get_uint32(value: *mut GVariant) -> u324688     pub fn g_variant_get_uint32(value: *mut GVariant) -> u32;
g_variant_get_uint64(value: *mut GVariant) -> u644689     pub fn g_variant_get_uint64(value: *mut GVariant) -> u64;
4690     //pub fn g_variant_get_va(value: *mut GVariant, format_string: *const c_char, endptr: *mut *const c_char, app: /*Unimplemented*/*mut va_list);
g_variant_get_variant(value: *mut GVariant) -> *mut GVariant4691     pub fn g_variant_get_variant(value: *mut GVariant) -> *mut GVariant;
g_variant_hash(value: gconstpointer) -> c_uint4692     pub fn g_variant_hash(value: gconstpointer) -> c_uint;
g_variant_is_container(value: *mut GVariant) -> gboolean4693     pub fn g_variant_is_container(value: *mut GVariant) -> gboolean;
g_variant_is_floating(value: *mut GVariant) -> gboolean4694     pub fn g_variant_is_floating(value: *mut GVariant) -> gboolean;
g_variant_is_normal_form(value: *mut GVariant) -> gboolean4695     pub fn g_variant_is_normal_form(value: *mut GVariant) -> gboolean;
g_variant_is_of_type(value: *mut GVariant, type_: *const GVariantType) -> gboolean4696     pub fn g_variant_is_of_type(value: *mut GVariant, type_: *const GVariantType) -> gboolean;
g_variant_iter_new(value: *mut GVariant) -> *mut GVariantIter4697     pub fn g_variant_iter_new(value: *mut GVariant) -> *mut GVariantIter;
g_variant_lookup( dictionary: *mut GVariant, key: *const c_char, format_string: *const c_char, ... ) -> gboolean4698     pub fn g_variant_lookup(
4699         dictionary: *mut GVariant,
4700         key: *const c_char,
4701         format_string: *const c_char,
4702         ...
4703     ) -> gboolean;
g_variant_lookup_value( dictionary: *mut GVariant, key: *const c_char, expected_type: *const GVariantType, ) -> *mut GVariant4704     pub fn g_variant_lookup_value(
4705         dictionary: *mut GVariant,
4706         key: *const c_char,
4707         expected_type: *const GVariantType,
4708     ) -> *mut GVariant;
g_variant_n_children(value: *mut GVariant) -> size_t4709     pub fn g_variant_n_children(value: *mut GVariant) -> size_t;
g_variant_print(value: *mut GVariant, type_annotate: gboolean) -> *mut c_char4710     pub fn g_variant_print(value: *mut GVariant, type_annotate: gboolean) -> *mut c_char;
g_variant_print_string( value: *mut GVariant, string: *mut GString, type_annotate: gboolean, ) -> *mut GString4711     pub fn g_variant_print_string(
4712         value: *mut GVariant,
4713         string: *mut GString,
4714         type_annotate: gboolean,
4715     ) -> *mut GString;
g_variant_ref(value: *mut GVariant) -> *mut GVariant4716     pub fn g_variant_ref(value: *mut GVariant) -> *mut GVariant;
g_variant_ref_sink(value: *mut GVariant) -> *mut GVariant4717     pub fn g_variant_ref_sink(value: *mut GVariant) -> *mut GVariant;
g_variant_store(value: *mut GVariant, data: gpointer)4718     pub fn g_variant_store(value: *mut GVariant, data: gpointer);
g_variant_take_ref(value: *mut GVariant) -> *mut GVariant4719     pub fn g_variant_take_ref(value: *mut GVariant) -> *mut GVariant;
g_variant_unref(value: *mut GVariant)4720     pub fn g_variant_unref(value: *mut GVariant);
g_variant_is_object_path(string: *const c_char) -> gboolean4721     pub fn g_variant_is_object_path(string: *const c_char) -> gboolean;
g_variant_is_signature(string: *const c_char) -> gboolean4722     pub fn g_variant_is_signature(string: *const c_char) -> gboolean;
g_variant_parse( type_: *const GVariantType, text: *const c_char, limit: *const c_char, endptr: *mut *const c_char, error: *mut *mut GError, ) -> *mut GVariant4723     pub fn g_variant_parse(
4724         type_: *const GVariantType,
4725         text: *const c_char,
4726         limit: *const c_char,
4727         endptr: *mut *const c_char,
4728         error: *mut *mut GError,
4729     ) -> *mut GVariant;
g_variant_parse_error_print_context( error: *mut GError, source_str: *const c_char, ) -> *mut c_char4730     pub fn g_variant_parse_error_print_context(
4731         error: *mut GError,
4732         source_str: *const c_char,
4733     ) -> *mut c_char;
g_variant_parse_error_quark() -> GQuark4734     pub fn g_variant_parse_error_quark() -> GQuark;
g_variant_parser_get_error_quark() -> GQuark4735     pub fn g_variant_parser_get_error_quark() -> GQuark;
4736 
4737     //=========================================================================
4738     // GVariantBuilder
4739     //=========================================================================
g_variant_builder_get_type() -> GType4740     pub fn g_variant_builder_get_type() -> GType;
g_variant_builder_new(type_: *const GVariantType) -> *mut GVariantBuilder4741     pub fn g_variant_builder_new(type_: *const GVariantType) -> *mut GVariantBuilder;
g_variant_builder_add(builder: *mut GVariantBuilder, format_string: *const c_char, ...)4742     pub fn g_variant_builder_add(builder: *mut GVariantBuilder, format_string: *const c_char, ...);
g_variant_builder_add_parsed(builder: *mut GVariantBuilder, format: *const c_char, ...)4743     pub fn g_variant_builder_add_parsed(builder: *mut GVariantBuilder, format: *const c_char, ...);
g_variant_builder_add_value(builder: *mut GVariantBuilder, value: *mut GVariant)4744     pub fn g_variant_builder_add_value(builder: *mut GVariantBuilder, value: *mut GVariant);
g_variant_builder_clear(builder: *mut GVariantBuilder)4745     pub fn g_variant_builder_clear(builder: *mut GVariantBuilder);
g_variant_builder_close(builder: *mut GVariantBuilder)4746     pub fn g_variant_builder_close(builder: *mut GVariantBuilder);
g_variant_builder_end(builder: *mut GVariantBuilder) -> *mut GVariant4747     pub fn g_variant_builder_end(builder: *mut GVariantBuilder) -> *mut GVariant;
g_variant_builder_init(builder: *mut GVariantBuilder, type_: *const GVariantType)4748     pub fn g_variant_builder_init(builder: *mut GVariantBuilder, type_: *const GVariantType);
g_variant_builder_open(builder: *mut GVariantBuilder, type_: *const GVariantType)4749     pub fn g_variant_builder_open(builder: *mut GVariantBuilder, type_: *const GVariantType);
g_variant_builder_ref(builder: *mut GVariantBuilder) -> *mut GVariantBuilder4750     pub fn g_variant_builder_ref(builder: *mut GVariantBuilder) -> *mut GVariantBuilder;
g_variant_builder_unref(builder: *mut GVariantBuilder)4751     pub fn g_variant_builder_unref(builder: *mut GVariantBuilder);
4752 
4753     //=========================================================================
4754     // GVariantDict
4755     //=========================================================================
g_variant_dict_get_type() -> GType4756     pub fn g_variant_dict_get_type() -> GType;
g_variant_dict_new(from_asv: *mut GVariant) -> *mut GVariantDict4757     pub fn g_variant_dict_new(from_asv: *mut GVariant) -> *mut GVariantDict;
g_variant_dict_clear(dict: *mut GVariantDict)4758     pub fn g_variant_dict_clear(dict: *mut GVariantDict);
g_variant_dict_contains(dict: *mut GVariantDict, key: *const c_char) -> gboolean4759     pub fn g_variant_dict_contains(dict: *mut GVariantDict, key: *const c_char) -> gboolean;
g_variant_dict_end(dict: *mut GVariantDict) -> *mut GVariant4760     pub fn g_variant_dict_end(dict: *mut GVariantDict) -> *mut GVariant;
g_variant_dict_init(dict: *mut GVariantDict, from_asv: *mut GVariant)4761     pub fn g_variant_dict_init(dict: *mut GVariantDict, from_asv: *mut GVariant);
g_variant_dict_insert( dict: *mut GVariantDict, key: *const c_char, format_string: *const c_char, ... )4762     pub fn g_variant_dict_insert(
4763         dict: *mut GVariantDict,
4764         key: *const c_char,
4765         format_string: *const c_char,
4766         ...
4767     );
g_variant_dict_insert_value( dict: *mut GVariantDict, key: *const c_char, value: *mut GVariant, )4768     pub fn g_variant_dict_insert_value(
4769         dict: *mut GVariantDict,
4770         key: *const c_char,
4771         value: *mut GVariant,
4772     );
g_variant_dict_lookup( dict: *mut GVariantDict, key: *const c_char, format_string: *const c_char, ... ) -> gboolean4773     pub fn g_variant_dict_lookup(
4774         dict: *mut GVariantDict,
4775         key: *const c_char,
4776         format_string: *const c_char,
4777         ...
4778     ) -> gboolean;
g_variant_dict_lookup_value( dict: *mut GVariantDict, key: *const c_char, expected_type: *const GVariantType, ) -> *mut GVariant4779     pub fn g_variant_dict_lookup_value(
4780         dict: *mut GVariantDict,
4781         key: *const c_char,
4782         expected_type: *const GVariantType,
4783     ) -> *mut GVariant;
g_variant_dict_ref(dict: *mut GVariantDict) -> *mut GVariantDict4784     pub fn g_variant_dict_ref(dict: *mut GVariantDict) -> *mut GVariantDict;
g_variant_dict_remove(dict: *mut GVariantDict, key: *const c_char) -> gboolean4785     pub fn g_variant_dict_remove(dict: *mut GVariantDict, key: *const c_char) -> gboolean;
g_variant_dict_unref(dict: *mut GVariantDict)4786     pub fn g_variant_dict_unref(dict: *mut GVariantDict);
4787 
4788     //=========================================================================
4789     // GVariantIter
4790     //=========================================================================
g_variant_iter_copy(iter: *mut GVariantIter) -> *mut GVariantIter4791     pub fn g_variant_iter_copy(iter: *mut GVariantIter) -> *mut GVariantIter;
g_variant_iter_free(iter: *mut GVariantIter)4792     pub fn g_variant_iter_free(iter: *mut GVariantIter);
g_variant_iter_init(iter: *mut GVariantIter, value: *mut GVariant) -> size_t4793     pub fn g_variant_iter_init(iter: *mut GVariantIter, value: *mut GVariant) -> size_t;
g_variant_iter_loop( iter: *mut GVariantIter, format_string: *const c_char, ... ) -> gboolean4794     pub fn g_variant_iter_loop(
4795         iter: *mut GVariantIter,
4796         format_string: *const c_char,
4797         ...
4798     ) -> gboolean;
g_variant_iter_n_children(iter: *mut GVariantIter) -> size_t4799     pub fn g_variant_iter_n_children(iter: *mut GVariantIter) -> size_t;
g_variant_iter_next( iter: *mut GVariantIter, format_string: *const c_char, ... ) -> gboolean4800     pub fn g_variant_iter_next(
4801         iter: *mut GVariantIter,
4802         format_string: *const c_char,
4803         ...
4804     ) -> gboolean;
g_variant_iter_next_value(iter: *mut GVariantIter) -> *mut GVariant4805     pub fn g_variant_iter_next_value(iter: *mut GVariantIter) -> *mut GVariant;
4806 
4807     //=========================================================================
4808     // GVariantType
4809     //=========================================================================
g_variant_type_get_gtype() -> GType4810     pub fn g_variant_type_get_gtype() -> GType;
g_variant_type_new(type_string: *const c_char) -> *mut GVariantType4811     pub fn g_variant_type_new(type_string: *const c_char) -> *mut GVariantType;
g_variant_type_new_array(element: *const GVariantType) -> *mut GVariantType4812     pub fn g_variant_type_new_array(element: *const GVariantType) -> *mut GVariantType;
g_variant_type_new_dict_entry( key: *const GVariantType, value: *const GVariantType, ) -> *mut GVariantType4813     pub fn g_variant_type_new_dict_entry(
4814         key: *const GVariantType,
4815         value: *const GVariantType,
4816     ) -> *mut GVariantType;
g_variant_type_new_maybe(element: *const GVariantType) -> *mut GVariantType4817     pub fn g_variant_type_new_maybe(element: *const GVariantType) -> *mut GVariantType;
g_variant_type_new_tuple( items: *const *const GVariantType, length: c_int, ) -> *mut GVariantType4818     pub fn g_variant_type_new_tuple(
4819         items: *const *const GVariantType,
4820         length: c_int,
4821     ) -> *mut GVariantType;
g_variant_type_copy(type_: *const GVariantType) -> *mut GVariantType4822     pub fn g_variant_type_copy(type_: *const GVariantType) -> *mut GVariantType;
g_variant_type_dup_string(type_: *const GVariantType) -> *mut c_char4823     pub fn g_variant_type_dup_string(type_: *const GVariantType) -> *mut c_char;
g_variant_type_element(type_: *const GVariantType) -> *const GVariantType4824     pub fn g_variant_type_element(type_: *const GVariantType) -> *const GVariantType;
g_variant_type_equal(type1: gconstpointer, type2: gconstpointer) -> gboolean4825     pub fn g_variant_type_equal(type1: gconstpointer, type2: gconstpointer) -> gboolean;
g_variant_type_first(type_: *const GVariantType) -> *const GVariantType4826     pub fn g_variant_type_first(type_: *const GVariantType) -> *const GVariantType;
g_variant_type_free(type_: *mut GVariantType)4827     pub fn g_variant_type_free(type_: *mut GVariantType);
g_variant_type_get_string_length(type_: *const GVariantType) -> size_t4828     pub fn g_variant_type_get_string_length(type_: *const GVariantType) -> size_t;
g_variant_type_hash(type_: gconstpointer) -> c_uint4829     pub fn g_variant_type_hash(type_: gconstpointer) -> c_uint;
g_variant_type_is_array(type_: *const GVariantType) -> gboolean4830     pub fn g_variant_type_is_array(type_: *const GVariantType) -> gboolean;
g_variant_type_is_basic(type_: *const GVariantType) -> gboolean4831     pub fn g_variant_type_is_basic(type_: *const GVariantType) -> gboolean;
g_variant_type_is_container(type_: *const GVariantType) -> gboolean4832     pub fn g_variant_type_is_container(type_: *const GVariantType) -> gboolean;
g_variant_type_is_definite(type_: *const GVariantType) -> gboolean4833     pub fn g_variant_type_is_definite(type_: *const GVariantType) -> gboolean;
g_variant_type_is_dict_entry(type_: *const GVariantType) -> gboolean4834     pub fn g_variant_type_is_dict_entry(type_: *const GVariantType) -> gboolean;
g_variant_type_is_maybe(type_: *const GVariantType) -> gboolean4835     pub fn g_variant_type_is_maybe(type_: *const GVariantType) -> gboolean;
g_variant_type_is_subtype_of( type_: *const GVariantType, supertype: *const GVariantType, ) -> gboolean4836     pub fn g_variant_type_is_subtype_of(
4837         type_: *const GVariantType,
4838         supertype: *const GVariantType,
4839     ) -> gboolean;
g_variant_type_is_tuple(type_: *const GVariantType) -> gboolean4840     pub fn g_variant_type_is_tuple(type_: *const GVariantType) -> gboolean;
g_variant_type_is_variant(type_: *const GVariantType) -> gboolean4841     pub fn g_variant_type_is_variant(type_: *const GVariantType) -> gboolean;
g_variant_type_key(type_: *const GVariantType) -> *const GVariantType4842     pub fn g_variant_type_key(type_: *const GVariantType) -> *const GVariantType;
g_variant_type_n_items(type_: *const GVariantType) -> size_t4843     pub fn g_variant_type_n_items(type_: *const GVariantType) -> size_t;
g_variant_type_next(type_: *const GVariantType) -> *const GVariantType4844     pub fn g_variant_type_next(type_: *const GVariantType) -> *const GVariantType;
g_variant_type_peek_string(type_: *const GVariantType) -> *const c_char4845     pub fn g_variant_type_peek_string(type_: *const GVariantType) -> *const c_char;
g_variant_type_value(type_: *const GVariantType) -> *const GVariantType4846     pub fn g_variant_type_value(type_: *const GVariantType) -> *const GVariantType;
g_variant_type_checked_(arg0: *const c_char) -> *const GVariantType4847     pub fn g_variant_type_checked_(arg0: *const c_char) -> *const GVariantType;
g_variant_type_string_get_depth_(type_string: *const c_char) -> size_t4848     pub fn g_variant_type_string_get_depth_(type_string: *const c_char) -> size_t;
g_variant_type_string_is_valid(type_string: *const c_char) -> gboolean4849     pub fn g_variant_type_string_is_valid(type_string: *const c_char) -> gboolean;
g_variant_type_string_scan( string: *const c_char, limit: *const c_char, endptr: *mut *const c_char, ) -> gboolean4850     pub fn g_variant_type_string_scan(
4851         string: *const c_char,
4852         limit: *const c_char,
4853         endptr: *mut *const c_char,
4854     ) -> gboolean;
4855 
4856     //=========================================================================
4857     // Other functions
4858     //=========================================================================
g_access(filename: *const c_char, mode: c_int) -> c_int4859     pub fn g_access(filename: *const c_char, mode: c_int) -> c_int;
g_ascii_digit_value(c: c_char) -> c_int4860     pub fn g_ascii_digit_value(c: c_char) -> c_int;
g_ascii_dtostr(buffer: *mut c_char, buf_len: c_int, d: c_double) -> *mut c_char4861     pub fn g_ascii_dtostr(buffer: *mut c_char, buf_len: c_int, d: c_double) -> *mut c_char;
g_ascii_formatd( buffer: *mut c_char, buf_len: c_int, format: *const c_char, d: c_double, ) -> *mut c_char4862     pub fn g_ascii_formatd(
4863         buffer: *mut c_char,
4864         buf_len: c_int,
4865         format: *const c_char,
4866         d: c_double,
4867     ) -> *mut c_char;
g_ascii_strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int4868     pub fn g_ascii_strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int;
g_ascii_strdown(str: *const c_char, len: ssize_t) -> *mut c_char4869     pub fn g_ascii_strdown(str: *const c_char, len: ssize_t) -> *mut c_char;
4870     #[cfg(any(feature = "v2_54", feature = "dox"))]
g_ascii_string_to_signed( str: *const c_char, base: c_uint, min: i64, max: i64, out_num: *mut i64, error: *mut *mut GError, ) -> gboolean4871     pub fn g_ascii_string_to_signed(
4872         str: *const c_char,
4873         base: c_uint,
4874         min: i64,
4875         max: i64,
4876         out_num: *mut i64,
4877         error: *mut *mut GError,
4878     ) -> gboolean;
4879     #[cfg(any(feature = "v2_54", feature = "dox"))]
g_ascii_string_to_unsigned( str: *const c_char, base: c_uint, min: u64, max: u64, out_num: *mut u64, error: *mut *mut GError, ) -> gboolean4880     pub fn g_ascii_string_to_unsigned(
4881         str: *const c_char,
4882         base: c_uint,
4883         min: u64,
4884         max: u64,
4885         out_num: *mut u64,
4886         error: *mut *mut GError,
4887     ) -> gboolean;
g_ascii_strncasecmp(s1: *const c_char, s2: *const c_char, n: size_t) -> c_int4888     pub fn g_ascii_strncasecmp(s1: *const c_char, s2: *const c_char, n: size_t) -> c_int;
g_ascii_strtod(nptr: *const c_char, endptr: *mut *mut c_char) -> c_double4889     pub fn g_ascii_strtod(nptr: *const c_char, endptr: *mut *mut c_char) -> c_double;
g_ascii_strtoll(nptr: *const c_char, endptr: *mut *mut c_char, base: c_uint) -> i644890     pub fn g_ascii_strtoll(nptr: *const c_char, endptr: *mut *mut c_char, base: c_uint) -> i64;
g_ascii_strtoull(nptr: *const c_char, endptr: *mut *mut c_char, base: c_uint) -> u644891     pub fn g_ascii_strtoull(nptr: *const c_char, endptr: *mut *mut c_char, base: c_uint) -> u64;
g_ascii_strup(str: *const c_char, len: ssize_t) -> *mut c_char4892     pub fn g_ascii_strup(str: *const c_char, len: ssize_t) -> *mut c_char;
g_ascii_tolower(c: c_char) -> c_char4893     pub fn g_ascii_tolower(c: c_char) -> c_char;
g_ascii_toupper(c: c_char) -> c_char4894     pub fn g_ascii_toupper(c: c_char) -> c_char;
g_ascii_xdigit_value(c: c_char) -> c_int4895     pub fn g_ascii_xdigit_value(c: c_char) -> c_int;
g_assert_warning( log_domain: *const c_char, file: *const c_char, line: c_int, pretty_function: *const c_char, expression: *const c_char, )4896     pub fn g_assert_warning(
4897         log_domain: *const c_char,
4898         file: *const c_char,
4899         line: c_int,
4900         pretty_function: *const c_char,
4901         expression: *const c_char,
4902     );
g_assertion_message( domain: *const c_char, file: *const c_char, line: c_int, func: *const c_char, message: *const c_char, )4903     pub fn g_assertion_message(
4904         domain: *const c_char,
4905         file: *const c_char,
4906         line: c_int,
4907         func: *const c_char,
4908         message: *const c_char,
4909     );
4910     //pub fn g_assertion_message_cmpnum(domain: *const c_char, file: *const c_char, line: c_int, func: *const c_char, expr: *const c_char, arg1: /*Unimplemented*/long double, cmp: *const c_char, arg2: /*Unimplemented*/long double, numtype: c_char);
g_assertion_message_cmpstr( domain: *const c_char, file: *const c_char, line: c_int, func: *const c_char, expr: *const c_char, arg1: *const c_char, cmp: *const c_char, arg2: *const c_char, )4911     pub fn g_assertion_message_cmpstr(
4912         domain: *const c_char,
4913         file: *const c_char,
4914         line: c_int,
4915         func: *const c_char,
4916         expr: *const c_char,
4917         arg1: *const c_char,
4918         cmp: *const c_char,
4919         arg2: *const c_char,
4920     );
g_assertion_message_error( domain: *const c_char, file: *const c_char, line: c_int, func: *const c_char, expr: *const c_char, error: *const GError, error_domain: GQuark, error_code: c_int, )4921     pub fn g_assertion_message_error(
4922         domain: *const c_char,
4923         file: *const c_char,
4924         line: c_int,
4925         func: *const c_char,
4926         expr: *const c_char,
4927         error: *const GError,
4928         error_domain: GQuark,
4929         error_code: c_int,
4930     );
g_assertion_message_expr( domain: *const c_char, file: *const c_char, line: c_int, func: *const c_char, expr: *const c_char, )4931     pub fn g_assertion_message_expr(
4932         domain: *const c_char,
4933         file: *const c_char,
4934         line: c_int,
4935         func: *const c_char,
4936         expr: *const c_char,
4937     );
g_atexit(func: GVoidFunc)4938     pub fn g_atexit(func: GVoidFunc);
g_atomic_int_add(atomic: *mut c_int, val: c_int) -> c_int4939     pub fn g_atomic_int_add(atomic: *mut c_int, val: c_int) -> c_int;
g_atomic_int_and(atomic: *mut c_uint, val: c_uint) -> c_uint4940     pub fn g_atomic_int_and(atomic: *mut c_uint, val: c_uint) -> c_uint;
g_atomic_int_compare_and_exchange( atomic: *mut c_int, oldval: c_int, newval: c_int, ) -> gboolean4941     pub fn g_atomic_int_compare_and_exchange(
4942         atomic: *mut c_int,
4943         oldval: c_int,
4944         newval: c_int,
4945     ) -> gboolean;
g_atomic_int_dec_and_test(atomic: *mut c_int) -> gboolean4946     pub fn g_atomic_int_dec_and_test(atomic: *mut c_int) -> gboolean;
g_atomic_int_exchange_and_add(atomic: *mut c_int, val: c_int) -> c_int4947     pub fn g_atomic_int_exchange_and_add(atomic: *mut c_int, val: c_int) -> c_int;
g_atomic_int_get(atomic: *const c_int) -> c_int4948     pub fn g_atomic_int_get(atomic: *const c_int) -> c_int;
g_atomic_int_inc(atomic: *mut c_int)4949     pub fn g_atomic_int_inc(atomic: *mut c_int);
g_atomic_int_or(atomic: *mut c_uint, val: c_uint) -> c_uint4950     pub fn g_atomic_int_or(atomic: *mut c_uint, val: c_uint) -> c_uint;
g_atomic_int_set(atomic: *mut c_int, newval: c_int)4951     pub fn g_atomic_int_set(atomic: *mut c_int, newval: c_int);
g_atomic_int_xor(atomic: *mut c_uint, val: c_uint) -> c_uint4952     pub fn g_atomic_int_xor(atomic: *mut c_uint, val: c_uint) -> c_uint;
g_atomic_pointer_add(atomic: *mut c_void, val: ssize_t) -> ssize_t4953     pub fn g_atomic_pointer_add(atomic: *mut c_void, val: ssize_t) -> ssize_t;
g_atomic_pointer_and(atomic: *mut c_void, val: size_t) -> size_t4954     pub fn g_atomic_pointer_and(atomic: *mut c_void, val: size_t) -> size_t;
g_atomic_pointer_compare_and_exchange( atomic: *mut c_void, oldval: gpointer, newval: gpointer, ) -> gboolean4955     pub fn g_atomic_pointer_compare_and_exchange(
4956         atomic: *mut c_void,
4957         oldval: gpointer,
4958         newval: gpointer,
4959     ) -> gboolean;
g_atomic_pointer_get(atomic: *mut c_void) -> gpointer4960     pub fn g_atomic_pointer_get(atomic: *mut c_void) -> gpointer;
g_atomic_pointer_or(atomic: *mut c_void, val: size_t) -> size_t4961     pub fn g_atomic_pointer_or(atomic: *mut c_void, val: size_t) -> size_t;
g_atomic_pointer_set(atomic: *mut c_void, newval: gpointer)4962     pub fn g_atomic_pointer_set(atomic: *mut c_void, newval: gpointer);
g_atomic_pointer_xor(atomic: *mut c_void, val: size_t) -> size_t4963     pub fn g_atomic_pointer_xor(atomic: *mut c_void, val: size_t) -> size_t;
4964     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_atomic_rc_box_acquire(mem_block: gpointer) -> gpointer4965     pub fn g_atomic_rc_box_acquire(mem_block: gpointer) -> gpointer;
4966     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_atomic_rc_box_alloc(block_size: size_t) -> gpointer4967     pub fn g_atomic_rc_box_alloc(block_size: size_t) -> gpointer;
4968     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_atomic_rc_box_alloc0(block_size: size_t) -> gpointer4969     pub fn g_atomic_rc_box_alloc0(block_size: size_t) -> gpointer;
4970     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_atomic_rc_box_dup(block_size: size_t, mem_block: gconstpointer) -> gpointer4971     pub fn g_atomic_rc_box_dup(block_size: size_t, mem_block: gconstpointer) -> gpointer;
4972     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_atomic_rc_box_get_size(mem_block: gpointer) -> size_t4973     pub fn g_atomic_rc_box_get_size(mem_block: gpointer) -> size_t;
4974     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_atomic_rc_box_release(mem_block: gpointer)4975     pub fn g_atomic_rc_box_release(mem_block: gpointer);
4976     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_atomic_rc_box_release_full(mem_block: gpointer, clear_func: GDestroyNotify)4977     pub fn g_atomic_rc_box_release_full(mem_block: gpointer, clear_func: GDestroyNotify);
4978     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_atomic_ref_count_compare(arc: *mut c_int, val: c_int) -> gboolean4979     pub fn g_atomic_ref_count_compare(arc: *mut c_int, val: c_int) -> gboolean;
4980     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_atomic_ref_count_dec(arc: *mut c_int) -> gboolean4981     pub fn g_atomic_ref_count_dec(arc: *mut c_int) -> gboolean;
4982     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_atomic_ref_count_inc(arc: *mut c_int)4983     pub fn g_atomic_ref_count_inc(arc: *mut c_int);
4984     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_atomic_ref_count_init(arc: *mut c_int)4985     pub fn g_atomic_ref_count_init(arc: *mut c_int);
g_base64_decode(text: *const c_char, out_len: *mut size_t) -> *mut u84986     pub fn g_base64_decode(text: *const c_char, out_len: *mut size_t) -> *mut u8;
g_base64_decode_inplace(text: *mut u8, out_len: *mut size_t) -> *mut u84987     pub fn g_base64_decode_inplace(text: *mut u8, out_len: *mut size_t) -> *mut u8;
g_base64_decode_step( in_: *const u8, len: size_t, out: *mut u8, state: *mut c_int, save: *mut c_uint, ) -> size_t4988     pub fn g_base64_decode_step(
4989         in_: *const u8,
4990         len: size_t,
4991         out: *mut u8,
4992         state: *mut c_int,
4993         save: *mut c_uint,
4994     ) -> size_t;
g_base64_encode(data: *const u8, len: size_t) -> *mut c_char4995     pub fn g_base64_encode(data: *const u8, len: size_t) -> *mut c_char;
g_base64_encode_close( break_lines: gboolean, out: *mut u8, state: *mut c_int, save: *mut c_int, ) -> size_t4996     pub fn g_base64_encode_close(
4997         break_lines: gboolean,
4998         out: *mut u8,
4999         state: *mut c_int,
5000         save: *mut c_int,
5001     ) -> size_t;
g_base64_encode_step( in_: *const u8, len: size_t, break_lines: gboolean, out: *mut u8, state: *mut c_int, save: *mut c_int, ) -> size_t5002     pub fn g_base64_encode_step(
5003         in_: *const u8,
5004         len: size_t,
5005         break_lines: gboolean,
5006         out: *mut u8,
5007         state: *mut c_int,
5008         save: *mut c_int,
5009     ) -> size_t;
g_basename(file_name: *const c_char) -> *const c_char5010     pub fn g_basename(file_name: *const c_char) -> *const c_char;
g_bit_lock(address: *mut c_int, lock_bit: c_int)5011     pub fn g_bit_lock(address: *mut c_int, lock_bit: c_int);
g_bit_nth_lsf(mask: c_ulong, nth_bit: c_int) -> c_int5012     pub fn g_bit_nth_lsf(mask: c_ulong, nth_bit: c_int) -> c_int;
g_bit_nth_msf(mask: c_ulong, nth_bit: c_int) -> c_int5013     pub fn g_bit_nth_msf(mask: c_ulong, nth_bit: c_int) -> c_int;
g_bit_storage(number: c_ulong) -> c_uint5014     pub fn g_bit_storage(number: c_ulong) -> c_uint;
g_bit_trylock(address: *mut c_int, lock_bit: c_int) -> gboolean5015     pub fn g_bit_trylock(address: *mut c_int, lock_bit: c_int) -> gboolean;
g_bit_unlock(address: *mut c_int, lock_bit: c_int)5016     pub fn g_bit_unlock(address: *mut c_int, lock_bit: c_int);
g_build_filename(first_element: *const c_char, ...) -> *mut c_char5017     pub fn g_build_filename(first_element: *const c_char, ...) -> *mut c_char;
5018     //#[cfg(any(feature = "v2_56", feature = "dox"))]
5019     //pub fn g_build_filename_valist(first_element: *const c_char, args: /*Unimplemented*/*mut va_list) -> *mut c_char;
g_build_filenamev(args: *mut *mut c_char) -> *mut c_char5020     pub fn g_build_filenamev(args: *mut *mut c_char) -> *mut c_char;
g_build_path(separator: *const c_char, first_element: *const c_char, ...) -> *mut c_char5021     pub fn g_build_path(separator: *const c_char, first_element: *const c_char, ...)
5022         -> *mut c_char;
g_build_pathv(separator: *const c_char, args: *mut *mut c_char) -> *mut c_char5023     pub fn g_build_pathv(separator: *const c_char, args: *mut *mut c_char) -> *mut c_char;
5024     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_canonicalize_filename( filename: *const c_char, relative_to: *const c_char, ) -> *mut c_char5025     pub fn g_canonicalize_filename(
5026         filename: *const c_char,
5027         relative_to: *const c_char,
5028     ) -> *mut c_char;
g_chdir(path: *const c_char) -> c_int5029     pub fn g_chdir(path: *const c_char) -> c_int;
glib_check_version( required_major: c_uint, required_minor: c_uint, required_micro: c_uint, ) -> *const c_char5030     pub fn glib_check_version(
5031         required_major: c_uint,
5032         required_minor: c_uint,
5033         required_micro: c_uint,
5034     ) -> *const c_char;
g_child_watch_add(pid: GPid, function: GChildWatchFunc, data: gpointer) -> c_uint5035     pub fn g_child_watch_add(pid: GPid, function: GChildWatchFunc, data: gpointer) -> c_uint;
g_child_watch_add_full( priority: c_int, pid: GPid, function: GChildWatchFunc, data: gpointer, notify: GDestroyNotify, ) -> c_uint5036     pub fn g_child_watch_add_full(
5037         priority: c_int,
5038         pid: GPid,
5039         function: GChildWatchFunc,
5040         data: gpointer,
5041         notify: GDestroyNotify,
5042     ) -> c_uint;
g_child_watch_source_new(pid: GPid) -> *mut GSource5043     pub fn g_child_watch_source_new(pid: GPid) -> *mut GSource;
g_clear_error(error: *mut *mut GError)5044     pub fn g_clear_error(error: *mut *mut GError);
5045     #[cfg(any(feature = "v2_56", feature = "dox"))]
g_clear_handle_id(tag_ptr: *mut c_uint, clear_func: GClearHandleFunc)5046     pub fn g_clear_handle_id(tag_ptr: *mut c_uint, clear_func: GClearHandleFunc);
g_clear_pointer(pp: *mut gpointer, destroy: GDestroyNotify)5047     pub fn g_clear_pointer(pp: *mut gpointer, destroy: GDestroyNotify);
g_close(fd: c_int, error: *mut *mut GError) -> gboolean5048     pub fn g_close(fd: c_int, error: *mut *mut GError) -> gboolean;
g_compute_checksum_for_bytes( checksum_type: GChecksumType, data: *mut GBytes, ) -> *mut c_char5049     pub fn g_compute_checksum_for_bytes(
5050         checksum_type: GChecksumType,
5051         data: *mut GBytes,
5052     ) -> *mut c_char;
g_compute_checksum_for_data( checksum_type: GChecksumType, data: *const u8, length: size_t, ) -> *mut c_char5053     pub fn g_compute_checksum_for_data(
5054         checksum_type: GChecksumType,
5055         data: *const u8,
5056         length: size_t,
5057     ) -> *mut c_char;
g_compute_checksum_for_string( checksum_type: GChecksumType, str: *const c_char, length: ssize_t, ) -> *mut c_char5058     pub fn g_compute_checksum_for_string(
5059         checksum_type: GChecksumType,
5060         str: *const c_char,
5061         length: ssize_t,
5062     ) -> *mut c_char;
5063     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_compute_hmac_for_bytes( digest_type: GChecksumType, key: *mut GBytes, data: *mut GBytes, ) -> *mut c_char5064     pub fn g_compute_hmac_for_bytes(
5065         digest_type: GChecksumType,
5066         key: *mut GBytes,
5067         data: *mut GBytes,
5068     ) -> *mut c_char;
g_compute_hmac_for_data( digest_type: GChecksumType, key: *const u8, key_len: size_t, data: *const u8, length: size_t, ) -> *mut c_char5069     pub fn g_compute_hmac_for_data(
5070         digest_type: GChecksumType,
5071         key: *const u8,
5072         key_len: size_t,
5073         data: *const u8,
5074         length: size_t,
5075     ) -> *mut c_char;
g_compute_hmac_for_string( digest_type: GChecksumType, key: *const u8, key_len: size_t, str: *const c_char, length: ssize_t, ) -> *mut c_char5076     pub fn g_compute_hmac_for_string(
5077         digest_type: GChecksumType,
5078         key: *const u8,
5079         key_len: size_t,
5080         str: *const c_char,
5081         length: ssize_t,
5082     ) -> *mut c_char;
g_convert( str: *const u8, len: ssize_t, to_codeset: *const c_char, from_codeset: *const c_char, bytes_read: *mut size_t, bytes_written: *mut size_t, error: *mut *mut GError, ) -> *mut u85083     pub fn g_convert(
5084         str: *const u8,
5085         len: ssize_t,
5086         to_codeset: *const c_char,
5087         from_codeset: *const c_char,
5088         bytes_read: *mut size_t,
5089         bytes_written: *mut size_t,
5090         error: *mut *mut GError,
5091     ) -> *mut u8;
g_convert_error_quark() -> GQuark5092     pub fn g_convert_error_quark() -> GQuark;
g_convert_with_fallback( str: *const u8, len: ssize_t, to_codeset: *const c_char, from_codeset: *const c_char, fallback: *const c_char, bytes_read: *mut size_t, bytes_written: *mut size_t, error: *mut *mut GError, ) -> *mut u85093     pub fn g_convert_with_fallback(
5094         str: *const u8,
5095         len: ssize_t,
5096         to_codeset: *const c_char,
5097         from_codeset: *const c_char,
5098         fallback: *const c_char,
5099         bytes_read: *mut size_t,
5100         bytes_written: *mut size_t,
5101         error: *mut *mut GError,
5102     ) -> *mut u8;
g_convert_with_iconv( str: *const u8, len: ssize_t, converter: GIConv, bytes_read: *mut size_t, bytes_written: *mut size_t, error: *mut *mut GError, ) -> *mut u85103     pub fn g_convert_with_iconv(
5104         str: *const u8,
5105         len: ssize_t,
5106         converter: GIConv,
5107         bytes_read: *mut size_t,
5108         bytes_written: *mut size_t,
5109         error: *mut *mut GError,
5110     ) -> *mut u8;
g_datalist_clear(datalist: *mut *mut GData)5111     pub fn g_datalist_clear(datalist: *mut *mut GData);
g_datalist_foreach( datalist: *mut *mut GData, func: GDataForeachFunc, user_data: gpointer, )5112     pub fn g_datalist_foreach(
5113         datalist: *mut *mut GData,
5114         func: GDataForeachFunc,
5115         user_data: gpointer,
5116     );
g_datalist_get_data(datalist: *mut *mut GData, key: *const c_char) -> gpointer5117     pub fn g_datalist_get_data(datalist: *mut *mut GData, key: *const c_char) -> gpointer;
g_datalist_get_flags(datalist: *mut *mut GData) -> c_uint5118     pub fn g_datalist_get_flags(datalist: *mut *mut GData) -> c_uint;
g_datalist_id_dup_data( datalist: *mut *mut GData, key_id: GQuark, dup_func: GDuplicateFunc, user_data: gpointer, ) -> gpointer5119     pub fn g_datalist_id_dup_data(
5120         datalist: *mut *mut GData,
5121         key_id: GQuark,
5122         dup_func: GDuplicateFunc,
5123         user_data: gpointer,
5124     ) -> gpointer;
g_datalist_id_get_data(datalist: *mut *mut GData, key_id: GQuark) -> gpointer5125     pub fn g_datalist_id_get_data(datalist: *mut *mut GData, key_id: GQuark) -> gpointer;
g_datalist_id_remove_no_notify(datalist: *mut *mut GData, key_id: GQuark) -> gpointer5126     pub fn g_datalist_id_remove_no_notify(datalist: *mut *mut GData, key_id: GQuark) -> gpointer;
g_datalist_id_replace_data( datalist: *mut *mut GData, key_id: GQuark, oldval: gpointer, newval: gpointer, destroy: GDestroyNotify, old_destroy: *mut GDestroyNotify, ) -> gboolean5127     pub fn g_datalist_id_replace_data(
5128         datalist: *mut *mut GData,
5129         key_id: GQuark,
5130         oldval: gpointer,
5131         newval: gpointer,
5132         destroy: GDestroyNotify,
5133         old_destroy: *mut GDestroyNotify,
5134     ) -> gboolean;
g_datalist_id_set_data_full( datalist: *mut *mut GData, key_id: GQuark, data: gpointer, destroy_func: GDestroyNotify, )5135     pub fn g_datalist_id_set_data_full(
5136         datalist: *mut *mut GData,
5137         key_id: GQuark,
5138         data: gpointer,
5139         destroy_func: GDestroyNotify,
5140     );
g_datalist_init(datalist: *mut *mut GData)5141     pub fn g_datalist_init(datalist: *mut *mut GData);
g_datalist_set_flags(datalist: *mut *mut GData, flags: c_uint)5142     pub fn g_datalist_set_flags(datalist: *mut *mut GData, flags: c_uint);
g_datalist_unset_flags(datalist: *mut *mut GData, flags: c_uint)5143     pub fn g_datalist_unset_flags(datalist: *mut *mut GData, flags: c_uint);
g_dataset_destroy(dataset_location: gconstpointer)5144     pub fn g_dataset_destroy(dataset_location: gconstpointer);
g_dataset_foreach( dataset_location: gconstpointer, func: GDataForeachFunc, user_data: gpointer, )5145     pub fn g_dataset_foreach(
5146         dataset_location: gconstpointer,
5147         func: GDataForeachFunc,
5148         user_data: gpointer,
5149     );
g_dataset_id_get_data(dataset_location: gconstpointer, key_id: GQuark) -> gpointer5150     pub fn g_dataset_id_get_data(dataset_location: gconstpointer, key_id: GQuark) -> gpointer;
g_dataset_id_remove_no_notify( dataset_location: gconstpointer, key_id: GQuark, ) -> gpointer5151     pub fn g_dataset_id_remove_no_notify(
5152         dataset_location: gconstpointer,
5153         key_id: GQuark,
5154     ) -> gpointer;
g_dataset_id_set_data_full( dataset_location: gconstpointer, key_id: GQuark, data: gpointer, destroy_func: GDestroyNotify, )5155     pub fn g_dataset_id_set_data_full(
5156         dataset_location: gconstpointer,
5157         key_id: GQuark,
5158         data: gpointer,
5159         destroy_func: GDestroyNotify,
5160     );
g_dcgettext( domain: *const c_char, msgid: *const c_char, category: c_int, ) -> *const c_char5161     pub fn g_dcgettext(
5162         domain: *const c_char,
5163         msgid: *const c_char,
5164         category: c_int,
5165     ) -> *const c_char;
g_dgettext(domain: *const c_char, msgid: *const c_char) -> *const c_char5166     pub fn g_dgettext(domain: *const c_char, msgid: *const c_char) -> *const c_char;
g_direct_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean5167     pub fn g_direct_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean;
g_direct_hash(v: gconstpointer) -> c_uint5168     pub fn g_direct_hash(v: gconstpointer) -> c_uint;
g_dngettext( domain: *const c_char, msgid: *const c_char, msgid_plural: *const c_char, n: c_ulong, ) -> *const c_char5169     pub fn g_dngettext(
5170         domain: *const c_char,
5171         msgid: *const c_char,
5172         msgid_plural: *const c_char,
5173         n: c_ulong,
5174     ) -> *const c_char;
g_double_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean5175     pub fn g_double_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean;
g_double_hash(v: gconstpointer) -> c_uint5176     pub fn g_double_hash(v: gconstpointer) -> c_uint;
g_dpgettext( domain: *const c_char, msgctxtid: *const c_char, msgidoffset: size_t, ) -> *const c_char5177     pub fn g_dpgettext(
5178         domain: *const c_char,
5179         msgctxtid: *const c_char,
5180         msgidoffset: size_t,
5181     ) -> *const c_char;
g_dpgettext2( domain: *const c_char, context: *const c_char, msgid: *const c_char, ) -> *const c_char5182     pub fn g_dpgettext2(
5183         domain: *const c_char,
5184         context: *const c_char,
5185         msgid: *const c_char,
5186     ) -> *const c_char;
g_environ_getenv(envp: *mut *mut c_char, variable: *const c_char) -> *const c_char5187     pub fn g_environ_getenv(envp: *mut *mut c_char, variable: *const c_char) -> *const c_char;
g_environ_setenv( envp: *mut *mut c_char, variable: *const c_char, value: *const c_char, overwrite: gboolean, ) -> *mut *mut c_char5188     pub fn g_environ_setenv(
5189         envp: *mut *mut c_char,
5190         variable: *const c_char,
5191         value: *const c_char,
5192         overwrite: gboolean,
5193     ) -> *mut *mut c_char;
g_environ_unsetenv(envp: *mut *mut c_char, variable: *const c_char) -> *mut *mut c_char5194     pub fn g_environ_unsetenv(envp: *mut *mut c_char, variable: *const c_char) -> *mut *mut c_char;
g_file_error_from_errno(err_no: c_int) -> GFileError5195     pub fn g_file_error_from_errno(err_no: c_int) -> GFileError;
g_file_error_quark() -> GQuark5196     pub fn g_file_error_quark() -> GQuark;
5197     #[cfg(any(windows, feature = "dox"))]
g_file_get_contents_utf8( filename: *const c_char, contents: *mut *mut u8, length: *mut size_t, error: *mut *mut GError, ) -> gboolean5198     pub fn g_file_get_contents_utf8(
5199         filename: *const c_char,
5200         contents: *mut *mut u8,
5201         length: *mut size_t,
5202         error: *mut *mut GError,
5203     ) -> gboolean;
g_file_get_contents( filename: *const c_char, contents: *mut *mut u8, length: *mut size_t, error: *mut *mut GError, ) -> gboolean5204     pub fn g_file_get_contents(
5205         filename: *const c_char,
5206         contents: *mut *mut u8,
5207         length: *mut size_t,
5208         error: *mut *mut GError,
5209     ) -> gboolean;
5210     #[cfg(any(windows, feature = "dox"))]
g_file_open_tmp_utf8( tmpl: *const c_char, name_used: *mut *mut c_char, error: *mut *mut GError, ) -> c_int5211     pub fn g_file_open_tmp_utf8(
5212         tmpl: *const c_char,
5213         name_used: *mut *mut c_char,
5214         error: *mut *mut GError,
5215     ) -> c_int;
g_file_open_tmp( tmpl: *const c_char, name_used: *mut *mut c_char, error: *mut *mut GError, ) -> c_int5216     pub fn g_file_open_tmp(
5217         tmpl: *const c_char,
5218         name_used: *mut *mut c_char,
5219         error: *mut *mut GError,
5220     ) -> c_int;
g_file_read_link(filename: *const c_char, error: *mut *mut GError) -> *mut c_char5221     pub fn g_file_read_link(filename: *const c_char, error: *mut *mut GError) -> *mut c_char;
g_file_set_contents( filename: *const c_char, contents: *const u8, length: ssize_t, error: *mut *mut GError, ) -> gboolean5222     pub fn g_file_set_contents(
5223         filename: *const c_char,
5224         contents: *const u8,
5225         length: ssize_t,
5226         error: *mut *mut GError,
5227     ) -> gboolean;
5228     #[cfg(any(windows, feature = "dox"))]
g_file_test_utf8(filename: *const c_char, test: GFileTest) -> gboolean5229     pub fn g_file_test_utf8(filename: *const c_char, test: GFileTest) -> gboolean;
g_file_test(filename: *const c_char, test: GFileTest) -> gboolean5230     pub fn g_file_test(filename: *const c_char, test: GFileTest) -> gboolean;
g_filename_display_basename(filename: *const c_char) -> *mut c_char5231     pub fn g_filename_display_basename(filename: *const c_char) -> *mut c_char;
g_filename_display_name(filename: *const c_char) -> *mut c_char5232     pub fn g_filename_display_name(filename: *const c_char) -> *mut c_char;
5233     #[cfg(any(windows, feature = "dox"))]
g_filename_from_uri_utf8( uri: *const c_char, hostname: *mut *mut c_char, error: *mut *mut GError, ) -> *mut c_char5234     pub fn g_filename_from_uri_utf8(
5235         uri: *const c_char,
5236         hostname: *mut *mut c_char,
5237         error: *mut *mut GError,
5238     ) -> *mut c_char;
g_filename_from_uri( uri: *const c_char, hostname: *mut *mut c_char, error: *mut *mut GError, ) -> *mut c_char5239     pub fn g_filename_from_uri(
5240         uri: *const c_char,
5241         hostname: *mut *mut c_char,
5242         error: *mut *mut GError,
5243     ) -> *mut c_char;
5244     #[cfg(any(windows, feature = "dox"))]
g_filename_from_utf8_utf8( utf8string: *const c_char, len: ssize_t, bytes_read: *mut size_t, bytes_written: *mut size_t, error: *mut *mut GError, ) -> *mut c_char5245     pub fn g_filename_from_utf8_utf8(
5246         utf8string: *const c_char,
5247         len: ssize_t,
5248         bytes_read: *mut size_t,
5249         bytes_written: *mut size_t,
5250         error: *mut *mut GError,
5251     ) -> *mut c_char;
g_filename_from_utf8( utf8string: *const c_char, len: ssize_t, bytes_read: *mut size_t, bytes_written: *mut size_t, error: *mut *mut GError, ) -> *mut c_char5252     pub fn g_filename_from_utf8(
5253         utf8string: *const c_char,
5254         len: ssize_t,
5255         bytes_read: *mut size_t,
5256         bytes_written: *mut size_t,
5257         error: *mut *mut GError,
5258     ) -> *mut c_char;
5259     #[cfg(any(windows, feature = "dox"))]
g_filename_to_uri_utf8( filename: *const c_char, hostname: *const c_char, error: *mut *mut GError, ) -> *mut c_char5260     pub fn g_filename_to_uri_utf8(
5261         filename: *const c_char,
5262         hostname: *const c_char,
5263         error: *mut *mut GError,
5264     ) -> *mut c_char;
g_filename_to_uri( filename: *const c_char, hostname: *const c_char, error: *mut *mut GError, ) -> *mut c_char5265     pub fn g_filename_to_uri(
5266         filename: *const c_char,
5267         hostname: *const c_char,
5268         error: *mut *mut GError,
5269     ) -> *mut c_char;
5270     #[cfg(any(windows, feature = "dox"))]
g_filename_to_utf8_utf8( opsysstring: *const c_char, len: ssize_t, bytes_read: *mut size_t, bytes_written: *mut size_t, error: *mut *mut GError, ) -> *mut c_char5271     pub fn g_filename_to_utf8_utf8(
5272         opsysstring: *const c_char,
5273         len: ssize_t,
5274         bytes_read: *mut size_t,
5275         bytes_written: *mut size_t,
5276         error: *mut *mut GError,
5277     ) -> *mut c_char;
g_filename_to_utf8( opsysstring: *const c_char, len: ssize_t, bytes_read: *mut size_t, bytes_written: *mut size_t, error: *mut *mut GError, ) -> *mut c_char5278     pub fn g_filename_to_utf8(
5279         opsysstring: *const c_char,
5280         len: ssize_t,
5281         bytes_read: *mut size_t,
5282         bytes_written: *mut size_t,
5283         error: *mut *mut GError,
5284     ) -> *mut c_char;
5285     #[cfg(any(windows, feature = "dox"))]
g_find_program_in_path_utf8(program: *const c_char) -> *mut c_char5286     pub fn g_find_program_in_path_utf8(program: *const c_char) -> *mut c_char;
g_find_program_in_path(program: *const c_char) -> *mut c_char5287     pub fn g_find_program_in_path(program: *const c_char) -> *mut c_char;
g_format_size(size: u64) -> *mut c_char5288     pub fn g_format_size(size: u64) -> *mut c_char;
g_format_size_for_display(size: i64) -> *mut c_char5289     pub fn g_format_size_for_display(size: i64) -> *mut c_char;
g_format_size_full(size: u64, flags: GFormatSizeFlags) -> *mut c_char5290     pub fn g_format_size_full(size: u64, flags: GFormatSizeFlags) -> *mut c_char;
g_fprintf(file: *mut FILE, format: *const c_char, ...) -> c_int5291     pub fn g_fprintf(file: *mut FILE, format: *const c_char, ...) -> c_int;
g_free(mem: gpointer)5292     pub fn g_free(mem: gpointer);
g_get_application_name() -> *const c_char5293     pub fn g_get_application_name() -> *const c_char;
g_get_charset(charset: *mut *const c_char) -> gboolean5294     pub fn g_get_charset(charset: *mut *const c_char) -> gboolean;
g_get_codeset() -> *mut c_char5295     pub fn g_get_codeset() -> *mut c_char;
5296     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_get_console_charset(charset: *mut *const c_char) -> gboolean5297     pub fn g_get_console_charset(charset: *mut *const c_char) -> gboolean;
5298     #[cfg(any(windows, feature = "dox"))]
g_get_current_dir_utf8() -> *mut c_char5299     pub fn g_get_current_dir_utf8() -> *mut c_char;
g_get_current_dir() -> *mut c_char5300     pub fn g_get_current_dir() -> *mut c_char;
g_get_current_time(result: *mut GTimeVal)5301     pub fn g_get_current_time(result: *mut GTimeVal);
g_get_environ() -> *mut *mut c_char5302     pub fn g_get_environ() -> *mut *mut c_char;
g_get_filename_charsets(filename_charsets: *mut *mut *const c_char) -> gboolean5303     pub fn g_get_filename_charsets(filename_charsets: *mut *mut *const c_char) -> gboolean;
5304     #[cfg(any(windows, feature = "dox"))]
g_get_home_dir_utf8() -> *const c_char5305     pub fn g_get_home_dir_utf8() -> *const c_char;
g_get_home_dir() -> *const c_char5306     pub fn g_get_home_dir() -> *const c_char;
g_get_host_name() -> *const c_char5307     pub fn g_get_host_name() -> *const c_char;
g_get_language_names() -> *const *const c_char5308     pub fn g_get_language_names() -> *const *const c_char;
5309     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_get_language_names_with_category(category_name: *const c_char) -> *const *const c_char5310     pub fn g_get_language_names_with_category(category_name: *const c_char)
5311         -> *const *const c_char;
g_get_locale_variants(locale: *const c_char) -> *mut *mut c_char5312     pub fn g_get_locale_variants(locale: *const c_char) -> *mut *mut c_char;
g_get_monotonic_time() -> i645313     pub fn g_get_monotonic_time() -> i64;
g_get_num_processors() -> c_uint5314     pub fn g_get_num_processors() -> c_uint;
g_get_prgname() -> *const c_char5315     pub fn g_get_prgname() -> *const c_char;
5316     #[cfg(any(windows, feature = "dox"))]
g_get_real_name_utf8() -> *const c_char5317     pub fn g_get_real_name_utf8() -> *const c_char;
g_get_real_name() -> *const c_char5318     pub fn g_get_real_name() -> *const c_char;
g_get_real_time() -> i645319     pub fn g_get_real_time() -> i64;
g_get_system_config_dirs() -> *const *const c_char5320     pub fn g_get_system_config_dirs() -> *const *const c_char;
g_get_system_data_dirs() -> *const *const c_char5321     pub fn g_get_system_data_dirs() -> *const *const c_char;
5322     #[cfg(any(windows, feature = "dox"))]
g_get_tmp_dir_utf8() -> *const c_char5323     pub fn g_get_tmp_dir_utf8() -> *const c_char;
g_get_tmp_dir() -> *const c_char5324     pub fn g_get_tmp_dir() -> *const c_char;
g_get_user_cache_dir() -> *const c_char5325     pub fn g_get_user_cache_dir() -> *const c_char;
g_get_user_config_dir() -> *const c_char5326     pub fn g_get_user_config_dir() -> *const c_char;
g_get_user_data_dir() -> *const c_char5327     pub fn g_get_user_data_dir() -> *const c_char;
5328     #[cfg(any(windows, feature = "dox"))]
g_get_user_name_utf8() -> *const c_char5329     pub fn g_get_user_name_utf8() -> *const c_char;
g_get_user_name() -> *const c_char5330     pub fn g_get_user_name() -> *const c_char;
g_get_user_runtime_dir() -> *const c_char5331     pub fn g_get_user_runtime_dir() -> *const c_char;
g_get_user_special_dir(directory: GUserDirectory) -> *const c_char5332     pub fn g_get_user_special_dir(directory: GUserDirectory) -> *const c_char;
5333     #[cfg(any(windows, feature = "dox"))]
g_getenv_utf8(variable: *const c_char) -> *const c_char5334     pub fn g_getenv_utf8(variable: *const c_char) -> *const c_char;
g_getenv(variable: *const c_char) -> *const c_char5335     pub fn g_getenv(variable: *const c_char) -> *const c_char;
g_hostname_is_ascii_encoded(hostname: *const c_char) -> gboolean5336     pub fn g_hostname_is_ascii_encoded(hostname: *const c_char) -> gboolean;
g_hostname_is_ip_address(hostname: *const c_char) -> gboolean5337     pub fn g_hostname_is_ip_address(hostname: *const c_char) -> gboolean;
g_hostname_is_non_ascii(hostname: *const c_char) -> gboolean5338     pub fn g_hostname_is_non_ascii(hostname: *const c_char) -> gboolean;
g_hostname_to_ascii(hostname: *const c_char) -> *mut c_char5339     pub fn g_hostname_to_ascii(hostname: *const c_char) -> *mut c_char;
g_hostname_to_unicode(hostname: *const c_char) -> *mut c_char5340     pub fn g_hostname_to_unicode(hostname: *const c_char) -> *mut c_char;
g_iconv( converter: GIConv, inbuf: *mut *mut c_char, inbytes_left: *mut size_t, outbuf: *mut *mut c_char, outbytes_left: *mut size_t, ) -> size_t5341     pub fn g_iconv(
5342         converter: GIConv,
5343         inbuf: *mut *mut c_char,
5344         inbytes_left: *mut size_t,
5345         outbuf: *mut *mut c_char,
5346         outbytes_left: *mut size_t,
5347     ) -> size_t;
g_idle_add(function: GSourceFunc, data: gpointer) -> c_uint5348     pub fn g_idle_add(function: GSourceFunc, data: gpointer) -> c_uint;
g_idle_add_full( priority: c_int, function: GSourceFunc, data: gpointer, notify: GDestroyNotify, ) -> c_uint5349     pub fn g_idle_add_full(
5350         priority: c_int,
5351         function: GSourceFunc,
5352         data: gpointer,
5353         notify: GDestroyNotify,
5354     ) -> c_uint;
g_idle_remove_by_data(data: gpointer) -> gboolean5355     pub fn g_idle_remove_by_data(data: gpointer) -> gboolean;
g_idle_source_new() -> *mut GSource5356     pub fn g_idle_source_new() -> *mut GSource;
g_int64_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean5357     pub fn g_int64_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean;
g_int64_hash(v: gconstpointer) -> c_uint5358     pub fn g_int64_hash(v: gconstpointer) -> c_uint;
g_int_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean5359     pub fn g_int_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean;
g_int_hash(v: gconstpointer) -> c_uint5360     pub fn g_int_hash(v: gconstpointer) -> c_uint;
g_intern_static_string(string: *const c_char) -> *const c_char5361     pub fn g_intern_static_string(string: *const c_char) -> *const c_char;
g_intern_string(string: *const c_char) -> *const c_char5362     pub fn g_intern_string(string: *const c_char) -> *const c_char;
g_io_add_watch( channel: *mut GIOChannel, condition: GIOCondition, func: GIOFunc, user_data: gpointer, ) -> c_uint5363     pub fn g_io_add_watch(
5364         channel: *mut GIOChannel,
5365         condition: GIOCondition,
5366         func: GIOFunc,
5367         user_data: gpointer,
5368     ) -> c_uint;
g_io_add_watch_full( channel: *mut GIOChannel, priority: c_int, condition: GIOCondition, func: GIOFunc, user_data: gpointer, notify: GDestroyNotify, ) -> c_uint5369     pub fn g_io_add_watch_full(
5370         channel: *mut GIOChannel,
5371         priority: c_int,
5372         condition: GIOCondition,
5373         func: GIOFunc,
5374         user_data: gpointer,
5375         notify: GDestroyNotify,
5376     ) -> c_uint;
g_io_create_watch(channel: *mut GIOChannel, condition: GIOCondition) -> *mut GSource5377     pub fn g_io_create_watch(channel: *mut GIOChannel, condition: GIOCondition) -> *mut GSource;
g_listenv() -> *mut *mut c_char5378     pub fn g_listenv() -> *mut *mut c_char;
g_locale_from_utf8( utf8string: *const c_char, len: ssize_t, bytes_read: *mut size_t, bytes_written: *mut size_t, error: *mut *mut GError, ) -> *mut u85379     pub fn g_locale_from_utf8(
5380         utf8string: *const c_char,
5381         len: ssize_t,
5382         bytes_read: *mut size_t,
5383         bytes_written: *mut size_t,
5384         error: *mut *mut GError,
5385     ) -> *mut u8;
g_locale_to_utf8( opsysstring: *const u8, len: ssize_t, bytes_read: *mut size_t, bytes_written: *mut size_t, error: *mut *mut GError, ) -> *mut c_char5386     pub fn g_locale_to_utf8(
5387         opsysstring: *const u8,
5388         len: ssize_t,
5389         bytes_read: *mut size_t,
5390         bytes_written: *mut size_t,
5391         error: *mut *mut GError,
5392     ) -> *mut c_char;
g_log(log_domain: *const c_char, log_level: GLogLevelFlags, format: *const c_char, ...)5393     pub fn g_log(log_domain: *const c_char, log_level: GLogLevelFlags, format: *const c_char, ...);
g_log_default_handler( log_domain: *const c_char, log_level: GLogLevelFlags, message: *const c_char, unused_data: gpointer, )5394     pub fn g_log_default_handler(
5395         log_domain: *const c_char,
5396         log_level: GLogLevelFlags,
5397         message: *const c_char,
5398         unused_data: gpointer,
5399     );
g_log_remove_handler(log_domain: *const c_char, handler_id: c_uint)5400     pub fn g_log_remove_handler(log_domain: *const c_char, handler_id: c_uint);
g_log_set_always_fatal(fatal_mask: GLogLevelFlags) -> GLogLevelFlags5401     pub fn g_log_set_always_fatal(fatal_mask: GLogLevelFlags) -> GLogLevelFlags;
g_log_set_default_handler(log_func: GLogFunc, user_data: gpointer) -> GLogFunc5402     pub fn g_log_set_default_handler(log_func: GLogFunc, user_data: gpointer) -> GLogFunc;
g_log_set_fatal_mask( log_domain: *const c_char, fatal_mask: GLogLevelFlags, ) -> GLogLevelFlags5403     pub fn g_log_set_fatal_mask(
5404         log_domain: *const c_char,
5405         fatal_mask: GLogLevelFlags,
5406     ) -> GLogLevelFlags;
g_log_set_handler( log_domain: *const c_char, log_levels: GLogLevelFlags, log_func: GLogFunc, user_data: gpointer, ) -> c_uint5407     pub fn g_log_set_handler(
5408         log_domain: *const c_char,
5409         log_levels: GLogLevelFlags,
5410         log_func: GLogFunc,
5411         user_data: gpointer,
5412     ) -> c_uint;
5413     #[cfg(any(feature = "v2_46", feature = "dox"))]
g_log_set_handler_full( log_domain: *const c_char, log_levels: GLogLevelFlags, log_func: GLogFunc, user_data: gpointer, destroy: GDestroyNotify, ) -> c_uint5414     pub fn g_log_set_handler_full(
5415         log_domain: *const c_char,
5416         log_levels: GLogLevelFlags,
5417         log_func: GLogFunc,
5418         user_data: gpointer,
5419         destroy: GDestroyNotify,
5420     ) -> c_uint;
5421     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_log_set_writer_func( func: GLogWriterFunc, user_data: gpointer, user_data_free: GDestroyNotify, )5422     pub fn g_log_set_writer_func(
5423         func: GLogWriterFunc,
5424         user_data: gpointer,
5425         user_data_free: GDestroyNotify,
5426     );
5427     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_log_structured(log_domain: *const c_char, log_level: GLogLevelFlags, ...)5428     pub fn g_log_structured(log_domain: *const c_char, log_level: GLogLevelFlags, ...);
5429     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_log_structured_array( log_level: GLogLevelFlags, fields: *const GLogField, n_fields: size_t, )5430     pub fn g_log_structured_array(
5431         log_level: GLogLevelFlags,
5432         fields: *const GLogField,
5433         n_fields: size_t,
5434     );
g_log_structured_standard( log_domain: *const c_char, log_level: GLogLevelFlags, file: *const c_char, line: *const c_char, func: *const c_char, message_format: *const c_char, ... )5435     pub fn g_log_structured_standard(
5436         log_domain: *const c_char,
5437         log_level: GLogLevelFlags,
5438         file: *const c_char,
5439         line: *const c_char,
5440         func: *const c_char,
5441         message_format: *const c_char,
5442         ...
5443     );
5444     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_log_variant( log_domain: *const c_char, log_level: GLogLevelFlags, fields: *mut GVariant, )5445     pub fn g_log_variant(
5446         log_domain: *const c_char,
5447         log_level: GLogLevelFlags,
5448         fields: *mut GVariant,
5449     );
5450     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_log_writer_default( log_level: GLogLevelFlags, fields: *const GLogField, n_fields: size_t, user_data: gpointer, ) -> GLogWriterOutput5451     pub fn g_log_writer_default(
5452         log_level: GLogLevelFlags,
5453         fields: *const GLogField,
5454         n_fields: size_t,
5455         user_data: gpointer,
5456     ) -> GLogWriterOutput;
5457     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_log_writer_format_fields( log_level: GLogLevelFlags, fields: *const GLogField, n_fields: size_t, use_color: gboolean, ) -> *mut c_char5458     pub fn g_log_writer_format_fields(
5459         log_level: GLogLevelFlags,
5460         fields: *const GLogField,
5461         n_fields: size_t,
5462         use_color: gboolean,
5463     ) -> *mut c_char;
5464     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_log_writer_is_journald(output_fd: c_int) -> gboolean5465     pub fn g_log_writer_is_journald(output_fd: c_int) -> gboolean;
5466     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_log_writer_journald( log_level: GLogLevelFlags, fields: *const GLogField, n_fields: size_t, user_data: gpointer, ) -> GLogWriterOutput5467     pub fn g_log_writer_journald(
5468         log_level: GLogLevelFlags,
5469         fields: *const GLogField,
5470         n_fields: size_t,
5471         user_data: gpointer,
5472     ) -> GLogWriterOutput;
5473     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_log_writer_standard_streams( log_level: GLogLevelFlags, fields: *const GLogField, n_fields: size_t, user_data: gpointer, ) -> GLogWriterOutput5474     pub fn g_log_writer_standard_streams(
5475         log_level: GLogLevelFlags,
5476         fields: *const GLogField,
5477         n_fields: size_t,
5478         user_data: gpointer,
5479     ) -> GLogWriterOutput;
5480     #[cfg(any(feature = "v2_50", feature = "dox"))]
g_log_writer_supports_color(output_fd: c_int) -> gboolean5481     pub fn g_log_writer_supports_color(output_fd: c_int) -> gboolean;
5482     //pub fn g_logv(log_domain: *const c_char, log_level: GLogLevelFlags, format: *const c_char, args: /*Unimplemented*/va_list);
g_main_current_source() -> *mut GSource5483     pub fn g_main_current_source() -> *mut GSource;
g_main_depth() -> c_int5484     pub fn g_main_depth() -> c_int;
g_malloc(n_bytes: size_t) -> gpointer5485     pub fn g_malloc(n_bytes: size_t) -> gpointer;
g_malloc0(n_bytes: size_t) -> gpointer5486     pub fn g_malloc0(n_bytes: size_t) -> gpointer;
g_malloc0_n(n_blocks: size_t, n_block_bytes: size_t) -> gpointer5487     pub fn g_malloc0_n(n_blocks: size_t, n_block_bytes: size_t) -> gpointer;
g_malloc_n(n_blocks: size_t, n_block_bytes: size_t) -> gpointer5488     pub fn g_malloc_n(n_blocks: size_t, n_block_bytes: size_t) -> gpointer;
g_markup_collect_attributes( element_name: *const c_char, attribute_names: *mut *const c_char, attribute_values: *mut *const c_char, error: *mut *mut GError, first_type: GMarkupCollectType, first_attr: *const c_char, ... ) -> gboolean5489     pub fn g_markup_collect_attributes(
5490         element_name: *const c_char,
5491         attribute_names: *mut *const c_char,
5492         attribute_values: *mut *const c_char,
5493         error: *mut *mut GError,
5494         first_type: GMarkupCollectType,
5495         first_attr: *const c_char,
5496         ...
5497     ) -> gboolean;
g_markup_error_quark() -> GQuark5498     pub fn g_markup_error_quark() -> GQuark;
g_markup_escape_text(text: *const c_char, length: ssize_t) -> *mut c_char5499     pub fn g_markup_escape_text(text: *const c_char, length: ssize_t) -> *mut c_char;
g_markup_printf_escaped(format: *const c_char, ...) -> *mut c_char5500     pub fn g_markup_printf_escaped(format: *const c_char, ...) -> *mut c_char;
5501     //pub fn g_markup_vprintf_escaped(format: *const c_char, args: /*Unimplemented*/va_list) -> *mut c_char;
g_mem_is_system_malloc() -> gboolean5502     pub fn g_mem_is_system_malloc() -> gboolean;
g_mem_profile()5503     pub fn g_mem_profile();
g_mem_set_vtable(vtable: *mut GMemVTable)5504     pub fn g_mem_set_vtable(vtable: *mut GMemVTable);
g_memdup(mem: gconstpointer, byte_size: c_uint) -> gpointer5505     pub fn g_memdup(mem: gconstpointer, byte_size: c_uint) -> gpointer;
g_mkdir_with_parents(pathname: *const c_char, mode: c_int) -> c_int5506     pub fn g_mkdir_with_parents(pathname: *const c_char, mode: c_int) -> c_int;
g_mkdtemp(tmpl: *mut c_char) -> *mut c_char5507     pub fn g_mkdtemp(tmpl: *mut c_char) -> *mut c_char;
g_mkdtemp_full(tmpl: *mut c_char, mode: c_int) -> *mut c_char5508     pub fn g_mkdtemp_full(tmpl: *mut c_char, mode: c_int) -> *mut c_char;
5509     #[cfg(any(windows, feature = "dox"))]
g_mkstemp_utf8(tmpl: *mut c_char) -> c_int5510     pub fn g_mkstemp_utf8(tmpl: *mut c_char) -> c_int;
g_mkstemp(tmpl: *mut c_char) -> c_int5511     pub fn g_mkstemp(tmpl: *mut c_char) -> c_int;
g_mkstemp_full(tmpl: *mut c_char, flags: c_int, mode: c_int) -> c_int5512     pub fn g_mkstemp_full(tmpl: *mut c_char, flags: c_int, mode: c_int) -> c_int;
g_nullify_pointer(nullify_location: *mut gpointer)5513     pub fn g_nullify_pointer(nullify_location: *mut gpointer);
g_number_parser_error_quark() -> GQuark5514     pub fn g_number_parser_error_quark() -> GQuark;
g_on_error_query(prg_name: *const c_char)5515     pub fn g_on_error_query(prg_name: *const c_char);
g_on_error_stack_trace(prg_name: *const c_char)5516     pub fn g_on_error_stack_trace(prg_name: *const c_char);
g_option_error_quark() -> GQuark5517     pub fn g_option_error_quark() -> GQuark;
g_parse_debug_string( string: *const c_char, keys: *const GDebugKey, nkeys: c_uint, ) -> c_uint5518     pub fn g_parse_debug_string(
5519         string: *const c_char,
5520         keys: *const GDebugKey,
5521         nkeys: c_uint,
5522     ) -> c_uint;
g_path_get_basename(file_name: *const c_char) -> *mut c_char5523     pub fn g_path_get_basename(file_name: *const c_char) -> *mut c_char;
g_path_get_dirname(file_name: *const c_char) -> *mut c_char5524     pub fn g_path_get_dirname(file_name: *const c_char) -> *mut c_char;
g_path_is_absolute(file_name: *const c_char) -> gboolean5525     pub fn g_path_is_absolute(file_name: *const c_char) -> gboolean;
g_path_skip_root(file_name: *const c_char) -> *const c_char5526     pub fn g_path_skip_root(file_name: *const c_char) -> *const c_char;
g_pattern_match( pspec: *mut GPatternSpec, string_length: c_uint, string: *const c_char, string_reversed: *const c_char, ) -> gboolean5527     pub fn g_pattern_match(
5528         pspec: *mut GPatternSpec,
5529         string_length: c_uint,
5530         string: *const c_char,
5531         string_reversed: *const c_char,
5532     ) -> gboolean;
g_pattern_match_simple(pattern: *const c_char, string: *const c_char) -> gboolean5533     pub fn g_pattern_match_simple(pattern: *const c_char, string: *const c_char) -> gboolean;
g_pattern_match_string(pspec: *mut GPatternSpec, string: *const c_char) -> gboolean5534     pub fn g_pattern_match_string(pspec: *mut GPatternSpec, string: *const c_char) -> gboolean;
g_pointer_bit_lock(address: *mut c_void, lock_bit: c_int)5535     pub fn g_pointer_bit_lock(address: *mut c_void, lock_bit: c_int);
g_pointer_bit_trylock(address: *mut c_void, lock_bit: c_int) -> gboolean5536     pub fn g_pointer_bit_trylock(address: *mut c_void, lock_bit: c_int) -> gboolean;
g_pointer_bit_unlock(address: *mut c_void, lock_bit: c_int)5537     pub fn g_pointer_bit_unlock(address: *mut c_void, lock_bit: c_int);
g_poll(fds: *mut GPollFD, nfds: c_uint, timeout: c_int) -> c_int5538     pub fn g_poll(fds: *mut GPollFD, nfds: c_uint, timeout: c_int) -> c_int;
g_prefix_error(err: *mut *mut GError, format: *const c_char, ...)5539     pub fn g_prefix_error(err: *mut *mut GError, format: *const c_char, ...);
g_print(format: *const c_char, ...)5540     pub fn g_print(format: *const c_char, ...);
g_printerr(format: *const c_char, ...)5541     pub fn g_printerr(format: *const c_char, ...);
g_printf(format: *const c_char, ...) -> c_int5542     pub fn g_printf(format: *const c_char, ...) -> c_int;
5543     //pub fn g_printf_string_upper_bound(format: *const c_char, args: /*Unimplemented*/va_list) -> size_t;
g_propagate_error(dest: *mut *mut GError, src: *mut GError)5544     pub fn g_propagate_error(dest: *mut *mut GError, src: *mut GError);
g_propagate_prefixed_error( dest: *mut *mut GError, src: *mut GError, format: *const c_char, ... )5545     pub fn g_propagate_prefixed_error(
5546         dest: *mut *mut GError,
5547         src: *mut GError,
5548         format: *const c_char,
5549         ...
5550     );
g_qsort_with_data( pbase: gconstpointer, total_elems: c_int, size: size_t, compare_func: GCompareDataFunc, user_data: gpointer, )5551     pub fn g_qsort_with_data(
5552         pbase: gconstpointer,
5553         total_elems: c_int,
5554         size: size_t,
5555         compare_func: GCompareDataFunc,
5556         user_data: gpointer,
5557     );
g_quark_from_static_string(string: *const c_char) -> GQuark5558     pub fn g_quark_from_static_string(string: *const c_char) -> GQuark;
g_quark_from_string(string: *const c_char) -> GQuark5559     pub fn g_quark_from_string(string: *const c_char) -> GQuark;
g_quark_to_string(quark: GQuark) -> *const c_char5560     pub fn g_quark_to_string(quark: GQuark) -> *const c_char;
g_quark_try_string(string: *const c_char) -> GQuark5561     pub fn g_quark_try_string(string: *const c_char) -> GQuark;
g_random_double() -> c_double5562     pub fn g_random_double() -> c_double;
g_random_double_range(begin: c_double, end: c_double) -> c_double5563     pub fn g_random_double_range(begin: c_double, end: c_double) -> c_double;
g_random_int() -> u325564     pub fn g_random_int() -> u32;
g_random_int_range(begin: i32, end: i32) -> i325565     pub fn g_random_int_range(begin: i32, end: i32) -> i32;
g_random_set_seed(seed: u32)5566     pub fn g_random_set_seed(seed: u32);
5567     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_rc_box_acquire(mem_block: gpointer) -> gpointer5568     pub fn g_rc_box_acquire(mem_block: gpointer) -> gpointer;
5569     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_rc_box_alloc(block_size: size_t) -> gpointer5570     pub fn g_rc_box_alloc(block_size: size_t) -> gpointer;
5571     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_rc_box_alloc0(block_size: size_t) -> gpointer5572     pub fn g_rc_box_alloc0(block_size: size_t) -> gpointer;
5573     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_rc_box_dup(block_size: size_t, mem_block: gconstpointer) -> gpointer5574     pub fn g_rc_box_dup(block_size: size_t, mem_block: gconstpointer) -> gpointer;
5575     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_rc_box_get_size(mem_block: gpointer) -> size_t5576     pub fn g_rc_box_get_size(mem_block: gpointer) -> size_t;
5577     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_rc_box_release(mem_block: gpointer)5578     pub fn g_rc_box_release(mem_block: gpointer);
5579     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_rc_box_release_full(mem_block: gpointer, clear_func: GDestroyNotify)5580     pub fn g_rc_box_release_full(mem_block: gpointer, clear_func: GDestroyNotify);
g_realloc(mem: gpointer, n_bytes: size_t) -> gpointer5581     pub fn g_realloc(mem: gpointer, n_bytes: size_t) -> gpointer;
g_realloc_n(mem: gpointer, n_blocks: size_t, n_block_bytes: size_t) -> gpointer5582     pub fn g_realloc_n(mem: gpointer, n_blocks: size_t, n_block_bytes: size_t) -> gpointer;
5583     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ref_count_compare(rc: *mut c_int, val: c_int) -> gboolean5584     pub fn g_ref_count_compare(rc: *mut c_int, val: c_int) -> gboolean;
5585     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ref_count_dec(rc: *mut c_int) -> gboolean5586     pub fn g_ref_count_dec(rc: *mut c_int) -> gboolean;
5587     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ref_count_inc(rc: *mut c_int)5588     pub fn g_ref_count_inc(rc: *mut c_int);
5589     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ref_count_init(rc: *mut c_int)5590     pub fn g_ref_count_init(rc: *mut c_int);
5591     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ref_string_acquire(str: *mut c_char) -> *mut c_char5592     pub fn g_ref_string_acquire(str: *mut c_char) -> *mut c_char;
5593     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ref_string_length(str: *mut c_char) -> size_t5594     pub fn g_ref_string_length(str: *mut c_char) -> size_t;
5595     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ref_string_new(str: *const c_char) -> *mut c_char5596     pub fn g_ref_string_new(str: *const c_char) -> *mut c_char;
5597     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ref_string_new_intern(str: *const c_char) -> *mut c_char5598     pub fn g_ref_string_new_intern(str: *const c_char) -> *mut c_char;
5599     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ref_string_new_len(str: *const c_char, len: ssize_t) -> *mut c_char5600     pub fn g_ref_string_new_len(str: *const c_char, len: ssize_t) -> *mut c_char;
5601     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_ref_string_release(str: *mut c_char)5602     pub fn g_ref_string_release(str: *mut c_char);
g_reload_user_special_dirs_cache()5603     pub fn g_reload_user_special_dirs_cache();
g_return_if_fail_warning( log_domain: *const c_char, pretty_function: *const c_char, expression: *const c_char, )5604     pub fn g_return_if_fail_warning(
5605         log_domain: *const c_char,
5606         pretty_function: *const c_char,
5607         expression: *const c_char,
5608     );
g_rmdir(filename: *const c_char) -> c_int5609     pub fn g_rmdir(filename: *const c_char) -> c_int;
g_set_application_name(application_name: *const c_char)5610     pub fn g_set_application_name(application_name: *const c_char);
g_set_error( err: *mut *mut GError, domain: GQuark, code: c_int, format: *const c_char, ... )5611     pub fn g_set_error(
5612         err: *mut *mut GError,
5613         domain: GQuark,
5614         code: c_int,
5615         format: *const c_char,
5616         ...
5617     );
g_set_error_literal( err: *mut *mut GError, domain: GQuark, code: c_int, message: *const c_char, )5618     pub fn g_set_error_literal(
5619         err: *mut *mut GError,
5620         domain: GQuark,
5621         code: c_int,
5622         message: *const c_char,
5623     );
g_set_prgname(prgname: *const c_char)5624     pub fn g_set_prgname(prgname: *const c_char);
g_set_print_handler(func: GPrintFunc) -> GPrintFunc5625     pub fn g_set_print_handler(func: GPrintFunc) -> GPrintFunc;
g_set_printerr_handler(func: GPrintFunc) -> GPrintFunc5626     pub fn g_set_printerr_handler(func: GPrintFunc) -> GPrintFunc;
5627     #[cfg(any(windows, feature = "dox"))]
g_setenv_utf8( variable: *const c_char, value: *const c_char, overwrite: gboolean, ) -> gboolean5628     pub fn g_setenv_utf8(
5629         variable: *const c_char,
5630         value: *const c_char,
5631         overwrite: gboolean,
5632     ) -> gboolean;
g_setenv(variable: *const c_char, value: *const c_char, overwrite: gboolean) -> gboolean5633     pub fn g_setenv(variable: *const c_char, value: *const c_char, overwrite: gboolean)
5634         -> gboolean;
g_shell_error_quark() -> GQuark5635     pub fn g_shell_error_quark() -> GQuark;
g_shell_parse_argv( command_line: *const c_char, argcp: *mut c_int, argvp: *mut *mut *mut c_char, error: *mut *mut GError, ) -> gboolean5636     pub fn g_shell_parse_argv(
5637         command_line: *const c_char,
5638         argcp: *mut c_int,
5639         argvp: *mut *mut *mut c_char,
5640         error: *mut *mut GError,
5641     ) -> gboolean;
g_shell_quote(unquoted_string: *const c_char) -> *mut c_char5642     pub fn g_shell_quote(unquoted_string: *const c_char) -> *mut c_char;
g_shell_unquote(quoted_string: *const c_char, error: *mut *mut GError) -> *mut c_char5643     pub fn g_shell_unquote(quoted_string: *const c_char, error: *mut *mut GError) -> *mut c_char;
g_slice_alloc(block_size: size_t) -> gpointer5644     pub fn g_slice_alloc(block_size: size_t) -> gpointer;
g_slice_alloc0(block_size: size_t) -> gpointer5645     pub fn g_slice_alloc0(block_size: size_t) -> gpointer;
g_slice_copy(block_size: size_t, mem_block: gconstpointer) -> gpointer5646     pub fn g_slice_copy(block_size: size_t, mem_block: gconstpointer) -> gpointer;
g_slice_free1(block_size: size_t, mem_block: gpointer)5647     pub fn g_slice_free1(block_size: size_t, mem_block: gpointer);
g_slice_free_chain_with_offset( block_size: size_t, mem_chain: gpointer, next_offset: size_t, )5648     pub fn g_slice_free_chain_with_offset(
5649         block_size: size_t,
5650         mem_chain: gpointer,
5651         next_offset: size_t,
5652     );
g_slice_get_config(ckey: GSliceConfig) -> i645653     pub fn g_slice_get_config(ckey: GSliceConfig) -> i64;
g_slice_get_config_state( ckey: GSliceConfig, address: i64, n_values: *mut c_uint, ) -> *mut i645654     pub fn g_slice_get_config_state(
5655         ckey: GSliceConfig,
5656         address: i64,
5657         n_values: *mut c_uint,
5658     ) -> *mut i64;
g_slice_set_config(ckey: GSliceConfig, value: i64)5659     pub fn g_slice_set_config(ckey: GSliceConfig, value: i64);
g_snprintf(string: *mut c_char, n: c_ulong, format: *const c_char, ...) -> c_int5660     pub fn g_snprintf(string: *mut c_char, n: c_ulong, format: *const c_char, ...) -> c_int;
g_spaced_primes_closest(num: c_uint) -> c_uint5661     pub fn g_spaced_primes_closest(num: c_uint) -> c_uint;
5662     #[cfg(any(windows, feature = "dox"))]
g_spawn_async_utf8( working_directory: *const c_char, argv: *mut *mut c_char, envp: *mut *mut c_char, flags: GSpawnFlags, child_setup: GSpawnChildSetupFunc, user_data: gpointer, child_pid: *mut GPid, error: *mut *mut GError, ) -> gboolean5663     pub fn g_spawn_async_utf8(
5664         working_directory: *const c_char,
5665         argv: *mut *mut c_char,
5666         envp: *mut *mut c_char,
5667         flags: GSpawnFlags,
5668         child_setup: GSpawnChildSetupFunc,
5669         user_data: gpointer,
5670         child_pid: *mut GPid,
5671         error: *mut *mut GError,
5672     ) -> gboolean;
g_spawn_async( working_directory: *const c_char, argv: *mut *mut c_char, envp: *mut *mut c_char, flags: GSpawnFlags, child_setup: GSpawnChildSetupFunc, user_data: gpointer, child_pid: *mut GPid, error: *mut *mut GError, ) -> gboolean5673     pub fn g_spawn_async(
5674         working_directory: *const c_char,
5675         argv: *mut *mut c_char,
5676         envp: *mut *mut c_char,
5677         flags: GSpawnFlags,
5678         child_setup: GSpawnChildSetupFunc,
5679         user_data: gpointer,
5680         child_pid: *mut GPid,
5681         error: *mut *mut GError,
5682     ) -> gboolean;
5683     #[cfg(any(feature = "v2_58", feature = "dox"))]
5684     #[cfg(any(windows, feature = "dox"))]
g_spawn_async_with_fds_utf8( working_directory: *const c_char, argv: *mut *mut c_char, envp: *mut *mut c_char, flags: GSpawnFlags, child_setup: GSpawnChildSetupFunc, user_data: gpointer, child_pid: *mut GPid, stdin_fd: c_int, stdout_fd: c_int, stderr_fd: c_int, error: *mut *mut GError, ) -> gboolean5685     pub fn g_spawn_async_with_fds_utf8(
5686         working_directory: *const c_char,
5687         argv: *mut *mut c_char,
5688         envp: *mut *mut c_char,
5689         flags: GSpawnFlags,
5690         child_setup: GSpawnChildSetupFunc,
5691         user_data: gpointer,
5692         child_pid: *mut GPid,
5693         stdin_fd: c_int,
5694         stdout_fd: c_int,
5695         stderr_fd: c_int,
5696         error: *mut *mut GError,
5697     ) -> gboolean;
5698     #[cfg(any(feature = "v2_58", feature = "dox"))]
g_spawn_async_with_fds( working_directory: *const c_char, argv: *mut *mut c_char, envp: *mut *mut c_char, flags: GSpawnFlags, child_setup: GSpawnChildSetupFunc, user_data: gpointer, child_pid: *mut GPid, stdin_fd: c_int, stdout_fd: c_int, stderr_fd: c_int, error: *mut *mut GError, ) -> gboolean5699     pub fn g_spawn_async_with_fds(
5700         working_directory: *const c_char,
5701         argv: *mut *mut c_char,
5702         envp: *mut *mut c_char,
5703         flags: GSpawnFlags,
5704         child_setup: GSpawnChildSetupFunc,
5705         user_data: gpointer,
5706         child_pid: *mut GPid,
5707         stdin_fd: c_int,
5708         stdout_fd: c_int,
5709         stderr_fd: c_int,
5710         error: *mut *mut GError,
5711     ) -> gboolean;
5712     #[cfg(any(windows, feature = "dox"))]
g_spawn_async_with_pipes_utf8( working_directory: *const c_char, argv: *mut *mut c_char, envp: *mut *mut c_char, flags: GSpawnFlags, child_setup: GSpawnChildSetupFunc, user_data: gpointer, child_pid: *mut GPid, standard_input: *mut c_int, standard_output: *mut c_int, standard_error: *mut c_int, error: *mut *mut GError, ) -> gboolean5713     pub fn g_spawn_async_with_pipes_utf8(
5714         working_directory: *const c_char,
5715         argv: *mut *mut c_char,
5716         envp: *mut *mut c_char,
5717         flags: GSpawnFlags,
5718         child_setup: GSpawnChildSetupFunc,
5719         user_data: gpointer,
5720         child_pid: *mut GPid,
5721         standard_input: *mut c_int,
5722         standard_output: *mut c_int,
5723         standard_error: *mut c_int,
5724         error: *mut *mut GError,
5725     ) -> gboolean;
g_spawn_async_with_pipes( working_directory: *const c_char, argv: *mut *mut c_char, envp: *mut *mut c_char, flags: GSpawnFlags, child_setup: GSpawnChildSetupFunc, user_data: gpointer, child_pid: *mut GPid, standard_input: *mut c_int, standard_output: *mut c_int, standard_error: *mut c_int, error: *mut *mut GError, ) -> gboolean5726     pub fn g_spawn_async_with_pipes(
5727         working_directory: *const c_char,
5728         argv: *mut *mut c_char,
5729         envp: *mut *mut c_char,
5730         flags: GSpawnFlags,
5731         child_setup: GSpawnChildSetupFunc,
5732         user_data: gpointer,
5733         child_pid: *mut GPid,
5734         standard_input: *mut c_int,
5735         standard_output: *mut c_int,
5736         standard_error: *mut c_int,
5737         error: *mut *mut GError,
5738     ) -> gboolean;
g_spawn_check_exit_status(exit_status: c_int, error: *mut *mut GError) -> gboolean5739     pub fn g_spawn_check_exit_status(exit_status: c_int, error: *mut *mut GError) -> gboolean;
g_spawn_close_pid(pid: GPid)5740     pub fn g_spawn_close_pid(pid: GPid);
5741     #[cfg(any(windows, feature = "dox"))]
g_spawn_command_line_async_utf8( command_line: *const c_char, error: *mut *mut GError, ) -> gboolean5742     pub fn g_spawn_command_line_async_utf8(
5743         command_line: *const c_char,
5744         error: *mut *mut GError,
5745     ) -> gboolean;
g_spawn_command_line_async( command_line: *const c_char, error: *mut *mut GError, ) -> gboolean5746     pub fn g_spawn_command_line_async(
5747         command_line: *const c_char,
5748         error: *mut *mut GError,
5749     ) -> gboolean;
5750     #[cfg(any(windows, feature = "dox"))]
g_spawn_command_line_sync_utf8( command_line: *const c_char, standard_output: *mut *mut u8, standard_error: *mut *mut u8, exit_status: *mut c_int, error: *mut *mut GError, ) -> gboolean5751     pub fn g_spawn_command_line_sync_utf8(
5752         command_line: *const c_char,
5753         standard_output: *mut *mut u8,
5754         standard_error: *mut *mut u8,
5755         exit_status: *mut c_int,
5756         error: *mut *mut GError,
5757     ) -> gboolean;
g_spawn_command_line_sync( command_line: *const c_char, standard_output: *mut *mut u8, standard_error: *mut *mut u8, exit_status: *mut c_int, error: *mut *mut GError, ) -> gboolean5758     pub fn g_spawn_command_line_sync(
5759         command_line: *const c_char,
5760         standard_output: *mut *mut u8,
5761         standard_error: *mut *mut u8,
5762         exit_status: *mut c_int,
5763         error: *mut *mut GError,
5764     ) -> gboolean;
g_spawn_error_quark() -> GQuark5765     pub fn g_spawn_error_quark() -> GQuark;
g_spawn_exit_error_quark() -> GQuark5766     pub fn g_spawn_exit_error_quark() -> GQuark;
5767     #[cfg(any(windows, feature = "dox"))]
g_spawn_sync_utf8( working_directory: *const c_char, argv: *mut *mut c_char, envp: *mut *mut c_char, flags: GSpawnFlags, child_setup: GSpawnChildSetupFunc, user_data: gpointer, standard_output: *mut *mut u8, standard_error: *mut *mut u8, exit_status: *mut c_int, error: *mut *mut GError, ) -> gboolean5768     pub fn g_spawn_sync_utf8(
5769         working_directory: *const c_char,
5770         argv: *mut *mut c_char,
5771         envp: *mut *mut c_char,
5772         flags: GSpawnFlags,
5773         child_setup: GSpawnChildSetupFunc,
5774         user_data: gpointer,
5775         standard_output: *mut *mut u8,
5776         standard_error: *mut *mut u8,
5777         exit_status: *mut c_int,
5778         error: *mut *mut GError,
5779     ) -> gboolean;
g_spawn_sync( working_directory: *const c_char, argv: *mut *mut c_char, envp: *mut *mut c_char, flags: GSpawnFlags, child_setup: GSpawnChildSetupFunc, user_data: gpointer, standard_output: *mut *mut u8, standard_error: *mut *mut u8, exit_status: *mut c_int, error: *mut *mut GError, ) -> gboolean5780     pub fn g_spawn_sync(
5781         working_directory: *const c_char,
5782         argv: *mut *mut c_char,
5783         envp: *mut *mut c_char,
5784         flags: GSpawnFlags,
5785         child_setup: GSpawnChildSetupFunc,
5786         user_data: gpointer,
5787         standard_output: *mut *mut u8,
5788         standard_error: *mut *mut u8,
5789         exit_status: *mut c_int,
5790         error: *mut *mut GError,
5791     ) -> gboolean;
g_sprintf(string: *mut c_char, format: *const c_char, ...) -> c_int5792     pub fn g_sprintf(string: *mut c_char, format: *const c_char, ...) -> c_int;
g_stpcpy(dest: *mut c_char, src: *const c_char) -> *mut c_char5793     pub fn g_stpcpy(dest: *mut c_char, src: *const c_char) -> *mut c_char;
g_str_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean5794     pub fn g_str_equal(v1: gconstpointer, v2: gconstpointer) -> gboolean;
g_str_has_prefix(str: *const c_char, prefix: *const c_char) -> gboolean5795     pub fn g_str_has_prefix(str: *const c_char, prefix: *const c_char) -> gboolean;
g_str_has_suffix(str: *const c_char, suffix: *const c_char) -> gboolean5796     pub fn g_str_has_suffix(str: *const c_char, suffix: *const c_char) -> gboolean;
g_str_hash(v: gconstpointer) -> c_uint5797     pub fn g_str_hash(v: gconstpointer) -> c_uint;
g_str_is_ascii(str: *const c_char) -> gboolean5798     pub fn g_str_is_ascii(str: *const c_char) -> gboolean;
g_str_match_string( search_term: *const c_char, potential_hit: *const c_char, accept_alternates: gboolean, ) -> gboolean5799     pub fn g_str_match_string(
5800         search_term: *const c_char,
5801         potential_hit: *const c_char,
5802         accept_alternates: gboolean,
5803     ) -> gboolean;
g_str_to_ascii(str: *const c_char, from_locale: *const c_char) -> *mut c_char5804     pub fn g_str_to_ascii(str: *const c_char, from_locale: *const c_char) -> *mut c_char;
g_str_tokenize_and_fold( string: *const c_char, translit_locale: *const c_char, ascii_alternates: *mut *mut *mut c_char, ) -> *mut *mut c_char5805     pub fn g_str_tokenize_and_fold(
5806         string: *const c_char,
5807         translit_locale: *const c_char,
5808         ascii_alternates: *mut *mut *mut c_char,
5809     ) -> *mut *mut c_char;
g_strcanon( string: *mut c_char, valid_chars: *const c_char, substitutor: c_char, ) -> *mut c_char5810     pub fn g_strcanon(
5811         string: *mut c_char,
5812         valid_chars: *const c_char,
5813         substitutor: c_char,
5814     ) -> *mut c_char;
g_strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int5815     pub fn g_strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int;
g_strchomp(string: *mut c_char) -> *mut c_char5816     pub fn g_strchomp(string: *mut c_char) -> *mut c_char;
g_strchug(string: *mut c_char) -> *mut c_char5817     pub fn g_strchug(string: *mut c_char) -> *mut c_char;
g_strcmp0(str1: *const c_char, str2: *const c_char) -> c_int5818     pub fn g_strcmp0(str1: *const c_char, str2: *const c_char) -> c_int;
g_strcompress(source: *const c_char) -> *mut c_char5819     pub fn g_strcompress(source: *const c_char) -> *mut c_char;
g_strconcat(string1: *const c_char, ...) -> *mut c_char5820     pub fn g_strconcat(string1: *const c_char, ...) -> *mut c_char;
g_strdelimit( string: *mut c_char, delimiters: *const c_char, new_delimiter: c_char, ) -> *mut c_char5821     pub fn g_strdelimit(
5822         string: *mut c_char,
5823         delimiters: *const c_char,
5824         new_delimiter: c_char,
5825     ) -> *mut c_char;
g_strdown(string: *mut c_char) -> *mut c_char5826     pub fn g_strdown(string: *mut c_char) -> *mut c_char;
g_strdup(str: *const c_char) -> *mut c_char5827     pub fn g_strdup(str: *const c_char) -> *mut c_char;
g_strdup_printf(format: *const c_char, ...) -> *mut c_char5828     pub fn g_strdup_printf(format: *const c_char, ...) -> *mut c_char;
5829     //pub fn g_strdup_vprintf(format: *const c_char, args: /*Unimplemented*/va_list) -> *mut c_char;
g_strdupv(str_array: *mut *mut c_char) -> *mut *mut c_char5830     pub fn g_strdupv(str_array: *mut *mut c_char) -> *mut *mut c_char;
g_strerror(errnum: c_int) -> *const c_char5831     pub fn g_strerror(errnum: c_int) -> *const c_char;
g_strescape(source: *const c_char, exceptions: *const c_char) -> *mut c_char5832     pub fn g_strescape(source: *const c_char, exceptions: *const c_char) -> *mut c_char;
g_strfreev(str_array: *mut *mut c_char)5833     pub fn g_strfreev(str_array: *mut *mut c_char);
g_string_new(init: *const c_char) -> *mut GString5834     pub fn g_string_new(init: *const c_char) -> *mut GString;
g_string_new_len(init: *const c_char, len: ssize_t) -> *mut GString5835     pub fn g_string_new_len(init: *const c_char, len: ssize_t) -> *mut GString;
g_string_sized_new(dfl_size: size_t) -> *mut GString5836     pub fn g_string_sized_new(dfl_size: size_t) -> *mut GString;
g_strip_context(msgid: *const c_char, msgval: *const c_char) -> *const c_char5837     pub fn g_strip_context(msgid: *const c_char, msgval: *const c_char) -> *const c_char;
g_strjoin(separator: *const c_char, ...) -> *mut c_char5838     pub fn g_strjoin(separator: *const c_char, ...) -> *mut c_char;
g_strjoinv(separator: *const c_char, str_array: *mut *mut c_char) -> *mut c_char5839     pub fn g_strjoinv(separator: *const c_char, str_array: *mut *mut c_char) -> *mut c_char;
g_strlcat(dest: *mut c_char, src: *const c_char, dest_size: size_t) -> size_t5840     pub fn g_strlcat(dest: *mut c_char, src: *const c_char, dest_size: size_t) -> size_t;
g_strlcpy(dest: *mut c_char, src: *const c_char, dest_size: size_t) -> size_t5841     pub fn g_strlcpy(dest: *mut c_char, src: *const c_char, dest_size: size_t) -> size_t;
g_strncasecmp(s1: *const c_char, s2: *const c_char, n: c_uint) -> c_int5842     pub fn g_strncasecmp(s1: *const c_char, s2: *const c_char, n: c_uint) -> c_int;
g_strndup(str: *const c_char, n: size_t) -> *mut c_char5843     pub fn g_strndup(str: *const c_char, n: size_t) -> *mut c_char;
g_strnfill(length: size_t, fill_char: c_char) -> *mut c_char5844     pub fn g_strnfill(length: size_t, fill_char: c_char) -> *mut c_char;
g_strreverse(string: *mut c_char) -> *mut c_char5845     pub fn g_strreverse(string: *mut c_char) -> *mut c_char;
g_strrstr(haystack: *const c_char, needle: *const c_char) -> *mut c_char5846     pub fn g_strrstr(haystack: *const c_char, needle: *const c_char) -> *mut c_char;
g_strrstr_len( haystack: *const c_char, haystack_len: ssize_t, needle: *const c_char, ) -> *mut c_char5847     pub fn g_strrstr_len(
5848         haystack: *const c_char,
5849         haystack_len: ssize_t,
5850         needle: *const c_char,
5851     ) -> *mut c_char;
g_strsignal(signum: c_int) -> *const c_char5852     pub fn g_strsignal(signum: c_int) -> *const c_char;
g_strsplit( string: *const c_char, delimiter: *const c_char, max_tokens: c_int, ) -> *mut *mut c_char5853     pub fn g_strsplit(
5854         string: *const c_char,
5855         delimiter: *const c_char,
5856         max_tokens: c_int,
5857     ) -> *mut *mut c_char;
g_strsplit_set( string: *const c_char, delimiters: *const c_char, max_tokens: c_int, ) -> *mut *mut c_char5858     pub fn g_strsplit_set(
5859         string: *const c_char,
5860         delimiters: *const c_char,
5861         max_tokens: c_int,
5862     ) -> *mut *mut c_char;
g_strstr_len( haystack: *const c_char, haystack_len: ssize_t, needle: *const c_char, ) -> *mut c_char5863     pub fn g_strstr_len(
5864         haystack: *const c_char,
5865         haystack_len: ssize_t,
5866         needle: *const c_char,
5867     ) -> *mut c_char;
g_strtod(nptr: *const c_char, endptr: *mut *mut c_char) -> c_double5868     pub fn g_strtod(nptr: *const c_char, endptr: *mut *mut c_char) -> c_double;
g_strup(string: *mut c_char) -> *mut c_char5869     pub fn g_strup(string: *mut c_char) -> *mut c_char;
5870     #[cfg(any(feature = "v2_44", feature = "dox"))]
g_strv_contains(strv: *const *const c_char, str: *const c_char) -> gboolean5871     pub fn g_strv_contains(strv: *const *const c_char, str: *const c_char) -> gboolean;
5872     #[cfg(any(feature = "v2_60", feature = "dox"))]
g_strv_equal(strv1: *const *const c_char, strv2: *const *const c_char) -> gboolean5873     pub fn g_strv_equal(strv1: *const *const c_char, strv2: *const *const c_char) -> gboolean;
g_strv_get_type() -> GType5874     pub fn g_strv_get_type() -> GType;
g_strv_length(str_array: *mut *mut c_char) -> c_uint5875     pub fn g_strv_length(str_array: *mut *mut c_char) -> c_uint;
g_test_add_data_func( testpath: *const c_char, test_data: gconstpointer, test_func: GTestDataFunc, )5876     pub fn g_test_add_data_func(
5877         testpath: *const c_char,
5878         test_data: gconstpointer,
5879         test_func: GTestDataFunc,
5880     );
g_test_add_data_func_full( testpath: *const c_char, test_data: gpointer, test_func: GTestDataFunc, data_free_func: GDestroyNotify, )5881     pub fn g_test_add_data_func_full(
5882         testpath: *const c_char,
5883         test_data: gpointer,
5884         test_func: GTestDataFunc,
5885         data_free_func: GDestroyNotify,
5886     );
g_test_add_func(testpath: *const c_char, test_func: GTestFunc)5887     pub fn g_test_add_func(testpath: *const c_char, test_func: GTestFunc);
g_test_add_vtable( testpath: *const c_char, data_size: size_t, test_data: gconstpointer, data_setup: GTestFixtureFunc, data_test: GTestFixtureFunc, data_teardown: GTestFixtureFunc, )5888     pub fn g_test_add_vtable(
5889         testpath: *const c_char,
5890         data_size: size_t,
5891         test_data: gconstpointer,
5892         data_setup: GTestFixtureFunc,
5893         data_test: GTestFixtureFunc,
5894         data_teardown: GTestFixtureFunc,
5895     );
g_test_assert_expected_messages_internal( domain: *const c_char, file: *const c_char, line: c_int, func: *const c_char, )5896     pub fn g_test_assert_expected_messages_internal(
5897         domain: *const c_char,
5898         file: *const c_char,
5899         line: c_int,
5900         func: *const c_char,
5901     );
g_test_bug(bug_uri_snippet: *const c_char)5902     pub fn g_test_bug(bug_uri_snippet: *const c_char);
g_test_bug_base(uri_pattern: *const c_char)5903     pub fn g_test_bug_base(uri_pattern: *const c_char);
g_test_build_filename( file_type: GTestFileType, first_path: *const c_char, ... ) -> *mut c_char5904     pub fn g_test_build_filename(
5905         file_type: GTestFileType,
5906         first_path: *const c_char,
5907         ...
5908     ) -> *mut c_char;
g_test_create_case( test_name: *const c_char, data_size: size_t, test_data: gconstpointer, data_setup: GTestFixtureFunc, data_test: GTestFixtureFunc, data_teardown: GTestFixtureFunc, ) -> *mut GTestCase5909     pub fn g_test_create_case(
5910         test_name: *const c_char,
5911         data_size: size_t,
5912         test_data: gconstpointer,
5913         data_setup: GTestFixtureFunc,
5914         data_test: GTestFixtureFunc,
5915         data_teardown: GTestFixtureFunc,
5916     ) -> *mut GTestCase;
g_test_create_suite(suite_name: *const c_char) -> *mut GTestSuite5917     pub fn g_test_create_suite(suite_name: *const c_char) -> *mut GTestSuite;
g_test_expect_message( log_domain: *const c_char, log_level: GLogLevelFlags, pattern: *const c_char, )5918     pub fn g_test_expect_message(
5919         log_domain: *const c_char,
5920         log_level: GLogLevelFlags,
5921         pattern: *const c_char,
5922     );
g_test_fail()5923     pub fn g_test_fail();
g_test_failed() -> gboolean5924     pub fn g_test_failed() -> gboolean;
g_test_get_dir(file_type: GTestFileType) -> *const c_char5925     pub fn g_test_get_dir(file_type: GTestFileType) -> *const c_char;
g_test_get_filename( file_type: GTestFileType, first_path: *const c_char, ... ) -> *const c_char5926     pub fn g_test_get_filename(
5927         file_type: GTestFileType,
5928         first_path: *const c_char,
5929         ...
5930     ) -> *const c_char;
g_test_get_root() -> *mut GTestSuite5931     pub fn g_test_get_root() -> *mut GTestSuite;
g_test_incomplete(msg: *const c_char)5932     pub fn g_test_incomplete(msg: *const c_char);
g_test_init(argc: *mut c_int, argv: *mut *mut *mut c_char, ...)5933     pub fn g_test_init(argc: *mut c_int, argv: *mut *mut *mut c_char, ...);
g_test_log_set_fatal_handler(log_func: GTestLogFatalFunc, user_data: gpointer)5934     pub fn g_test_log_set_fatal_handler(log_func: GTestLogFatalFunc, user_data: gpointer);
g_test_log_type_name(log_type: GTestLogType) -> *const c_char5935     pub fn g_test_log_type_name(log_type: GTestLogType) -> *const c_char;
g_test_maximized_result(maximized_quantity: c_double, format: *const c_char, ...)5936     pub fn g_test_maximized_result(maximized_quantity: c_double, format: *const c_char, ...);
g_test_message(format: *const c_char, ...)5937     pub fn g_test_message(format: *const c_char, ...);
g_test_minimized_result(minimized_quantity: c_double, format: *const c_char, ...)5938     pub fn g_test_minimized_result(minimized_quantity: c_double, format: *const c_char, ...);
g_test_queue_destroy(destroy_func: GDestroyNotify, destroy_data: gpointer)5939     pub fn g_test_queue_destroy(destroy_func: GDestroyNotify, destroy_data: gpointer);
g_test_queue_free(gfree_pointer: gpointer)5940     pub fn g_test_queue_free(gfree_pointer: gpointer);
g_test_rand_double() -> c_double5941     pub fn g_test_rand_double() -> c_double;
g_test_rand_double_range(range_start: c_double, range_end: c_double) -> c_double5942     pub fn g_test_rand_double_range(range_start: c_double, range_end: c_double) -> c_double;
g_test_rand_int() -> i325943     pub fn g_test_rand_int() -> i32;
g_test_rand_int_range(begin: i32, end: i32) -> i325944     pub fn g_test_rand_int_range(begin: i32, end: i32) -> i32;
g_test_run() -> c_int5945     pub fn g_test_run() -> c_int;
g_test_run_suite(suite: *mut GTestSuite) -> c_int5946     pub fn g_test_run_suite(suite: *mut GTestSuite) -> c_int;
g_test_set_nonfatal_assertions()5947     pub fn g_test_set_nonfatal_assertions();
g_test_skip(msg: *const c_char)5948     pub fn g_test_skip(msg: *const c_char);
g_test_subprocess() -> gboolean5949     pub fn g_test_subprocess() -> gboolean;
5950     #[cfg(any(feature = "v2_62", feature = "dox"))]
g_test_summary(summary: *const c_char)5951     pub fn g_test_summary(summary: *const c_char);
g_test_timer_elapsed() -> c_double5952     pub fn g_test_timer_elapsed() -> c_double;
g_test_timer_last() -> c_double5953     pub fn g_test_timer_last() -> c_double;
g_test_timer_start()5954     pub fn g_test_timer_start();
g_test_trap_assertions( domain: *const c_char, file: *const c_char, line: c_int, func: *const c_char, assertion_flags: u64, pattern: *const c_char, )5955     pub fn g_test_trap_assertions(
5956         domain: *const c_char,
5957         file: *const c_char,
5958         line: c_int,
5959         func: *const c_char,
5960         assertion_flags: u64,
5961         pattern: *const c_char,
5962     );
g_test_trap_fork(usec_timeout: u64, test_trap_flags: GTestTrapFlags) -> gboolean5963     pub fn g_test_trap_fork(usec_timeout: u64, test_trap_flags: GTestTrapFlags) -> gboolean;
g_test_trap_has_passed() -> gboolean5964     pub fn g_test_trap_has_passed() -> gboolean;
g_test_trap_reached_timeout() -> gboolean5965     pub fn g_test_trap_reached_timeout() -> gboolean;
g_test_trap_subprocess( test_path: *const c_char, usec_timeout: u64, test_flags: GTestSubprocessFlags, )5966     pub fn g_test_trap_subprocess(
5967         test_path: *const c_char,
5968         usec_timeout: u64,
5969         test_flags: GTestSubprocessFlags,
5970     );
g_timeout_add(interval: c_uint, function: GSourceFunc, data: gpointer) -> c_uint5971     pub fn g_timeout_add(interval: c_uint, function: GSourceFunc, data: gpointer) -> c_uint;
g_timeout_add_full( priority: c_int, interval: c_uint, function: GSourceFunc, data: gpointer, notify: GDestroyNotify, ) -> c_uint5972     pub fn g_timeout_add_full(
5973         priority: c_int,
5974         interval: c_uint,
5975         function: GSourceFunc,
5976         data: gpointer,
5977         notify: GDestroyNotify,
5978     ) -> c_uint;
g_timeout_add_seconds(interval: c_uint, function: GSourceFunc, data: gpointer) -> c_uint5979     pub fn g_timeout_add_seconds(interval: c_uint, function: GSourceFunc, data: gpointer)
5980         -> c_uint;
g_timeout_add_seconds_full( priority: c_int, interval: c_uint, function: GSourceFunc, data: gpointer, notify: GDestroyNotify, ) -> c_uint5981     pub fn g_timeout_add_seconds_full(
5982         priority: c_int,
5983         interval: c_uint,
5984         function: GSourceFunc,
5985         data: gpointer,
5986         notify: GDestroyNotify,
5987     ) -> c_uint;
g_timeout_source_new(interval: c_uint) -> *mut GSource5988     pub fn g_timeout_source_new(interval: c_uint) -> *mut GSource;
g_timeout_source_new_seconds(interval: c_uint) -> *mut GSource5989     pub fn g_timeout_source_new_seconds(interval: c_uint) -> *mut GSource;
g_try_malloc(n_bytes: size_t) -> gpointer5990     pub fn g_try_malloc(n_bytes: size_t) -> gpointer;
g_try_malloc0(n_bytes: size_t) -> gpointer5991     pub fn g_try_malloc0(n_bytes: size_t) -> gpointer;
g_try_malloc0_n(n_blocks: size_t, n_block_bytes: size_t) -> gpointer5992     pub fn g_try_malloc0_n(n_blocks: size_t, n_block_bytes: size_t) -> gpointer;
g_try_malloc_n(n_blocks: size_t, n_block_bytes: size_t) -> gpointer5993     pub fn g_try_malloc_n(n_blocks: size_t, n_block_bytes: size_t) -> gpointer;
g_try_realloc(mem: gpointer, n_bytes: size_t) -> gpointer5994     pub fn g_try_realloc(mem: gpointer, n_bytes: size_t) -> gpointer;
g_try_realloc_n(mem: gpointer, n_blocks: size_t, n_block_bytes: size_t) -> gpointer5995     pub fn g_try_realloc_n(mem: gpointer, n_blocks: size_t, n_block_bytes: size_t) -> gpointer;
g_ucs4_to_utf16( str: *const u32, len: c_long, items_read: *mut c_long, items_written: *mut c_long, error: *mut *mut GError, ) -> *mut u165996     pub fn g_ucs4_to_utf16(
5997         str: *const u32,
5998         len: c_long,
5999         items_read: *mut c_long,
6000         items_written: *mut c_long,
6001         error: *mut *mut GError,
6002     ) -> *mut u16;
g_ucs4_to_utf8( str: *const u32, len: c_long, items_read: *mut c_long, items_written: *mut c_long, error: *mut *mut GError, ) -> *mut c_char6003     pub fn g_ucs4_to_utf8(
6004         str: *const u32,
6005         len: c_long,
6006         items_read: *mut c_long,
6007         items_written: *mut c_long,
6008         error: *mut *mut GError,
6009     ) -> *mut c_char;
g_unichar_break_type(c: u32) -> GUnicodeBreakType6010     pub fn g_unichar_break_type(c: u32) -> GUnicodeBreakType;
g_unichar_combining_class(uc: u32) -> c_int6011     pub fn g_unichar_combining_class(uc: u32) -> c_int;
g_unichar_compose(a: u32, b: u32, ch: *mut u32) -> gboolean6012     pub fn g_unichar_compose(a: u32, b: u32, ch: *mut u32) -> gboolean;
g_unichar_decompose(ch: u32, a: *mut u32, b: *mut u32) -> gboolean6013     pub fn g_unichar_decompose(ch: u32, a: *mut u32, b: *mut u32) -> gboolean;
g_unichar_digit_value(c: u32) -> c_int6014     pub fn g_unichar_digit_value(c: u32) -> c_int;
g_unichar_fully_decompose( ch: u32, compat: gboolean, result: *mut u32, result_len: size_t, ) -> size_t6015     pub fn g_unichar_fully_decompose(
6016         ch: u32,
6017         compat: gboolean,
6018         result: *mut u32,
6019         result_len: size_t,
6020     ) -> size_t;
g_unichar_get_mirror_char(ch: u32, mirrored_ch: *mut u32) -> gboolean6021     pub fn g_unichar_get_mirror_char(ch: u32, mirrored_ch: *mut u32) -> gboolean;
g_unichar_get_script(ch: u32) -> GUnicodeScript6022     pub fn g_unichar_get_script(ch: u32) -> GUnicodeScript;
g_unichar_isalnum(c: u32) -> gboolean6023     pub fn g_unichar_isalnum(c: u32) -> gboolean;
g_unichar_isalpha(c: u32) -> gboolean6024     pub fn g_unichar_isalpha(c: u32) -> gboolean;
g_unichar_iscntrl(c: u32) -> gboolean6025     pub fn g_unichar_iscntrl(c: u32) -> gboolean;
g_unichar_isdefined(c: u32) -> gboolean6026     pub fn g_unichar_isdefined(c: u32) -> gboolean;
g_unichar_isdigit(c: u32) -> gboolean6027     pub fn g_unichar_isdigit(c: u32) -> gboolean;
g_unichar_isgraph(c: u32) -> gboolean6028     pub fn g_unichar_isgraph(c: u32) -> gboolean;
g_unichar_islower(c: u32) -> gboolean6029     pub fn g_unichar_islower(c: u32) -> gboolean;
g_unichar_ismark(c: u32) -> gboolean6030     pub fn g_unichar_ismark(c: u32) -> gboolean;
g_unichar_isprint(c: u32) -> gboolean6031     pub fn g_unichar_isprint(c: u32) -> gboolean;
g_unichar_ispunct(c: u32) -> gboolean6032     pub fn g_unichar_ispunct(c: u32) -> gboolean;
g_unichar_isspace(c: u32) -> gboolean6033     pub fn g_unichar_isspace(c: u32) -> gboolean;
g_unichar_istitle(c: u32) -> gboolean6034     pub fn g_unichar_istitle(c: u32) -> gboolean;
g_unichar_isupper(c: u32) -> gboolean6035     pub fn g_unichar_isupper(c: u32) -> gboolean;
g_unichar_iswide(c: u32) -> gboolean6036     pub fn g_unichar_iswide(c: u32) -> gboolean;
g_unichar_iswide_cjk(c: u32) -> gboolean6037     pub fn g_unichar_iswide_cjk(c: u32) -> gboolean;
g_unichar_isxdigit(c: u32) -> gboolean6038     pub fn g_unichar_isxdigit(c: u32) -> gboolean;
g_unichar_iszerowidth(c: u32) -> gboolean6039     pub fn g_unichar_iszerowidth(c: u32) -> gboolean;
g_unichar_to_utf8(c: u32, outbuf: *mut c_char) -> c_int6040     pub fn g_unichar_to_utf8(c: u32, outbuf: *mut c_char) -> c_int;
g_unichar_tolower(c: u32) -> u326041     pub fn g_unichar_tolower(c: u32) -> u32;
g_unichar_totitle(c: u32) -> u326042     pub fn g_unichar_totitle(c: u32) -> u32;
g_unichar_toupper(c: u32) -> u326043     pub fn g_unichar_toupper(c: u32) -> u32;
g_unichar_type(c: u32) -> GUnicodeType6044     pub fn g_unichar_type(c: u32) -> GUnicodeType;
g_unichar_validate(ch: u32) -> gboolean6045     pub fn g_unichar_validate(ch: u32) -> gboolean;
g_unichar_xdigit_value(c: u32) -> c_int6046     pub fn g_unichar_xdigit_value(c: u32) -> c_int;
g_unicode_canonical_decomposition(ch: u32, result_len: *mut size_t) -> *mut u326047     pub fn g_unicode_canonical_decomposition(ch: u32, result_len: *mut size_t) -> *mut u32;
g_unicode_canonical_ordering(string: *mut u32, len: size_t)6048     pub fn g_unicode_canonical_ordering(string: *mut u32, len: size_t);
g_unicode_script_from_iso15924(iso15924: u32) -> GUnicodeScript6049     pub fn g_unicode_script_from_iso15924(iso15924: u32) -> GUnicodeScript;
g_unicode_script_to_iso15924(script: GUnicodeScript) -> u326050     pub fn g_unicode_script_to_iso15924(script: GUnicodeScript) -> u32;
g_unix_error_quark() -> GQuark6051     pub fn g_unix_error_quark() -> GQuark;
g_unix_fd_add( fd: c_int, condition: GIOCondition, function: GUnixFDSourceFunc, user_data: gpointer, ) -> c_uint6052     pub fn g_unix_fd_add(
6053         fd: c_int,
6054         condition: GIOCondition,
6055         function: GUnixFDSourceFunc,
6056         user_data: gpointer,
6057     ) -> c_uint;
g_unix_fd_add_full( priority: c_int, fd: c_int, condition: GIOCondition, function: GUnixFDSourceFunc, user_data: gpointer, notify: GDestroyNotify, ) -> c_uint6058     pub fn g_unix_fd_add_full(
6059         priority: c_int,
6060         fd: c_int,
6061         condition: GIOCondition,
6062         function: GUnixFDSourceFunc,
6063         user_data: gpointer,
6064         notify: GDestroyNotify,
6065     ) -> c_uint;
g_unix_fd_source_new(fd: c_int, condition: GIOCondition) -> *mut GSource6066     pub fn g_unix_fd_source_new(fd: c_int, condition: GIOCondition) -> *mut GSource;
g_unix_open_pipe(fds: *mut c_int, flags: c_int, error: *mut *mut GError) -> gboolean6067     pub fn g_unix_open_pipe(fds: *mut c_int, flags: c_int, error: *mut *mut GError) -> gboolean;
g_unix_set_fd_nonblocking( fd: c_int, nonblock: gboolean, error: *mut *mut GError, ) -> gboolean6068     pub fn g_unix_set_fd_nonblocking(
6069         fd: c_int,
6070         nonblock: gboolean,
6071         error: *mut *mut GError,
6072     ) -> gboolean;
g_unix_signal_add(signum: c_int, handler: GSourceFunc, user_data: gpointer) -> c_uint6073     pub fn g_unix_signal_add(signum: c_int, handler: GSourceFunc, user_data: gpointer) -> c_uint;
g_unix_signal_add_full( priority: c_int, signum: c_int, handler: GSourceFunc, user_data: gpointer, notify: GDestroyNotify, ) -> c_uint6074     pub fn g_unix_signal_add_full(
6075         priority: c_int,
6076         signum: c_int,
6077         handler: GSourceFunc,
6078         user_data: gpointer,
6079         notify: GDestroyNotify,
6080     ) -> c_uint;
g_unix_signal_source_new(signum: c_int) -> *mut GSource6081     pub fn g_unix_signal_source_new(signum: c_int) -> *mut GSource;
g_unlink(filename: *const c_char) -> c_int6082     pub fn g_unlink(filename: *const c_char) -> c_int;
6083     #[cfg(any(windows, feature = "dox"))]
g_unsetenv_utf8(variable: *const c_char)6084     pub fn g_unsetenv_utf8(variable: *const c_char);
g_unsetenv(variable: *const c_char)6085     pub fn g_unsetenv(variable: *const c_char);
g_uri_escape_string( unescaped: *const c_char, reserved_chars_allowed: *const c_char, allow_utf8: gboolean, ) -> *mut c_char6086     pub fn g_uri_escape_string(
6087         unescaped: *const c_char,
6088         reserved_chars_allowed: *const c_char,
6089         allow_utf8: gboolean,
6090     ) -> *mut c_char;
g_uri_list_extract_uris(uri_list: *const c_char) -> *mut *mut c_char6091     pub fn g_uri_list_extract_uris(uri_list: *const c_char) -> *mut *mut c_char;
g_uri_parse_scheme(uri: *const c_char) -> *mut c_char6092     pub fn g_uri_parse_scheme(uri: *const c_char) -> *mut c_char;
g_uri_unescape_segment( escaped_string: *const c_char, escaped_string_end: *const c_char, illegal_characters: *const c_char, ) -> *mut c_char6093     pub fn g_uri_unescape_segment(
6094         escaped_string: *const c_char,
6095         escaped_string_end: *const c_char,
6096         illegal_characters: *const c_char,
6097     ) -> *mut c_char;
g_uri_unescape_string( escaped_string: *const c_char, illegal_characters: *const c_char, ) -> *mut c_char6098     pub fn g_uri_unescape_string(
6099         escaped_string: *const c_char,
6100         illegal_characters: *const c_char,
6101     ) -> *mut c_char;
g_usleep(microseconds: c_ulong)6102     pub fn g_usleep(microseconds: c_ulong);
g_utf16_to_ucs4( str: *const u16, len: c_long, items_read: *mut c_long, items_written: *mut c_long, error: *mut *mut GError, ) -> *mut u326103     pub fn g_utf16_to_ucs4(
6104         str: *const u16,
6105         len: c_long,
6106         items_read: *mut c_long,
6107         items_written: *mut c_long,
6108         error: *mut *mut GError,
6109     ) -> *mut u32;
g_utf16_to_utf8( str: *const u16, len: c_long, items_read: *mut c_long, items_written: *mut c_long, error: *mut *mut GError, ) -> *mut c_char6110     pub fn g_utf16_to_utf8(
6111         str: *const u16,
6112         len: c_long,
6113         items_read: *mut c_long,
6114         items_written: *mut c_long,
6115         error: *mut *mut GError,
6116     ) -> *mut c_char;
g_utf8_casefold(str: *const c_char, len: ssize_t) -> *mut c_char6117     pub fn g_utf8_casefold(str: *const c_char, len: ssize_t) -> *mut c_char;
g_utf8_collate(str1: *const c_char, str2: *const c_char) -> c_int6118     pub fn g_utf8_collate(str1: *const c_char, str2: *const c_char) -> c_int;
g_utf8_collate_key(str: *const c_char, len: ssize_t) -> *mut c_char6119     pub fn g_utf8_collate_key(str: *const c_char, len: ssize_t) -> *mut c_char;
g_utf8_collate_key_for_filename(str: *const c_char, len: ssize_t) -> *mut c_char6120     pub fn g_utf8_collate_key_for_filename(str: *const c_char, len: ssize_t) -> *mut c_char;
g_utf8_find_next_char(p: *const c_char, end: *const c_char) -> *mut c_char6121     pub fn g_utf8_find_next_char(p: *const c_char, end: *const c_char) -> *mut c_char;
g_utf8_find_prev_char(str: *const c_char, p: *const c_char) -> *mut c_char6122     pub fn g_utf8_find_prev_char(str: *const c_char, p: *const c_char) -> *mut c_char;
g_utf8_get_char(p: *const c_char) -> u326123     pub fn g_utf8_get_char(p: *const c_char) -> u32;
g_utf8_get_char_validated(p: *const c_char, max_len: ssize_t) -> u326124     pub fn g_utf8_get_char_validated(p: *const c_char, max_len: ssize_t) -> u32;
6125     #[cfg(any(feature = "v2_52", feature = "dox"))]
g_utf8_make_valid(str: *const c_char, len: ssize_t) -> *mut c_char6126     pub fn g_utf8_make_valid(str: *const c_char, len: ssize_t) -> *mut c_char;
g_utf8_normalize(str: *const c_char, len: ssize_t, mode: GNormalizeMode) -> *mut c_char6127     pub fn g_utf8_normalize(str: *const c_char, len: ssize_t, mode: GNormalizeMode) -> *mut c_char;
g_utf8_offset_to_pointer(str: *const c_char, offset: c_long) -> *mut c_char6128     pub fn g_utf8_offset_to_pointer(str: *const c_char, offset: c_long) -> *mut c_char;
g_utf8_pointer_to_offset(str: *const c_char, pos: *const c_char) -> c_long6129     pub fn g_utf8_pointer_to_offset(str: *const c_char, pos: *const c_char) -> c_long;
g_utf8_prev_char(p: *const c_char) -> *mut c_char6130     pub fn g_utf8_prev_char(p: *const c_char) -> *mut c_char;
g_utf8_strchr(p: *const c_char, len: ssize_t, c: u32) -> *mut c_char6131     pub fn g_utf8_strchr(p: *const c_char, len: ssize_t, c: u32) -> *mut c_char;
g_utf8_strdown(str: *const c_char, len: ssize_t) -> *mut c_char6132     pub fn g_utf8_strdown(str: *const c_char, len: ssize_t) -> *mut c_char;
g_utf8_strlen(p: *const c_char, max: ssize_t) -> c_long6133     pub fn g_utf8_strlen(p: *const c_char, max: ssize_t) -> c_long;
g_utf8_strncpy(dest: *mut c_char, src: *const c_char, n: size_t) -> *mut c_char6134     pub fn g_utf8_strncpy(dest: *mut c_char, src: *const c_char, n: size_t) -> *mut c_char;
g_utf8_strrchr(p: *const c_char, len: ssize_t, c: u32) -> *mut c_char6135     pub fn g_utf8_strrchr(p: *const c_char, len: ssize_t, c: u32) -> *mut c_char;
g_utf8_strreverse(str: *const c_char, len: ssize_t) -> *mut c_char6136     pub fn g_utf8_strreverse(str: *const c_char, len: ssize_t) -> *mut c_char;
g_utf8_strup(str: *const c_char, len: ssize_t) -> *mut c_char6137     pub fn g_utf8_strup(str: *const c_char, len: ssize_t) -> *mut c_char;
g_utf8_substring(str: *const c_char, start_pos: c_long, end_pos: c_long) -> *mut c_char6138     pub fn g_utf8_substring(str: *const c_char, start_pos: c_long, end_pos: c_long) -> *mut c_char;
g_utf8_to_ucs4( str: *const c_char, len: c_long, items_read: *mut c_long, items_written: *mut c_long, error: *mut *mut GError, ) -> *mut u326139     pub fn g_utf8_to_ucs4(
6140         str: *const c_char,
6141         len: c_long,
6142         items_read: *mut c_long,
6143         items_written: *mut c_long,
6144         error: *mut *mut GError,
6145     ) -> *mut u32;
g_utf8_to_ucs4_fast( str: *const c_char, len: c_long, items_written: *mut c_long, ) -> *mut u326146     pub fn g_utf8_to_ucs4_fast(
6147         str: *const c_char,
6148         len: c_long,
6149         items_written: *mut c_long,
6150     ) -> *mut u32;
g_utf8_to_utf16( str: *const c_char, len: c_long, items_read: *mut c_long, items_written: *mut c_long, error: *mut *mut GError, ) -> *mut u166151     pub fn g_utf8_to_utf16(
6152         str: *const c_char,
6153         len: c_long,
6154         items_read: *mut c_long,
6155         items_written: *mut c_long,
6156         error: *mut *mut GError,
6157     ) -> *mut u16;
g_utf8_validate(str: *const u8, max_len: ssize_t, end: *mut *const c_char) -> gboolean6158     pub fn g_utf8_validate(str: *const u8, max_len: ssize_t, end: *mut *const c_char) -> gboolean;
6159     #[cfg(any(feature = "v2_60", feature = "dox"))]
g_utf8_validate_len( str: *const u8, max_len: size_t, end: *mut *const c_char, ) -> gboolean6160     pub fn g_utf8_validate_len(
6161         str: *const u8,
6162         max_len: size_t,
6163         end: *mut *const c_char,
6164     ) -> gboolean;
6165     #[cfg(any(feature = "v2_52", feature = "dox"))]
g_uuid_string_is_valid(str: *const c_char) -> gboolean6166     pub fn g_uuid_string_is_valid(str: *const c_char) -> gboolean;
6167     #[cfg(any(feature = "v2_52", feature = "dox"))]
g_uuid_string_random() -> *mut c_char6168     pub fn g_uuid_string_random() -> *mut c_char;
g_variant_get_gtype() -> GType6169     pub fn g_variant_get_gtype() -> GType;
6170     //pub fn g_vasprintf(string: *mut *mut c_char, format: *const c_char, args: /*Unimplemented*/va_list) -> c_int;
6171     //pub fn g_vfprintf(file: *mut FILE, format: *const c_char, args: /*Unimplemented*/va_list) -> c_int;
6172     //pub fn g_vprintf(format: *const c_char, args: /*Unimplemented*/va_list) -> c_int;
6173     //pub fn g_vsnprintf(string: *mut c_char, n: c_ulong, format: *const c_char, args: /*Unimplemented*/va_list) -> c_int;
6174     //pub fn g_vsprintf(string: *mut c_char, format: *const c_char, args: /*Unimplemented*/va_list) -> c_int;
g_warn_message( domain: *const c_char, file: *const c_char, line: c_int, func: *const c_char, warnexpr: *const c_char, )6175     pub fn g_warn_message(
6176         domain: *const c_char,
6177         file: *const c_char,
6178         line: c_int,
6179         func: *const c_char,
6180         warnexpr: *const c_char,
6181     );
6182 
6183 }
6184