2 ; object definitions ...
3 ;; Enumerations and flags ...
6 (in-module "GBookmark")
7 (c-name "GBookmarkFileError")
8 (gtype-id "G_TYPE_BOOKMARK_FILE_ERROR")
10 '("invalid-uri" "G_BOOKMARK_FILE_ERROR_INVALID_URI")
11 '("invalid-value" "G_BOOKMARK_FILE_ERROR_INVALID_VALUE")
12 '("app-not-registered" "G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED")
13 '("uri-not-found" "G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND")
14 '("read" "G_BOOKMARK_FILE_ERROR_READ")
15 '("unknown-encoding" "G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING")
16 '("write" "G_BOOKMARK_FILE_ERROR_WRITE")
17 '("file-not-found" "G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND")
21 (define-flags ArrayFlags
22 (in-module "GBSearch")
23 (c-name "GBSearchArrayFlags")
24 (gtype-id "G_TYPE_B_SEARCH_ARRAY_FLAGS")
26 '("lign-power2" "G_BSEARCH_ARRAY_ALIGN_POWER2")
27 '("uto-shrink" "G_BSEARCH_ARRAY_AUTO_SHRINK")
32 (in-module "GConvert")
33 (c-name "GConvertError")
34 (gtype-id "G_TYPE_CONVERT_ERROR")
36 '("no-conversion" "G_CONVERT_ERROR_NO_CONVERSION")
37 '("illegal-sequence" "G_CONVERT_ERROR_ILLEGAL_SEQUENCE")
38 '("failed" "G_CONVERT_ERROR_FAILED")
39 '("partial-input" "G_CONVERT_ERROR_PARTIAL_INPUT")
40 '("bad-uri" "G_CONVERT_ERROR_BAD_URI")
41 '("not-absolute-path" "G_CONVERT_ERROR_NOT_ABSOLUTE_PATH")
48 (gtype-id "G_TYPE_DATE_DMY")
51 '("month" "G_DATE_MONTH")
52 '("year" "G_DATE_YEAR")
58 (c-name "GDateWeekday")
59 (gtype-id "G_TYPE_DATE_WEEKDAY")
61 '("bad-weekday" "G_DATE_BAD_WEEKDAY")
62 '("monday" "G_DATE_MONDAY")
63 '("tuesday" "G_DATE_TUESDAY")
64 '("wednesday" "G_DATE_WEDNESDAY")
65 '("thursday" "G_DATE_THURSDAY")
66 '("friday" "G_DATE_FRIDAY")
67 '("saturday" "G_DATE_SATURDAY")
68 '("sunday" "G_DATE_SUNDAY")
75 (gtype-id "G_TYPE_DATE_MONTH")
77 '("bad-month" "G_DATE_BAD_MONTH")
78 '("january" "G_DATE_JANUARY")
79 '("february" "G_DATE_FEBRUARY")
80 '("march" "G_DATE_MARCH")
81 '("april" "G_DATE_APRIL")
83 '("june" "G_DATE_JUNE")
84 '("july" "G_DATE_JULY")
85 '("august" "G_DATE_AUGUST")
86 '("september" "G_DATE_SEPTEMBER")
87 '("october" "G_DATE_OCTOBER")
88 '("november" "G_DATE_NOVEMBER")
89 '("december" "G_DATE_DECEMBER")
96 (gtype-id "G_TYPE_DEBUG_FLAG")
98 '("warnings" "G_DEBUG_FATAL_WARNINGS")
99 '("criticals" "G_DEBUG_FATAL_CRITICALS")
105 (c-name "GFileError")
106 (gtype-id "G_TYPE_FILE_ERROR")
108 '("exist" "G_FILE_ERROR_EXIST")
109 '("isdir" "G_FILE_ERROR_ISDIR")
110 '("acces" "G_FILE_ERROR_ACCES")
111 '("nametoolong" "G_FILE_ERROR_NAMETOOLONG")
112 '("noent" "G_FILE_ERROR_NOENT")
113 '("notdir" "G_FILE_ERROR_NOTDIR")
114 '("nxio" "G_FILE_ERROR_NXIO")
115 '("nodev" "G_FILE_ERROR_NODEV")
116 '("rofs" "G_FILE_ERROR_ROFS")
117 '("txtbsy" "G_FILE_ERROR_TXTBSY")
118 '("fault" "G_FILE_ERROR_FAULT")
119 '("loop" "G_FILE_ERROR_LOOP")
120 '("nospc" "G_FILE_ERROR_NOSPC")
121 '("nomem" "G_FILE_ERROR_NOMEM")
122 '("mfile" "G_FILE_ERROR_MFILE")
123 '("nfile" "G_FILE_ERROR_NFILE")
124 '("badf" "G_FILE_ERROR_BADF")
125 '("inval" "G_FILE_ERROR_INVAL")
126 '("pipe" "G_FILE_ERROR_PIPE")
127 '("again" "G_FILE_ERROR_AGAIN")
128 '("intr" "G_FILE_ERROR_INTR")
129 '("io" "G_FILE_ERROR_IO")
130 '("perm" "G_FILE_ERROR_PERM")
131 '("nosys" "G_FILE_ERROR_NOSYS")
132 '("failed" "G_FILE_ERROR_FAILED")
139 (gtype-id "G_TYPE_FILE_TEST")
141 '("is-regular" "G_FILE_TEST_IS_REGULAR")
142 '("is-symlink" "G_FILE_TEST_IS_SYMLINK")
143 '("is-dir" "G_FILE_TEST_IS_DIR")
144 '("is-executable" "G_FILE_TEST_IS_EXECUTABLE")
145 '("exists" "G_FILE_TEST_EXISTS")
149 (define-flags FlagMask
151 (c-name "GHookFlagMask")
152 (gtype-id "G_TYPE_HOOK_FLAG_MASK")
154 '("active" "G_HOOK_FLAG_ACTIVE")
155 '("in-call" "G_HOOK_FLAG_IN_CALL")
156 '("mask" "G_HOOK_FLAG_MASK")
161 (in-module "GIOErro")
163 (gtype-id "G_TYPE_IO_ERROR")
165 '("none" "G_IO_ERROR_NONE")
166 '("again" "G_IO_ERROR_AGAIN")
167 '("inval" "G_IO_ERROR_INVAL")
168 '("unknown" "G_IO_ERROR_UNKNOWN")
173 (in-module "GIOChannel")
174 (c-name "GIOChannelError")
175 (gtype-id "G_TYPE_IO_CHANNEL_ERROR")
177 '("fbig" "G_IO_CHANNEL_ERROR_FBIG")
178 '("inval" "G_IO_CHANNEL_ERROR_INVAL")
179 '("io" "G_IO_CHANNEL_ERROR_IO")
180 '("isdir" "G_IO_CHANNEL_ERROR_ISDIR")
181 '("nospc" "G_IO_CHANNEL_ERROR_NOSPC")
182 '("nxio" "G_IO_CHANNEL_ERROR_NXIO")
183 '("overflow" "G_IO_CHANNEL_ERROR_OVERFLOW")
184 '("pipe" "G_IO_CHANNEL_ERROR_PIPE")
185 '("failed" "G_IO_CHANNEL_ERROR_FAILED")
190 (in-module "GIOStatu")
192 (gtype-id "G_TYPE_IO_STATUS")
194 '("error" "G_IO_STATUS_ERROR")
195 '("normal" "G_IO_STATUS_NORMAL")
196 '("eof" "G_IO_STATUS_EOF")
197 '("again" "G_IO_STATUS_AGAIN")
204 (gtype-id "G_TYPE_SEEK_TYPE")
206 '("cur" "G_SEEK_CUR")
207 '("set" "G_SEEK_SET")
208 '("end" "G_SEEK_END")
213 (in-module "GIOConditio")
214 (c-name "GIOCondition")
215 (gtype-id "G_TYPE_IO_CONDITION")
222 '("nval" "G_IO_NVAL")
227 (in-module "GIOFlag")
229 (gtype-id "G_TYPE_IO_FLAGS")
231 '("append" "G_IO_FLAG_APPEND")
232 '("nonblock" "G_IO_FLAG_NONBLOCK")
233 '("is-readable" "G_IO_FLAG_IS_READABLE")
234 '("is-writeable" "G_IO_FLAG_IS_WRITEABLE")
235 '("is-seekable" "G_IO_FLAG_IS_SEEKABLE")
236 '("mask" "G_IO_FLAG_MASK")
237 '("get-mask" "G_IO_FLAG_GET_MASK")
238 '("set-mask" "G_IO_FLAG_SET_MASK")
242 (define-enum FileError
244 (c-name "GKeyFileError")
245 (gtype-id "G_TYPE_KEY_FILE_ERROR")
247 '("unknown-encoding" "G_KEY_FILE_ERROR_UNKNOWN_ENCODING")
248 '("parse" "G_KEY_FILE_ERROR_PARSE")
249 '("not-found" "G_KEY_FILE_ERROR_NOT_FOUND")
250 '("key-not-found" "G_KEY_FILE_ERROR_KEY_NOT_FOUND")
251 '("group-not-found" "G_KEY_FILE_ERROR_GROUP_NOT_FOUND")
252 '("invalid-value" "G_KEY_FILE_ERROR_INVALID_VALUE")
256 (define-flags FileFlags
258 (c-name "GKeyFileFlags")
259 (gtype-id "G_TYPE_KEY_FILE_FLAGS")
261 '("none" "G_KEY_FILE_NONE")
262 '("keep-comments" "G_KEY_FILE_KEEP_COMMENTS")
263 '("keep-translations" "G_KEY_FILE_KEEP_TRANSLATIONS")
268 (in-module "GMarkup")
269 (c-name "GMarkupError")
270 (gtype-id "G_TYPE_MARKUP_ERROR")
272 '("bad-utf8" "G_MARKUP_ERROR_BAD_UTF8")
273 '("empty" "G_MARKUP_ERROR_EMPTY")
274 '("parse" "G_MARKUP_ERROR_PARSE")
275 '("unknown-element" "G_MARKUP_ERROR_UNKNOWN_ELEMENT")
276 '("unknown-attribute" "G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE")
277 '("invalid-content" "G_MARKUP_ERROR_INVALID_CONTENT")
281 (define-flags ParseFlags
282 (in-module "GMarkup")
283 (c-name "GMarkupParseFlags")
284 (gtype-id "G_TYPE_MARKUP_PARSE_FLAGS")
286 '("do-not-use-this-unsupported-flag" "G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG")
287 '("treat-cdata-as-text" "G_MARKUP_TREAT_CDATA_AS_TEXT")
291 (define-flags LevelFlags
293 (c-name "GLogLevelFlags")
294 (gtype-id "G_TYPE_LOG_LEVEL_FLAGS")
296 '("flag-recursion" "G_LOG_FLAG_RECURSION")
297 '("flag-fatal" "G_LOG_FLAG_FATAL")
298 '("level-error" "G_LOG_LEVEL_ERROR")
299 '("level-critical" "G_LOG_LEVEL_CRITICAL")
300 '("level-warning" "G_LOG_LEVEL_WARNING")
301 '("level-message" "G_LOG_LEVEL_MESSAGE")
302 '("level-info" "G_LOG_LEVEL_INFO")
303 '("level-debug" "G_LOG_LEVEL_DEBUG")
304 '("level-mask" "G_LOG_LEVEL_MASK")
309 (in-module "GTraverse")
310 (c-name "GTraverseFlags")
311 (gtype-id "G_TYPE_TRAVERSE_FLAGS")
313 '("leaves" "G_TRAVERSE_LEAVES")
314 '("non-leaves" "G_TRAVERSE_NON_LEAVES")
315 '("all" "G_TRAVERSE_ALL")
316 '("mask" "G_TRAVERSE_MASK")
317 '("leafs" "G_TRAVERSE_LEAFS")
318 '("non-leafs" "G_TRAVERSE_NON_LEAFS")
323 (in-module "GTraverse")
324 (c-name "GTraverseType")
325 (gtype-id "G_TYPE_TRAVERSE_TYPE")
327 '("in-order" "G_IN_ORDER")
328 '("pre-order" "G_PRE_ORDER")
329 '("post-order" "G_POST_ORDER")
330 '("level-order" "G_LEVEL_ORDER")
335 (in-module "GOption")
336 (c-name "GOptionFlags")
337 (gtype-id "G_TYPE_OPTION_FLAGS")
339 '("hidden" "G_OPTION_FLAG_HIDDEN")
340 '("in-main" "G_OPTION_FLAG_IN_MAIN")
341 '("reverse" "G_OPTION_FLAG_REVERSE")
342 '("no-arg" "G_OPTION_FLAG_NO_ARG")
343 '("filename" "G_OPTION_FLAG_FILENAME")
344 '("optional-arg" "G_OPTION_FLAG_OPTIONAL_ARG")
345 '("noalias" "G_OPTION_FLAG_NOALIAS")
350 (in-module "GOption")
351 (c-name "GOptionArg")
352 (gtype-id "G_TYPE_OPTION_ARG")
354 '("none" "G_OPTION_ARG_NONE")
355 '("string" "G_OPTION_ARG_STRING")
356 '("int" "G_OPTION_ARG_INT")
357 '("callback" "G_OPTION_ARG_CALLBACK")
358 '("filename" "G_OPTION_ARG_FILENAME")
359 '("string-array" "G_OPTION_ARG_STRING_ARRAY")
360 '("filename-array" "G_OPTION_ARG_FILENAME_ARRAY")
361 '("double" "G_OPTION_ARG_DOUBLE")
362 '("int64" "G_OPTION_ARG_INT64")
367 (in-module "GOption")
368 (c-name "GOptionError")
369 (gtype-id "G_TYPE_OPTION_ERROR")
371 '("unknown-option" "G_OPTION_ERROR_UNKNOWN_OPTION")
372 '("bad-value" "G_OPTION_ERROR_BAD_VALUE")
373 '("failed" "G_OPTION_ERROR_FAILED")
379 (c-name "GRegexError")
380 (gtype-id "G_TYPE_REGEX_ERROR")
382 '("compile" "G_REGEX_ERROR_COMPILE")
383 '("optimize" "G_REGEX_ERROR_OPTIMIZE")
384 '("replace" "G_REGEX_ERROR_REPLACE")
385 '("match" "G_REGEX_ERROR_MATCH")
389 (define-flags CompileFlags
391 (c-name "GRegexCompileFlags")
392 (gtype-id "G_TYPE_REGEX_COMPILE_FLAGS")
394 '("caseless" "G_REGEX_CASELESS")
395 '("multiline" "G_REGEX_MULTILINE")
396 '("dotall" "G_REGEX_DOTALL")
397 '("extended" "G_REGEX_EXTENDED")
398 '("anchored" "G_REGEX_ANCHORED")
399 '("dollar-endonly" "G_REGEX_DOLLAR_ENDONLY")
400 '("ungreedy" "G_REGEX_UNGREEDY")
401 '("raw" "G_REGEX_RAW")
402 '("no-auto-capture" "G_REGEX_NO_AUTO_CAPTURE")
403 '("optimize" "G_REGEX_OPTIMIZE")
404 '("dupnames" "G_REGEX_DUPNAMES")
405 '("newline-cr" "G_REGEX_NEWLINE_CR")
406 '("newline-lf" "G_REGEX_NEWLINE_LF")
407 '("newline-crlf" "G_REGEX_NEWLINE_CRLF")
411 (define-flags MatchFlags
413 (c-name "GRegexMatchFlags")
414 (gtype-id "G_TYPE_REGEX_MATCH_FLAGS")
416 '("anchored" "G_REGEX_MATCH_ANCHORED")
417 '("notbol" "G_REGEX_MATCH_NOTBOL")
418 '("noteol" "G_REGEX_MATCH_NOTEOL")
419 '("notempty" "G_REGEX_MATCH_NOTEMPTY")
420 '("partial" "G_REGEX_MATCH_PARTIAL")
421 '("newline-cr" "G_REGEX_MATCH_NEWLINE_CR")
422 '("newline-lf" "G_REGEX_MATCH_NEWLINE_LF")
423 '("newline-crlf" "G_REGEX_MATCH_NEWLINE_CRLF")
424 '("newline-any" "G_REGEX_MATCH_NEWLINE_ANY")
430 (c-name "GErrorType")
431 (gtype-id "G_TYPE_ERROR_TYPE")
433 '("unknown" "G_ERR_UNKNOWN")
434 '("unexp-eof" "G_ERR_UNEXP_EOF")
435 '("unexp-eof-in-string" "G_ERR_UNEXP_EOF_IN_STRING")
436 '("unexp-eof-in-comment" "G_ERR_UNEXP_EOF_IN_COMMENT")
437 '("non-digit-in-const" "G_ERR_NON_DIGIT_IN_CONST")
438 '("digit-radix" "G_ERR_DIGIT_RADIX")
439 '("float-radix" "G_ERR_FLOAT_RADIX")
440 '("float-malformed" "G_ERR_FLOAT_MALFORMED")
446 (c-name "GShellError")
447 (gtype-id "G_TYPE_SHELL_ERROR")
449 '("bad-quoting" "G_SHELL_ERROR_BAD_QUOTING")
450 '("empty-string" "G_SHELL_ERROR_EMPTY_STRING")
451 '("failed" "G_SHELL_ERROR_FAILED")
457 (c-name "GSliceConfig")
458 (gtype-id "G_TYPE_SLICE_CONFIG")
460 '("always-malloc" "G_SLICE_CONFIG_ALWAYS_MALLOC")
461 '("bypass-magazines" "G_SLICE_CONFIG_BYPASS_MAGAZINES")
462 '("working-set-msecs" "G_SLICE_CONFIG_WORKING_SET_MSECS")
463 '("color-increment" "G_SLICE_CONFIG_COLOR_INCREMENT")
464 '("chunk-sizes" "G_SLICE_CONFIG_CHUNK_SIZES")
465 '("contention-counter" "G_SLICE_CONFIG_CONTENTION_COUNTER")
471 (c-name "GSpawnError")
472 (gtype-id "G_TYPE_SPAWN_ERROR")
474 '("fork" "G_SPAWN_ERROR_FORK")
475 '("read" "G_SPAWN_ERROR_READ")
476 '("chdir" "G_SPAWN_ERROR_CHDIR")
477 '("acces" "G_SPAWN_ERROR_ACCES")
478 '("perm" "G_SPAWN_ERROR_PERM")
479 '("2big" "G_SPAWN_ERROR_2BIG")
480 '("noexec" "G_SPAWN_ERROR_NOEXEC")
481 '("nametoolong" "G_SPAWN_ERROR_NAMETOOLONG")
482 '("noent" "G_SPAWN_ERROR_NOENT")
483 '("nomem" "G_SPAWN_ERROR_NOMEM")
484 '("notdir" "G_SPAWN_ERROR_NOTDIR")
485 '("loop" "G_SPAWN_ERROR_LOOP")
486 '("txtbusy" "G_SPAWN_ERROR_TXTBUSY")
487 '("io" "G_SPAWN_ERROR_IO")
488 '("nfile" "G_SPAWN_ERROR_NFILE")
489 '("mfile" "G_SPAWN_ERROR_MFILE")
490 '("inval" "G_SPAWN_ERROR_INVAL")
491 '("isdir" "G_SPAWN_ERROR_ISDIR")
492 '("libbad" "G_SPAWN_ERROR_LIBBAD")
493 '("failed" "G_SPAWN_ERROR_FAILED")
499 (c-name "GSpawnFlags")
500 (gtype-id "G_TYPE_SPAWN_FLAGS")
502 '("leave-descriptors-open" "G_SPAWN_LEAVE_DESCRIPTORS_OPEN")
503 '("do-not-reap-child" "G_SPAWN_DO_NOT_REAP_CHILD")
504 '("search-path" "G_SPAWN_SEARCH_PATH")
505 '("stdout-to-dev-null" "G_SPAWN_STDOUT_TO_DEV_NULL")
506 '("stderr-to-dev-null" "G_SPAWN_STDERR_TO_DEV_NULL")
507 '("child-inherits-stdin" "G_SPAWN_CHILD_INHERITS_STDIN")
508 '("file-and-argv-zero" "G_SPAWN_FILE_AND_ARGV_ZERO")
514 (c-name "GAsciiType")
515 (gtype-id "G_TYPE_ASCII_TYPE")
517 '("alnum" "G_ASCII_ALNUM")
518 '("alpha" "G_ASCII_ALPHA")
519 '("cntrl" "G_ASCII_CNTRL")
520 '("digit" "G_ASCII_DIGIT")
521 '("graph" "G_ASCII_GRAPH")
522 '("lower" "G_ASCII_LOWER")
523 '("print" "G_ASCII_PRINT")
524 '("punct" "G_ASCII_PUNCT")
525 '("space" "G_ASCII_SPACE")
526 '("upper" "G_ASCII_UPPER")
527 '("xdigit" "G_ASCII_XDIGIT")
532 (in-module "GThread")
533 (c-name "GThreadError")
534 (gtype-id "G_TYPE_THREAD_ERROR")
536 '("n" "G_THREAD_ERROR_AGAIN")
540 (define-enum Priority
541 (in-module "GThread")
542 (c-name "GThreadPriority")
543 (gtype-id "G_TYPE_THREAD_PRIORITY")
545 '("low" "G_THREAD_PRIORITY_LOW")
546 '("normal" "G_THREAD_PRIORITY_NORMAL")
547 '("high" "G_THREAD_PRIORITY_HIGH")
548 '("urgent" "G_THREAD_PRIORITY_URGENT")
554 (c-name "GOnceStatus")
555 (gtype-id "G_TYPE_ONCE_STATUS")
557 '("notcalled" "G_ONCE_STATUS_NOTCALLED")
558 '("progress" "G_ONCE_STATUS_PROGRESS")
559 '("ready" "G_ONCE_STATUS_READY")
564 (in-module "GUnicode")
565 (c-name "GUnicodeType")
566 (gtype-id "G_TYPE_UNICODE_TYPE")
568 '("control" "G_UNICODE_CONTROL")
569 '("format" "G_UNICODE_FORMAT")
570 '("unassigned" "G_UNICODE_UNASSIGNED")
571 '("private-use" "G_UNICODE_PRIVATE_USE")
572 '("surrogate" "G_UNICODE_SURROGATE")
573 '("lowercase-letter" "G_UNICODE_LOWERCASE_LETTER")
574 '("modifier-letter" "G_UNICODE_MODIFIER_LETTER")
575 '("other-letter" "G_UNICODE_OTHER_LETTER")
576 '("titlecase-letter" "G_UNICODE_TITLECASE_LETTER")
577 '("uppercase-letter" "G_UNICODE_UPPERCASE_LETTER")
578 '("combining-mark" "G_UNICODE_COMBINING_MARK")
579 '("enclosing-mark" "G_UNICODE_ENCLOSING_MARK")
580 '("non-spacing-mark" "G_UNICODE_NON_SPACING_MARK")
581 '("decimal-number" "G_UNICODE_DECIMAL_NUMBER")
582 '("letter-number" "G_UNICODE_LETTER_NUMBER")
583 '("other-number" "G_UNICODE_OTHER_NUMBER")
584 '("connect-punctuation" "G_UNICODE_CONNECT_PUNCTUATION")
585 '("dash-punctuation" "G_UNICODE_DASH_PUNCTUATION")
586 '("close-punctuation" "G_UNICODE_CLOSE_PUNCTUATION")
587 '("final-punctuation" "G_UNICODE_FINAL_PUNCTUATION")
588 '("initial-punctuation" "G_UNICODE_INITIAL_PUNCTUATION")
589 '("other-punctuation" "G_UNICODE_OTHER_PUNCTUATION")
590 '("open-punctuation" "G_UNICODE_OPEN_PUNCTUATION")
591 '("currency-symbol" "G_UNICODE_CURRENCY_SYMBOL")
592 '("modifier-symbol" "G_UNICODE_MODIFIER_SYMBOL")
593 '("math-symbol" "G_UNICODE_MATH_SYMBOL")
594 '("other-symbol" "G_UNICODE_OTHER_SYMBOL")
595 '("line-separator" "G_UNICODE_LINE_SEPARATOR")
596 '("paragraph-separator" "G_UNICODE_PARAGRAPH_SEPARATOR")
597 '("space-separator" "G_UNICODE_SPACE_SEPARATOR")
601 (define-enum BreakType
602 (in-module "GUnicode")
603 (c-name "GUnicodeBreakType")
604 (gtype-id "G_TYPE_UNICODE_BREAK_TYPE")
606 '("mandatory" "G_UNICODE_BREAK_MANDATORY")
607 '("carriage-return" "G_UNICODE_BREAK_CARRIAGE_RETURN")
608 '("line-feed" "G_UNICODE_BREAK_LINE_FEED")
609 '("combining-mark" "G_UNICODE_BREAK_COMBINING_MARK")
610 '("surrogate" "G_UNICODE_BREAK_SURROGATE")
611 '("zero-width-space" "G_UNICODE_BREAK_ZERO_WIDTH_SPACE")
612 '("inseparable" "G_UNICODE_BREAK_INSEPARABLE")
613 '("non-breaking-glue" "G_UNICODE_BREAK_NON_BREAKING_GLUE")
614 '("contingent" "G_UNICODE_BREAK_CONTINGENT")
615 '("space" "G_UNICODE_BREAK_SPACE")
616 '("after" "G_UNICODE_BREAK_AFTER")
617 '("before" "G_UNICODE_BREAK_BEFORE")
618 '("before-and-after" "G_UNICODE_BREAK_BEFORE_AND_AFTER")
619 '("hyphen" "G_UNICODE_BREAK_HYPHEN")
620 '("non-starter" "G_UNICODE_BREAK_NON_STARTER")
621 '("open-punctuation" "G_UNICODE_BREAK_OPEN_PUNCTUATION")
622 '("close-punctuation" "G_UNICODE_BREAK_CLOSE_PUNCTUATION")
623 '("quotation" "G_UNICODE_BREAK_QUOTATION")
624 '("exclamation" "G_UNICODE_BREAK_EXCLAMATION")
625 '("ideographic" "G_UNICODE_BREAK_IDEOGRAPHIC")
626 '("numeric" "G_UNICODE_BREAK_NUMERIC")
627 '("infix-separator" "G_UNICODE_BREAK_INFIX_SEPARATOR")
628 '("symbol" "G_UNICODE_BREAK_SYMBOL")
629 '("alphabetic" "G_UNICODE_BREAK_ALPHABETIC")
630 '("prefix" "G_UNICODE_BREAK_PREFIX")
631 '("postfix" "G_UNICODE_BREAK_POSTFIX")
632 '("complex-context" "G_UNICODE_BREAK_COMPLEX_CONTEXT")
633 '("ambiguous" "G_UNICODE_BREAK_AMBIGUOUS")
634 '("unknown" "G_UNICODE_BREAK_UNKNOWN")
635 '("next-line" "G_UNICODE_BREAK_NEXT_LINE")
636 '("word-joiner" "G_UNICODE_BREAK_WORD_JOINER")
637 '("hangul-l-jamo" "G_UNICODE_BREAK_HANGUL_L_JAMO")
638 '("hangul-v-jamo" "G_UNICODE_BREAK_HANGUL_V_JAMO")
639 '("hangul-t-jamo" "G_UNICODE_BREAK_HANGUL_T_JAMO")
640 '("hangul-lv-syllable" "G_UNICODE_BREAK_HANGUL_LV_SYLLABLE")
641 '("hangul-lvt-syllable" "G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE")
646 (in-module "GUnicode")
647 (c-name "GUnicodeScript")
648 (gtype-id "G_TYPE_UNICODE_SCRIPT")
650 '("invalid-code" "G_UNICODE_SCRIPT_INVALID_CODE")
651 '("common" "G_UNICODE_SCRIPT_COMMON")
652 '("inherited" "G_UNICODE_SCRIPT_INHERITED")
653 '("arabic" "G_UNICODE_SCRIPT_ARABIC")
654 '("armenian" "G_UNICODE_SCRIPT_ARMENIAN")
655 '("bengali" "G_UNICODE_SCRIPT_BENGALI")
656 '("bopomofo" "G_UNICODE_SCRIPT_BOPOMOFO")
657 '("cherokee" "G_UNICODE_SCRIPT_CHEROKEE")
658 '("coptic" "G_UNICODE_SCRIPT_COPTIC")
659 '("cyrillic" "G_UNICODE_SCRIPT_CYRILLIC")
660 '("deseret" "G_UNICODE_SCRIPT_DESERET")
661 '("devanagari" "G_UNICODE_SCRIPT_DEVANAGARI")
662 '("ethiopic" "G_UNICODE_SCRIPT_ETHIOPIC")
663 '("georgian" "G_UNICODE_SCRIPT_GEORGIAN")
664 '("gothic" "G_UNICODE_SCRIPT_GOTHIC")
665 '("greek" "G_UNICODE_SCRIPT_GREEK")
666 '("gujarati" "G_UNICODE_SCRIPT_GUJARATI")
667 '("gurmukhi" "G_UNICODE_SCRIPT_GURMUKHI")
668 '("han" "G_UNICODE_SCRIPT_HAN")
669 '("hangul" "G_UNICODE_SCRIPT_HANGUL")
670 '("hebrew" "G_UNICODE_SCRIPT_HEBREW")
671 '("hiragana" "G_UNICODE_SCRIPT_HIRAGANA")
672 '("kannada" "G_UNICODE_SCRIPT_KANNADA")
673 '("katakana" "G_UNICODE_SCRIPT_KATAKANA")
674 '("khmer" "G_UNICODE_SCRIPT_KHMER")
675 '("lao" "G_UNICODE_SCRIPT_LAO")
676 '("latin" "G_UNICODE_SCRIPT_LATIN")
677 '("malayalam" "G_UNICODE_SCRIPT_MALAYALAM")
678 '("mongolian" "G_UNICODE_SCRIPT_MONGOLIAN")
679 '("myanmar" "G_UNICODE_SCRIPT_MYANMAR")
680 '("ogham" "G_UNICODE_SCRIPT_OGHAM")
681 '("old-italic" "G_UNICODE_SCRIPT_OLD_ITALIC")
682 '("oriya" "G_UNICODE_SCRIPT_ORIYA")
683 '("runic" "G_UNICODE_SCRIPT_RUNIC")
684 '("sinhala" "G_UNICODE_SCRIPT_SINHALA")
685 '("syriac" "G_UNICODE_SCRIPT_SYRIAC")
686 '("tamil" "G_UNICODE_SCRIPT_TAMIL")
687 '("telugu" "G_UNICODE_SCRIPT_TELUGU")
688 '("thaana" "G_UNICODE_SCRIPT_THAANA")
689 '("thai" "G_UNICODE_SCRIPT_THAI")
690 '("tibetan" "G_UNICODE_SCRIPT_TIBETAN")
691 '("canadian-aboriginal" "G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL")
692 '("yi" "G_UNICODE_SCRIPT_YI")
693 '("tagalog" "G_UNICODE_SCRIPT_TAGALOG")
694 '("hanunoo" "G_UNICODE_SCRIPT_HANUNOO")
695 '("buhid" "G_UNICODE_SCRIPT_BUHID")
696 '("tagbanwa" "G_UNICODE_SCRIPT_TAGBANWA")
697 '("braille" "G_UNICODE_SCRIPT_BRAILLE")
698 '("cypriot" "G_UNICODE_SCRIPT_CYPRIOT")
699 '("limbu" "G_UNICODE_SCRIPT_LIMBU")
700 '("osmanya" "G_UNICODE_SCRIPT_OSMANYA")
701 '("shavian" "G_UNICODE_SCRIPT_SHAVIAN")
702 '("linear-b" "G_UNICODE_SCRIPT_LINEAR_B")
703 '("tai-le" "G_UNICODE_SCRIPT_TAI_LE")
704 '("ugaritic" "G_UNICODE_SCRIPT_UGARITIC")
705 '("new-tai-lue" "G_UNICODE_SCRIPT_NEW_TAI_LUE")
706 '("buginese" "G_UNICODE_SCRIPT_BUGINESE")
707 '("glagolitic" "G_UNICODE_SCRIPT_GLAGOLITIC")
708 '("tifinagh" "G_UNICODE_SCRIPT_TIFINAGH")
709 '("syloti-nagri" "G_UNICODE_SCRIPT_SYLOTI_NAGRI")
710 '("old-persian" "G_UNICODE_SCRIPT_OLD_PERSIAN")
711 '("kharoshthi" "G_UNICODE_SCRIPT_KHAROSHTHI")
712 '("unknown" "G_UNICODE_SCRIPT_UNKNOWN")
713 '("balinese" "G_UNICODE_SCRIPT_BALINESE")
714 '("cuneiform" "G_UNICODE_SCRIPT_CUNEIFORM")
715 '("phoenician" "G_UNICODE_SCRIPT_PHOENICIAN")
716 '("phags-pa" "G_UNICODE_SCRIPT_PHAGS_PA")
717 '("nko" "G_UNICODE_SCRIPT_NKO")
722 (in-module "GNormalize")
723 (c-name "GNormalizeMode")
724 (gtype-id "G_TYPE_NORMALIZE_MODE")
726 '("default" "G_NORMALIZE_DEFAULT")
727 '("nfd" "G_NORMALIZE_NFD")
728 '("default-compose" "G_NORMALIZE_DEFAULT_COMPOSE")
729 '("nfc" "G_NORMALIZE_NFC")
730 '("all" "G_NORMALIZE_ALL")
731 '("nfkd" "G_NORMALIZE_NFKD")
732 '("all-compose" "G_NORMALIZE_ALL_COMPOSE")
733 '("nfkc" "G_NORMALIZE_NFKC")
737 (define-enum Directory
739 (c-name "GUserDirectory")
740 (gtype-id "G_TYPE_USER_DIRECTORY")
742 '("directory-desktop" "G_USER_DIRECTORY_DESKTOP")
743 '("directory-documents" "G_USER_DIRECTORY_DOCUMENTS")
744 '("directory-download" "G_USER_DIRECTORY_DOWNLOAD")
745 '("directory-music" "G_USER_DIRECTORY_MUSIC")
746 '("directory-pictures" "G_USER_DIRECTORY_PICTURES")
747 '("directory-public-share" "G_USER_DIRECTORY_PUBLIC_SHARE")
748 '("directory-templates" "G_USER_DIRECTORY_TEMPLATES")
749 '("directory-videos" "G_USER_DIRECTORY_VIDEOS")
750 '("n-directories" "G_USER_N_DIRECTORIES")
761 (define-function alloca
763 (return-type "char*")
772 (define-function g_array_new
773 (c-name "g_array_new")
774 (is-constructor-of "GArray")
775 (return-type "GArray*")
777 '("gboolean" "zero_terminated")
778 '("gboolean" "clear_")
779 '("guint" "element_size")
783 (define-function g_array_sized_new
784 (c-name "g_array_sized_new")
785 (is-constructor-of "GArraySized")
786 (return-type "GArray*")
788 '("gboolean" "zero_terminated")
789 '("gboolean" "clear_")
790 '("guint" "element_size")
791 '("guint" "reserved_size")
797 (c-name "g_array_free")
798 (return-type "gchar*")
800 '("gboolean" "free_segment")
804 (define-method append_vals
806 (c-name "g_array_append_vals")
807 (return-type "GArray*")
809 '("gconstpointer" "data")
814 (define-method prepend_vals
816 (c-name "g_array_prepend_vals")
817 (return-type "GArray*")
819 '("gconstpointer" "data")
824 (define-method insert_vals
826 (c-name "g_array_insert_vals")
827 (return-type "GArray*")
830 '("gconstpointer" "data")
835 (define-method set_size
837 (c-name "g_array_set_size")
838 (return-type "GArray*")
844 (define-method remove_index
846 (c-name "g_array_remove_index")
847 (return-type "GArray*")
853 (define-method remove_index_fast
855 (c-name "g_array_remove_index_fast")
856 (return-type "GArray*")
862 (define-method remove_range
864 (c-name "g_array_remove_range")
865 (return-type "GArray*")
874 (c-name "g_array_sort")
877 '("GCompareFunc" "compare_func")
881 (define-method sort_with_data
883 (c-name "g_array_sort_with_data")
886 '("GCompareDataFunc" "compare_func")
887 '("gpointer" "user_data")
891 (define-function g_ptr_array_new
892 (c-name "g_ptr_array_new")
893 (is-constructor-of "GPtrArray")
894 (return-type "GPtrArray*")
897 (define-function g_ptr_array_sized_new
898 (c-name "g_ptr_array_sized_new")
899 (is-constructor-of "GPtrArraySized")
900 (return-type "GPtrArray*")
902 '("guint" "reserved_size")
907 (of-object "GPtrArray")
908 (c-name "g_ptr_array_free")
909 (return-type "gpointer*")
911 '("gboolean" "free_seg")
915 (define-method set_size
916 (of-object "GPtrArray")
917 (c-name "g_ptr_array_set_size")
924 (define-method remove_index
925 (of-object "GPtrArray")
926 (c-name "g_ptr_array_remove_index")
927 (return-type "gpointer")
933 (define-method remove_index_fast
934 (of-object "GPtrArray")
935 (c-name "g_ptr_array_remove_index_fast")
936 (return-type "gpointer")
942 (define-method remove
943 (of-object "GPtrArray")
944 (c-name "g_ptr_array_remove")
945 (return-type "gboolean")
951 (define-method remove_fast
952 (of-object "GPtrArray")
953 (c-name "g_ptr_array_remove_fast")
954 (return-type "gboolean")
960 (define-method remove_range
961 (of-object "GPtrArray")
962 (c-name "g_ptr_array_remove_range")
971 (of-object "GPtrArray")
972 (c-name "g_ptr_array_add")
980 (of-object "GPtrArray")
981 (c-name "g_ptr_array_sort")
984 '("GCompareFunc" "compare_func")
988 (define-method sort_with_data
989 (of-object "GPtrArray")
990 (c-name "g_ptr_array_sort_with_data")
993 '("GCompareDataFunc" "compare_func")
994 '("gpointer" "user_data")
998 (define-method foreach
999 (of-object "GPtrArray")
1000 (c-name "g_ptr_array_foreach")
1001 (return-type "none")
1004 '("gpointer" "user_data")
1008 (define-function g_byte_array_new
1009 (c-name "g_byte_array_new")
1010 (is-constructor-of "GByteArray")
1011 (return-type "GByteArray*")
1014 (define-function g_byte_array_sized_new
1015 (c-name "g_byte_array_sized_new")
1016 (is-constructor-of "GByteArraySized")
1017 (return-type "GByteArray*")
1019 '("guint" "reserved_size")
1024 (of-object "GByteArray")
1025 (c-name "g_byte_array_free")
1026 (return-type "guint8*")
1028 '("gboolean" "free_segment")
1032 (define-method append
1033 (of-object "GByteArray")
1034 (c-name "g_byte_array_append")
1035 (return-type "GByteArray*")
1037 '("const-guint8*" "data")
1042 (define-method prepend
1043 (of-object "GByteArray")
1044 (c-name "g_byte_array_prepend")
1045 (return-type "GByteArray*")
1047 '("const-guint8*" "data")
1052 (define-method set_size
1053 (of-object "GByteArray")
1054 (c-name "g_byte_array_set_size")
1055 (return-type "GByteArray*")
1061 (define-method remove_index
1062 (of-object "GByteArray")
1063 (c-name "g_byte_array_remove_index")
1064 (return-type "GByteArray*")
1070 (define-method remove_index_fast
1071 (of-object "GByteArray")
1072 (c-name "g_byte_array_remove_index_fast")
1073 (return-type "GByteArray*")
1079 (define-method remove_range
1080 (of-object "GByteArray")
1081 (c-name "g_byte_array_remove_range")
1082 (return-type "GByteArray*")
1090 (of-object "GByteArray")
1091 (c-name "g_byte_array_sort")
1092 (return-type "none")
1094 '("GCompareFunc" "compare_func")
1098 (define-method sort_with_data
1099 (of-object "GByteArray")
1100 (c-name "g_byte_array_sort_with_data")
1101 (return-type "none")
1103 '("GCompareDataFunc" "compare_func")
1104 '("gpointer" "user_data")
1110 ;; From gasyncqueue.h
1112 (define-function g_async_queue_new
1113 (c-name "g_async_queue_new")
1114 (is-constructor-of "GAsyncQueue")
1115 (return-type "GAsyncQueue*")
1119 (of-object "GAsyncQueue")
1120 (c-name "g_async_queue_lock")
1121 (return-type "none")
1124 (define-method unlock
1125 (of-object "GAsyncQueue")
1126 (c-name "g_async_queue_unlock")
1127 (return-type "none")
1131 (of-object "GAsyncQueue")
1132 (c-name "g_async_queue_ref")
1133 (return-type "GAsyncQueue*")
1136 (define-method unref
1137 (of-object "GAsyncQueue")
1138 (c-name "g_async_queue_unref")
1139 (return-type "none")
1142 (define-method ref_unlocked
1143 (of-object "GAsyncQueue")
1144 (c-name "g_async_queue_ref_unlocked")
1145 (return-type "none")
1148 (define-method unref_and_unlock
1149 (of-object "GAsyncQueue")
1150 (c-name "g_async_queue_unref_and_unlock")
1151 (return-type "none")
1155 (of-object "GAsyncQueue")
1156 (c-name "g_async_queue_push")
1157 (return-type "none")
1159 '("gpointer" "data")
1163 (define-method push_unlocked
1164 (of-object "GAsyncQueue")
1165 (c-name "g_async_queue_push_unlocked")
1166 (return-type "none")
1168 '("gpointer" "data")
1172 (define-method push_sorted
1173 (of-object "GAsyncQueue")
1174 (c-name "g_async_queue_push_sorted")
1175 (return-type "none")
1177 '("gpointer" "data")
1178 '("GCompareDataFunc" "func")
1179 '("gpointer" "user_data")
1183 (define-method push_sorted_unlocked
1184 (of-object "GAsyncQueue")
1185 (c-name "g_async_queue_push_sorted_unlocked")
1186 (return-type "none")
1188 '("gpointer" "data")
1189 '("GCompareDataFunc" "func")
1190 '("gpointer" "user_data")
1195 (of-object "GAsyncQueue")
1196 (c-name "g_async_queue_pop")
1197 (return-type "gpointer")
1200 (define-method pop_unlocked
1201 (of-object "GAsyncQueue")
1202 (c-name "g_async_queue_pop_unlocked")
1203 (return-type "gpointer")
1206 (define-method try_pop
1207 (of-object "GAsyncQueue")
1208 (c-name "g_async_queue_try_pop")
1209 (return-type "gpointer")
1212 (define-method try_pop_unlocked
1213 (of-object "GAsyncQueue")
1214 (c-name "g_async_queue_try_pop_unlocked")
1215 (return-type "gpointer")
1218 (define-method timed_pop
1219 (of-object "GAsyncQueue")
1220 (c-name "g_async_queue_timed_pop")
1221 (return-type "gpointer")
1223 '("GTimeVal*" "end_time")
1227 (define-method timed_pop_unlocked
1228 (of-object "GAsyncQueue")
1229 (c-name "g_async_queue_timed_pop_unlocked")
1230 (return-type "gpointer")
1232 '("GTimeVal*" "end_time")
1236 (define-method length
1237 (of-object "GAsyncQueue")
1238 (c-name "g_async_queue_length")
1239 (return-type "gint")
1242 (define-method length_unlocked
1243 (of-object "GAsyncQueue")
1244 (c-name "g_async_queue_length_unlocked")
1245 (return-type "gint")
1249 (of-object "GAsyncQueue")
1250 (c-name "g_async_queue_sort")
1251 (return-type "none")
1253 '("GCompareDataFunc" "func")
1254 '("gpointer" "user_data")
1258 (define-method sort_unlocked
1259 (of-object "GAsyncQueue")
1260 (c-name "g_async_queue_sort_unlocked")
1261 (return-type "none")
1263 '("GCompareDataFunc" "func")
1264 '("gpointer" "user_data")
1272 (define-function g_atomic_int_exchange_and_add
1273 (c-name "g_atomic_int_exchange_and_add")
1274 (return-type "gint")
1276 '("volatile-gint*" "atomic")
1281 (define-function g_atomic_int_add
1282 (c-name "g_atomic_int_add")
1283 (return-type "none")
1285 '("volatile-gint*" "atomic")
1290 (define-function g_atomic_int_compare_and_exchange
1291 (c-name "g_atomic_int_compare_and_exchange")
1292 (return-type "gboolean")
1294 '("volatile-gint*" "atomic")
1300 (define-function g_atomic_pointer_compare_and_exchange
1301 (c-name "g_atomic_pointer_compare_and_exchange")
1302 (return-type "gboolean")
1304 '("volatile-gpointer*" "atomic")
1305 '("gpointer" "oldval")
1306 '("gpointer" "newval")
1310 (define-function g_atomic_int_get
1311 (c-name "g_atomic_int_get")
1312 (return-type "gint")
1314 '("volatile-gint*" "atomic")
1318 (define-function g_atomic_int_set
1319 (c-name "g_atomic_int_set")
1320 (return-type "none")
1322 '("volatile-gint*" "atomic")
1327 (define-function g_atomic_pointer_get
1328 (c-name "g_atomic_pointer_get")
1329 (return-type "gpointer")
1331 '("volatile-gpointer*" "atomic")
1335 (define-function g_atomic_pointer_set
1336 (c-name "g_atomic_pointer_set")
1337 (return-type "none")
1339 '("volatile-gpointer*" "atomic")
1340 '("gpointer" "newval")
1346 ;; From gbacktrace.h
1348 (define-function g_on_error_query
1349 (c-name "g_on_error_query")
1350 (return-type "none")
1352 '("const-gchar*" "prg_name")
1356 (define-function g_on_error_stack_trace
1357 (c-name "g_on_error_stack_trace")
1358 (return-type "none")
1360 '("const-gchar*" "prg_name")
1368 (define-function g_base64_encode_step
1369 (c-name "g_base64_encode_step")
1370 (return-type "gsize")
1372 '("const-guchar*" "in")
1374 '("gboolean" "break_lines")
1381 (define-function g_base64_encode_close
1382 (c-name "g_base64_encode_close")
1383 (return-type "gsize")
1385 '("gboolean" "break_lines")
1392 (define-function g_base64_encode
1393 (c-name "g_base64_encode")
1394 (return-type "gchar*")
1396 '("const-guchar*" "data")
1401 (define-function g_base64_decode_step
1402 (c-name "g_base64_decode_step")
1403 (return-type "gsize")
1405 '("const-gchar*" "in")
1413 (define-function g_base64_decode
1414 (c-name "g_base64_decode")
1415 (return-type "guchar*")
1417 '("const-gchar*" "text")
1418 '("gsize*" "out_len")
1424 ;; From gbookmarkfile.h
1426 (define-function g_bookmark_file_error_quark
1427 (c-name "g_bookmark_file_error_quark")
1428 (return-type "GQuark")
1431 (define-function g_bookmark_file_new
1432 (c-name "g_bookmark_file_new")
1433 (is-constructor-of "GBookmarkFile")
1434 (return-type "GBookmarkFile*")
1438 (of-object "GBookmarkFile")
1439 (c-name "g_bookmark_file_free")
1440 (return-type "none")
1443 (define-method load_from_file
1444 (of-object "GBookmarkFile")
1445 (c-name "g_bookmark_file_load_from_file")
1446 (return-type "gboolean")
1448 '("const-gchar*" "filename")
1449 '("GError**" "error")
1453 (define-method load_from_data
1454 (of-object "GBookmarkFile")
1455 (c-name "g_bookmark_file_load_from_data")
1456 (return-type "gboolean")
1458 '("const-gchar*" "data")
1460 '("GError**" "error")
1464 (define-method load_from_data_dirs
1465 (of-object "GBookmarkFile")
1466 (c-name "g_bookmark_file_load_from_data_dirs")
1467 (return-type "gboolean")
1469 '("const-gchar*" "file")
1470 '("gchar**" "full_path")
1471 '("GError**" "error")
1475 (define-method to_data
1476 (of-object "GBookmarkFile")
1477 (c-name "g_bookmark_file_to_data")
1478 (return-type "gchar*")
1480 '("gsize*" "length")
1481 '("GError**" "error")
1485 (define-method to_file
1486 (of-object "GBookmarkFile")
1487 (c-name "g_bookmark_file_to_file")
1488 (return-type "gboolean")
1490 '("const-gchar*" "filename")
1491 '("GError**" "error")
1495 (define-method set_title
1496 (of-object "GBookmarkFile")
1497 (c-name "g_bookmark_file_set_title")
1498 (return-type "none")
1500 '("const-gchar*" "uri")
1501 '("const-gchar*" "title")
1505 (define-method get_title
1506 (of-object "GBookmarkFile")
1507 (c-name "g_bookmark_file_get_title")
1508 (return-type "gchar*")
1510 '("const-gchar*" "uri")
1511 '("GError**" "error")
1515 (define-method set_description
1516 (of-object "GBookmarkFile")
1517 (c-name "g_bookmark_file_set_description")
1518 (return-type "none")
1520 '("const-gchar*" "uri")
1521 '("const-gchar*" "description")
1525 (define-method get_description
1526 (of-object "GBookmarkFile")
1527 (c-name "g_bookmark_file_get_description")
1528 (return-type "gchar*")
1530 '("const-gchar*" "uri")
1531 '("GError**" "error")
1535 (define-method set_mime_type
1536 (of-object "GBookmarkFile")
1537 (c-name "g_bookmark_file_set_mime_type")
1538 (return-type "none")
1540 '("const-gchar*" "uri")
1541 '("const-gchar*" "mime_type")
1545 (define-method get_mime_type
1546 (of-object "GBookmarkFile")
1547 (c-name "g_bookmark_file_get_mime_type")
1548 (return-type "gchar*")
1550 '("const-gchar*" "uri")
1551 '("GError**" "error")
1555 (define-method set_groups
1556 (of-object "GBookmarkFile")
1557 (c-name "g_bookmark_file_set_groups")
1558 (return-type "none")
1560 '("const-gchar*" "uri")
1561 '("const-gchar**" "groups")
1566 (define-method add_group
1567 (of-object "GBookmarkFile")
1568 (c-name "g_bookmark_file_add_group")
1569 (return-type "none")
1571 '("const-gchar*" "uri")
1572 '("const-gchar*" "group")
1576 (define-method has_group
1577 (of-object "GBookmarkFile")
1578 (c-name "g_bookmark_file_has_group")
1579 (return-type "gboolean")
1581 '("const-gchar*" "uri")
1582 '("const-gchar*" "group")
1583 '("GError**" "error")
1587 (define-method get_groups
1588 (of-object "GBookmarkFile")
1589 (c-name "g_bookmark_file_get_groups")
1590 (return-type "gchar**")
1592 '("const-gchar*" "uri")
1593 '("gsize*" "length")
1594 '("GError**" "error")
1598 (define-method add_application
1599 (of-object "GBookmarkFile")
1600 (c-name "g_bookmark_file_add_application")
1601 (return-type "none")
1603 '("const-gchar*" "uri")
1604 '("const-gchar*" "name")
1605 '("const-gchar*" "exec")
1609 (define-method has_application
1610 (of-object "GBookmarkFile")
1611 (c-name "g_bookmark_file_has_application")
1612 (return-type "gboolean")
1614 '("const-gchar*" "uri")
1615 '("const-gchar*" "name")
1616 '("GError**" "error")
1620 (define-method get_applications
1621 (of-object "GBookmarkFile")
1622 (c-name "g_bookmark_file_get_applications")
1623 (return-type "gchar**")
1625 '("const-gchar*" "uri")
1626 '("gsize*" "length")
1627 '("GError**" "error")
1631 (define-method set_app_info
1632 (of-object "GBookmarkFile")
1633 (c-name "g_bookmark_file_set_app_info")
1634 (return-type "gboolean")
1636 '("const-gchar*" "uri")
1637 '("const-gchar*" "name")
1638 '("const-gchar*" "exec")
1641 '("GError**" "error")
1645 (define-method get_app_info
1646 (of-object "GBookmarkFile")
1647 (c-name "g_bookmark_file_get_app_info")
1648 (return-type "gboolean")
1650 '("const-gchar*" "uri")
1651 '("const-gchar*" "name")
1654 '("time_t*" "stamp")
1655 '("GError**" "error")
1659 (define-method set_is_private
1660 (of-object "GBookmarkFile")
1661 (c-name "g_bookmark_file_set_is_private")
1662 (return-type "none")
1664 '("const-gchar*" "uri")
1665 '("gboolean" "is_private")
1669 (define-method get_is_private
1670 (of-object "GBookmarkFile")
1671 (c-name "g_bookmark_file_get_is_private")
1672 (return-type "gboolean")
1674 '("const-gchar*" "uri")
1675 '("GError**" "error")
1679 (define-method set_icon
1680 (of-object "GBookmarkFile")
1681 (c-name "g_bookmark_file_set_icon")
1682 (return-type "none")
1684 '("const-gchar*" "uri")
1685 '("const-gchar*" "href")
1686 '("const-gchar*" "mime_type")
1690 (define-method get_icon
1691 (of-object "GBookmarkFile")
1692 (c-name "g_bookmark_file_get_icon")
1693 (return-type "gboolean")
1695 '("const-gchar*" "uri")
1697 '("gchar**" "mime_type")
1698 '("GError**" "error")
1702 (define-method set_added
1703 (of-object "GBookmarkFile")
1704 (c-name "g_bookmark_file_set_added")
1705 (return-type "none")
1707 '("const-gchar*" "uri")
1712 (define-method get_added
1713 (of-object "GBookmarkFile")
1714 (c-name "g_bookmark_file_get_added")
1715 (return-type "time_t")
1717 '("const-gchar*" "uri")
1718 '("GError**" "error")
1722 (define-method set_modified
1723 (of-object "GBookmarkFile")
1724 (c-name "g_bookmark_file_set_modified")
1725 (return-type "none")
1727 '("const-gchar*" "uri")
1728 '("time_t" "modified")
1732 (define-method get_modified
1733 (of-object "GBookmarkFile")
1734 (c-name "g_bookmark_file_get_modified")
1735 (return-type "time_t")
1737 '("const-gchar*" "uri")
1738 '("GError**" "error")
1742 (define-method set_visited
1743 (of-object "GBookmarkFile")
1744 (c-name "g_bookmark_file_set_visited")
1745 (return-type "none")
1747 '("const-gchar*" "uri")
1748 '("time_t" "visited")
1752 (define-method get_visited
1753 (of-object "GBookmarkFile")
1754 (c-name "g_bookmark_file_get_visited")
1755 (return-type "time_t")
1757 '("const-gchar*" "uri")
1758 '("GError**" "error")
1762 (define-method has_item
1763 (of-object "GBookmarkFile")
1764 (c-name "g_bookmark_file_has_item")
1765 (return-type "gboolean")
1767 '("const-gchar*" "uri")
1771 (define-method get_size
1772 (of-object "GBookmarkFile")
1773 (c-name "g_bookmark_file_get_size")
1774 (return-type "gint")
1777 (define-method get_uris
1778 (of-object "GBookmarkFile")
1779 (c-name "g_bookmark_file_get_uris")
1780 (return-type "gchar**")
1782 '("gsize*" "length")
1786 (define-method remove_group
1787 (of-object "GBookmarkFile")
1788 (c-name "g_bookmark_file_remove_group")
1789 (return-type "gboolean")
1791 '("const-gchar*" "uri")
1792 '("const-gchar*" "group")
1793 '("GError**" "error")
1797 (define-method remove_application
1798 (of-object "GBookmarkFile")
1799 (c-name "g_bookmark_file_remove_application")
1800 (return-type "gboolean")
1802 '("const-gchar*" "uri")
1803 '("const-gchar*" "name")
1804 '("GError**" "error")
1808 (define-method remove_item
1809 (of-object "GBookmarkFile")
1810 (c-name "g_bookmark_file_remove_item")
1811 (return-type "gboolean")
1813 '("const-gchar*" "uri")
1814 '("GError**" "error")
1818 (define-method move_item
1819 (of-object "GBookmarkFile")
1820 (c-name "g_bookmark_file_move_item")
1821 (return-type "gboolean")
1823 '("const-gchar*" "old_uri")
1824 '("const-gchar*" "new_uri")
1825 '("GError**" "error")
1831 ;; From gbsearcharray.h
1835 (return-type "else")
1841 (define-function MIN
1843 (return-type "return")
1845 '("barray->n_nodes-+" "1")
1853 (define-function g_cache_new
1854 (c-name "g_cache_new")
1855 (is-constructor-of "GCache")
1856 (return-type "GCache*")
1858 '("GCacheNewFunc" "value_new_func")
1859 '("GCacheDestroyFunc" "value_destroy_func")
1860 '("GCacheDupFunc" "key_dup_func")
1861 '("GCacheDestroyFunc" "key_destroy_func")
1862 '("GHashFunc" "hash_key_func")
1863 '("GHashFunc" "hash_value_func")
1864 '("GEqualFunc" "key_equal_func")
1868 (define-method destroy
1869 (of-object "GCache")
1870 (c-name "g_cache_destroy")
1871 (return-type "none")
1874 (define-method insert
1875 (of-object "GCache")
1876 (c-name "g_cache_insert")
1877 (return-type "gpointer")
1883 (define-method remove
1884 (of-object "GCache")
1885 (c-name "g_cache_remove")
1886 (return-type "none")
1888 '("gconstpointer" "value")
1892 (define-method key_foreach
1893 (of-object "GCache")
1894 (c-name "g_cache_key_foreach")
1895 (return-type "none")
1898 '("gpointer" "user_data")
1902 (define-method value_foreach
1903 (of-object "GCache")
1904 (c-name "g_cache_value_foreach")
1905 (return-type "none")
1908 '("gpointer" "user_data")
1914 ;; From gcompletion.h
1916 (define-function g_completion_new
1917 (c-name "g_completion_new")
1918 (is-constructor-of "GCompletion")
1919 (return-type "GCompletion*")
1921 '("GCompletionFunc" "func")
1925 (define-method add_items
1926 (of-object "GCompletion")
1927 (c-name "g_completion_add_items")
1928 (return-type "none")
1934 (define-method remove_items
1935 (of-object "GCompletion")
1936 (c-name "g_completion_remove_items")
1937 (return-type "none")
1943 (define-method clear_items
1944 (of-object "GCompletion")
1945 (c-name "g_completion_clear_items")
1946 (return-type "none")
1949 (define-method complete
1950 (of-object "GCompletion")
1951 (c-name "g_completion_complete")
1952 (return-type "GList*")
1954 '("const-gchar*" "prefix")
1955 '("gchar**" "new_prefix")
1959 (define-method complete_utf8
1960 (of-object "GCompletion")
1961 (c-name "g_completion_complete_utf8")
1962 (return-type "GList*")
1964 '("const-gchar*" "prefix")
1965 '("gchar**" "new_prefix")
1969 (define-method set_compare
1970 (of-object "GCompletion")
1971 (c-name "g_completion_set_compare")
1972 (return-type "none")
1974 '("GCompletionStrncmpFunc" "strncmp_func")
1979 (of-object "GCompletion")
1980 (c-name "g_completion_free")
1981 (return-type "none")
1988 (define-function g_convert_error_quark
1989 (c-name "g_convert_error_quark")
1990 (return-type "GQuark")
1993 (define-function g_iconv_open
1994 (c-name "g_iconv_open")
1995 (return-type "GIConv")
1997 '("const-gchar*" "to_codeset")
1998 '("const-gchar*" "from_codeset")
2002 (define-method close
2003 (of-object "GIConv")
2004 (c-name "g_iconv_close")
2005 (return-type "gint")
2008 (define-function g_convert
2009 (c-name "g_convert")
2010 (return-type "gchar*")
2012 '("const-gchar*" "str")
2014 '("const-gchar*" "to_codeset")
2015 '("const-gchar*" "from_codeset")
2016 '("gsize*" "bytes_read")
2017 '("gsize*" "bytes_written")
2018 '("GError**" "error")
2022 (define-function g_convert_with_iconv
2023 (c-name "g_convert_with_iconv")
2024 (return-type "gchar*")
2026 '("const-gchar*" "str")
2028 '("GIConv" "converter")
2029 '("gsize*" "bytes_read")
2030 '("gsize*" "bytes_written")
2031 '("GError**" "error")
2035 (define-function g_convert_with_fallback
2036 (c-name "g_convert_with_fallback")
2037 (return-type "gchar*")
2039 '("const-gchar*" "str")
2041 '("const-gchar*" "to_codeset")
2042 '("const-gchar*" "from_codeset")
2043 '("gchar*" "fallback")
2044 '("gsize*" "bytes_read")
2045 '("gsize*" "bytes_written")
2046 '("GError**" "error")
2050 (define-function g_locale_to_utf8
2051 (c-name "g_locale_to_utf8")
2052 (return-type "gchar*")
2054 '("const-gchar*" "opsysstring")
2056 '("gsize*" "bytes_read")
2057 '("gsize*" "bytes_written")
2058 '("GError**" "error")
2062 (define-function g_locale_from_utf8
2063 (c-name "g_locale_from_utf8")
2064 (return-type "gchar*")
2066 '("const-gchar*" "utf8string")
2068 '("gsize*" "bytes_read")
2069 '("gsize*" "bytes_written")
2070 '("GError**" "error")
2074 (define-function g_filename_to_utf8
2075 (c-name "g_filename_to_utf8")
2076 (return-type "gchar*")
2078 '("const-gchar*" "opsysstring")
2080 '("gsize*" "bytes_read")
2081 '("gsize*" "bytes_written")
2082 '("GError**" "error")
2086 (define-function g_filename_from_utf8
2087 (c-name "g_filename_from_utf8")
2088 (return-type "gchar*")
2090 '("const-gchar*" "utf8string")
2092 '("gsize*" "bytes_read")
2093 '("gsize*" "bytes_written")
2094 '("GError**" "error")
2098 (define-function g_filename_from_uri
2099 (c-name "g_filename_from_uri")
2100 (return-type "gchar*")
2102 '("const-gchar*" "uri")
2103 '("gchar**" "hostname")
2104 '("GError**" "error")
2108 (define-function g_filename_to_uri
2109 (c-name "g_filename_to_uri")
2110 (return-type "gchar*")
2112 '("const-gchar*" "filename")
2113 '("const-gchar*" "hostname")
2114 '("GError**" "error")
2118 (define-function g_filename_display_name
2119 (c-name "g_filename_display_name")
2120 (return-type "gchar*")
2122 '("const-gchar*" "filename")
2126 (define-function g_get_filename_charsets
2127 (c-name "g_get_filename_charsets")
2128 (return-type "gboolean")
2130 '("const-gchar***" "charsets")
2134 (define-function g_filename_display_basename
2135 (c-name "g_filename_display_basename")
2136 (return-type "gchar*")
2138 '("const-gchar*" "filename")
2142 (define-function g_uri_list_extract_uris
2143 (c-name "g_uri_list_extract_uris")
2144 (return-type "gchar**")
2146 '("const-gchar*" "uri_list")
2154 (define-function g_datalist_init
2155 (c-name "g_datalist_init")
2156 (return-type "none")
2158 '("GData**" "datalist")
2162 (define-function g_datalist_clear
2163 (c-name "g_datalist_clear")
2164 (return-type "none")
2166 '("GData**" "datalist")
2170 (define-function g_datalist_id_get_data
2171 (c-name "g_datalist_id_get_data")
2172 (return-type "gpointer")
2174 '("GData**" "datalist")
2175 '("GQuark" "key_id")
2179 (define-function g_datalist_id_set_data_full
2180 (c-name "g_datalist_id_set_data_full")
2181 (return-type "none")
2183 '("GData**" "datalist")
2184 '("GQuark" "key_id")
2185 '("gpointer" "data")
2186 '("GDestroyNotify" "destroy_func")
2190 (define-function g_datalist_id_remove_no_notify
2191 (c-name "g_datalist_id_remove_no_notify")
2192 (return-type "gpointer")
2194 '("GData**" "datalist")
2195 '("GQuark" "key_id")
2199 (define-function g_datalist_foreach
2200 (c-name "g_datalist_foreach")
2201 (return-type "none")
2203 '("GData**" "datalist")
2204 '("GDataForeachFunc" "func")
2205 '("gpointer" "user_data")
2209 (define-function g_datalist_set_flags
2210 (c-name "g_datalist_set_flags")
2211 (return-type "none")
2213 '("GData**" "datalist")
2218 (define-function g_datalist_unset_flags
2219 (c-name "g_datalist_unset_flags")
2220 (return-type "none")
2222 '("GData**" "datalist")
2227 (define-function g_datalist_get_flags
2228 (c-name "g_datalist_get_flags")
2229 (return-type "guint")
2231 '("GData**" "datalist")
2235 (define-function g_dataset_destroy
2236 (c-name "g_dataset_destroy")
2237 (return-type "none")
2239 '("gconstpointer" "dataset_location")
2243 (define-function g_dataset_id_get_data
2244 (c-name "g_dataset_id_get_data")
2245 (return-type "gpointer")
2247 '("gconstpointer" "dataset_location")
2248 '("GQuark" "key_id")
2252 (define-function g_dataset_id_set_data_full
2253 (c-name "g_dataset_id_set_data_full")
2254 (return-type "none")
2256 '("gconstpointer" "dataset_location")
2257 '("GQuark" "key_id")
2258 '("gpointer" "data")
2259 '("GDestroyNotify" "destroy_func")
2263 (define-function g_dataset_id_remove_no_notify
2264 (c-name "g_dataset_id_remove_no_notify")
2265 (return-type "gpointer")
2267 '("gconstpointer" "dataset_location")
2268 '("GQuark" "key_id")
2272 (define-function g_dataset_foreach
2273 (c-name "g_dataset_foreach")
2274 (return-type "none")
2276 '("gconstpointer" "dataset_location")
2277 '("GDataForeachFunc" "func")
2278 '("gpointer" "user_data")
2284 ;; From gdatasetprivate.h
2290 (define-function g_date_new
2291 (c-name "g_date_new")
2292 (is-constructor-of "GDate")
2293 (return-type "GDate*")
2296 (define-function g_date_new_dmy
2297 (c-name "g_date_new_dmy")
2298 (return-type "GDate*")
2301 '("GDateMonth" "month")
2302 '("GDateYear" "year")
2306 (define-function g_date_new_julian
2307 (c-name "g_date_new_julian")
2308 (return-type "GDate*")
2310 '("guint32" "julian_day")
2316 (c-name "g_date_free")
2317 (return-type "none")
2320 (define-method valid
2322 (c-name "g_date_valid")
2323 (return-type "gboolean")
2326 (define-function g_date_valid_day
2327 (c-name "g_date_valid_day")
2328 (return-type "gboolean")
2334 (define-function g_date_valid_month
2335 (c-name "g_date_valid_month")
2336 (return-type "gboolean")
2338 '("GDateMonth" "month")
2342 (define-function g_date_valid_year
2343 (c-name "g_date_valid_year")
2344 (return-type "gboolean")
2346 '("GDateYear" "year")
2350 (define-function g_date_valid_weekday
2351 (c-name "g_date_valid_weekday")
2352 (return-type "gboolean")
2354 '("GDateWeekday" "weekday")
2358 (define-function g_date_valid_julian
2359 (c-name "g_date_valid_julian")
2360 (return-type "gboolean")
2362 '("guint32" "julian_date")
2366 (define-function g_date_valid_dmy
2367 (c-name "g_date_valid_dmy")
2368 (return-type "gboolean")
2371 '("GDateMonth" "month")
2372 '("GDateYear" "year")
2376 (define-method get_weekday
2378 (c-name "g_date_get_weekday")
2379 (return-type "GDateWeekday")
2382 (define-method get_month
2384 (c-name "g_date_get_month")
2385 (return-type "GDateMonth")
2388 (define-method get_year
2390 (c-name "g_date_get_year")
2391 (return-type "GDateYear")
2394 (define-method get_day
2396 (c-name "g_date_get_day")
2397 (return-type "GDateDay")
2400 (define-method get_julian
2402 (c-name "g_date_get_julian")
2403 (return-type "guint32")
2406 (define-method get_day_of_year
2408 (c-name "g_date_get_day_of_year")
2409 (return-type "guint")
2412 (define-method get_monday_week_of_year
2414 (c-name "g_date_get_monday_week_of_year")
2415 (return-type "guint")
2418 (define-method get_sunday_week_of_year
2420 (c-name "g_date_get_sunday_week_of_year")
2421 (return-type "guint")
2424 (define-method get_iso8601_week_of_year
2426 (c-name "g_date_get_iso8601_week_of_year")
2427 (return-type "guint")
2430 (define-method clear
2432 (c-name "g_date_clear")
2433 (return-type "none")
2435 '("guint" "n_dates")
2439 (define-method set_parse
2441 (c-name "g_date_set_parse")
2442 (return-type "none")
2444 '("const-gchar*" "str")
2448 (define-method set_time_t
2450 (c-name "g_date_set_time_t")
2451 (return-type "none")
2457 (define-method set_time_val
2459 (c-name "g_date_set_time_val")
2460 (return-type "none")
2462 '("GTimeVal*" "timeval")
2466 (define-method set_time
2468 (c-name "g_date_set_time")
2469 (return-type "none")
2475 (define-method set_month
2477 (c-name "g_date_set_month")
2478 (return-type "none")
2480 '("GDateMonth" "month")
2484 (define-method set_day
2486 (c-name "g_date_set_day")
2487 (return-type "none")
2493 (define-method set_year
2495 (c-name "g_date_set_year")
2496 (return-type "none")
2498 '("GDateYear" "year")
2502 (define-method set_dmy
2504 (c-name "g_date_set_dmy")
2505 (return-type "none")
2508 '("GDateMonth" "month")
2513 (define-method set_julian
2515 (c-name "g_date_set_julian")
2516 (return-type "none")
2518 '("guint32" "julian_date")
2522 (define-method is_first_of_month
2524 (c-name "g_date_is_first_of_month")
2525 (return-type "gboolean")
2528 (define-method is_last_of_month
2530 (c-name "g_date_is_last_of_month")
2531 (return-type "gboolean")
2534 (define-method add_days
2536 (c-name "g_date_add_days")
2537 (return-type "none")
2543 (define-method subtract_days
2545 (c-name "g_date_subtract_days")
2546 (return-type "none")
2552 (define-method add_months
2554 (c-name "g_date_add_months")
2555 (return-type "none")
2557 '("guint" "n_months")
2561 (define-method subtract_months
2563 (c-name "g_date_subtract_months")
2564 (return-type "none")
2566 '("guint" "n_months")
2570 (define-method add_years
2572 (c-name "g_date_add_years")
2573 (return-type "none")
2575 '("guint" "n_years")
2579 (define-method subtract_years
2581 (c-name "g_date_subtract_years")
2582 (return-type "none")
2584 '("guint" "n_years")
2588 (define-function g_date_is_leap_year
2589 (c-name "g_date_is_leap_year")
2590 (return-type "gboolean")
2592 '("GDateYear" "year")
2596 (define-function g_date_get_days_in_month
2597 (c-name "g_date_get_days_in_month")
2598 (return-type "guint8")
2600 '("GDateMonth" "month")
2601 '("GDateYear" "year")
2605 (define-function g_date_get_monday_weeks_in_year
2606 (c-name "g_date_get_monday_weeks_in_year")
2607 (return-type "guint8")
2609 '("GDateYear" "year")
2613 (define-function g_date_get_sunday_weeks_in_year
2614 (c-name "g_date_get_sunday_weeks_in_year")
2615 (return-type "guint8")
2617 '("GDateYear" "year")
2621 (define-method days_between
2623 (c-name "g_date_days_between")
2624 (return-type "gint")
2626 '("const-GDate*" "date2")
2630 (define-method compare
2632 (c-name "g_date_compare")
2633 (return-type "gint")
2635 '("const-GDate*" "rhs")
2639 (define-method to_struct_tm
2641 (c-name "g_date_to_struct_tm")
2642 (return-type "none")
2644 '("struct-tm*" "tm")
2648 (define-method clamp
2650 (c-name "g_date_clamp")
2651 (return-type "none")
2653 '("const-GDate*" "min_date")
2654 '("const-GDate*" "max_date")
2658 (define-method order
2660 (c-name "g_date_order")
2661 (return-type "none")
2667 (define-function g_date_strftime
2668 (c-name "g_date_strftime")
2669 (return-type "gsize")
2673 '("const-gchar*" "format")
2674 '("const-GDate*" "date")
2686 (define-function g_dir_open
2687 (c-name "g_dir_open")
2688 (return-type "GDir*")
2690 '("const-gchar*" "path")
2692 '("GError**" "error")
2696 (define-method read_name
2698 (c-name "g_dir_read_name")
2699 (return-type "const-gchar*")
2702 (define-method rewind
2704 (c-name "g_dir_rewind")
2705 (return-type "none")
2708 (define-method close
2710 (c-name "g_dir_close")
2711 (return-type "none")
2718 (define-function g_error_new
2719 (c-name "g_error_new")
2720 (is-constructor-of "GError")
2721 (return-type "GError*")
2723 '("GQuark" "domain")
2725 '("const-gchar*" "format")
2730 (define-function g_error_new_literal
2731 (c-name "g_error_new_literal")
2732 (return-type "GError*")
2734 '("GQuark" "domain")
2736 '("const-gchar*" "message")
2741 (of-object "GError")
2742 (c-name "g_error_free")
2743 (return-type "none")
2747 (of-object "GError")
2748 (c-name "g_error_copy")
2749 (return-type "GError*")
2752 (define-method matches
2753 (of-object "GError")
2754 (c-name "g_error_matches")
2755 (return-type "gboolean")
2757 '("GQuark" "domain")
2762 (define-function g_set_error
2763 (c-name "g_set_error")
2764 (return-type "none")
2767 '("GQuark" "domain")
2769 '("const-gchar*" "format")
2774 (define-function g_propagate_error
2775 (c-name "g_propagate_error")
2776 (return-type "none")
2778 '("GError**" "dest")
2783 (define-function g_clear_error
2784 (c-name "g_clear_error")
2785 (return-type "none")
2793 ;; From gfileutils.h
2795 (define-function g_file_error_quark
2796 (c-name "g_file_error_quark")
2797 (return-type "GQuark")
2800 (define-function g_file_error_from_errno
2801 (c-name "g_file_error_from_errno")
2802 (return-type "GFileError")
2808 (define-function g_file_test
2809 (c-name "g_file_test")
2810 (return-type "gboolean")
2812 '("const-gchar*" "filename")
2813 '("GFileTest" "test")
2817 (define-function g_file_get_contents
2818 (c-name "g_file_get_contents")
2819 (return-type "gboolean")
2821 '("const-gchar*" "filename")
2822 '("gchar**" "contents")
2823 '("gsize*" "length")
2824 '("GError**" "error")
2828 (define-function g_file_set_contents
2829 (c-name "g_file_set_contents")
2830 (return-type "gboolean")
2832 '("const-gchar*" "filename")
2833 '("const-gchar*" "contents")
2834 '("gssize" "length")
2835 '("GError**" "error")
2839 (define-function g_file_read_link
2840 (c-name "g_file_read_link")
2841 (return-type "gchar*")
2843 '("const-gchar*" "filename")
2844 '("GError**" "error")
2848 (define-function g_mkstemp
2849 (c-name "g_mkstemp")
2850 (return-type "gint")
2856 (define-function g_file_open_tmp
2857 (c-name "g_file_open_tmp")
2858 (return-type "gint")
2860 '("const-gchar*" "tmpl")
2861 '("gchar**" "name_used")
2862 '("GError**" "error")
2866 (define-function g_build_path
2867 (c-name "g_build_path")
2868 (return-type "gchar*")
2870 '("const-gchar*" "separator")
2871 '("const-gchar*" "first_element")
2876 (define-function g_build_pathv
2877 (c-name "g_build_pathv")
2878 (return-type "gchar*")
2880 '("const-gchar*" "separator")
2885 (define-function g_build_filename
2886 (c-name "g_build_filename")
2887 (return-type "gchar*")
2889 '("const-gchar*" "first_element")
2894 (define-function g_build_filenamev
2895 (c-name "g_build_filenamev")
2896 (return-type "gchar*")
2902 (define-function g_mkdir_with_parents
2903 (c-name "g_mkdir_with_parents")
2906 '("const-gchar*" "pathname")
2915 (define-function g_hash_table_new
2916 (c-name "g_hash_table_new")
2917 (is-constructor-of "GHashTable")
2918 (return-type "GHashTable*")
2920 '("GHashFunc" "hash_func")
2921 '("GEqualFunc" "key_equal_func")
2925 (define-function g_hash_table_new_full
2926 (c-name "g_hash_table_new_full")
2927 (return-type "GHashTable*")
2929 '("GHashFunc" "hash_func")
2930 '("GEqualFunc" "key_equal_func")
2931 '("GDestroyNotify" "key_destroy_func")
2932 '("GDestroyNotify" "value_destroy_func")
2936 (define-method destroy
2937 (of-object "GHashTable")
2938 (c-name "g_hash_table_destroy")
2939 (return-type "none")
2942 (define-method insert
2943 (of-object "GHashTable")
2944 (c-name "g_hash_table_insert")
2945 (return-type "none")
2948 '("gpointer" "value")
2952 (define-method replace
2953 (of-object "GHashTable")
2954 (c-name "g_hash_table_replace")
2955 (return-type "none")
2958 '("gpointer" "value")
2962 (define-method remove
2963 (of-object "GHashTable")
2964 (c-name "g_hash_table_remove")
2965 (return-type "gboolean")
2967 '("gconstpointer" "key")
2971 (define-method remove_all
2972 (of-object "GHashTable")
2973 (c-name "g_hash_table_remove_all")
2974 (return-type "none")
2977 (define-method steal
2978 (of-object "GHashTable")
2979 (c-name "g_hash_table_steal")
2980 (return-type "gboolean")
2982 '("gconstpointer" "key")
2986 (define-method steal_all
2987 (of-object "GHashTable")
2988 (c-name "g_hash_table_steal_all")
2989 (return-type "none")
2992 (define-method lookup
2993 (of-object "GHashTable")
2994 (c-name "g_hash_table_lookup")
2995 (return-type "gpointer")
2997 '("gconstpointer" "key")
3001 (define-method lookup_extended
3002 (of-object "GHashTable")
3003 (c-name "g_hash_table_lookup_extended")
3004 (return-type "gboolean")
3006 '("gconstpointer" "lookup_key")
3007 '("gpointer*" "orig_key")
3008 '("gpointer*" "value")
3012 (define-method foreach
3013 (of-object "GHashTable")
3014 (c-name "g_hash_table_foreach")
3015 (return-type "none")
3018 '("gpointer" "user_data")
3023 (of-object "GHashTable")
3024 (c-name "g_hash_table_find")
3025 (return-type "gpointer")
3027 '("GHRFunc" "predicate")
3028 '("gpointer" "user_data")
3032 (define-method foreach_remove
3033 (of-object "GHashTable")
3034 (c-name "g_hash_table_foreach_remove")
3035 (return-type "guint")
3038 '("gpointer" "user_data")
3042 (define-method foreach_steal
3043 (of-object "GHashTable")
3044 (c-name "g_hash_table_foreach_steal")
3045 (return-type "guint")
3048 '("gpointer" "user_data")
3053 (of-object "GHashTable")
3054 (c-name "g_hash_table_size")
3055 (return-type "guint")
3058 (define-method get_keys
3059 (of-object "GHashTable")
3060 (c-name "g_hash_table_get_keys")
3061 (return-type "GList*")
3064 (define-method get_values
3065 (of-object "GHashTable")
3066 (c-name "g_hash_table_get_values")
3067 (return-type "GList*")
3071 (of-object "GHashTable")
3072 (c-name "g_hash_table_ref")
3073 (return-type "GHashTable*")
3076 (define-method unref
3077 (of-object "GHashTable")
3078 (c-name "g_hash_table_unref")
3079 (return-type "none")
3082 (define-function g_str_equal
3083 (c-name "g_str_equal")
3084 (return-type "gboolean")
3086 '("gconstpointer" "v1")
3087 '("gconstpointer" "v2")
3091 (define-function g_str_hash
3092 (c-name "g_str_hash")
3093 (return-type "guint")
3095 '("gconstpointer" "v")
3099 (define-function g_int_equal
3100 (c-name "g_int_equal")
3101 (return-type "gboolean")
3103 '("gconstpointer" "v1")
3104 '("gconstpointer" "v2")
3108 (define-function g_int_hash
3109 (c-name "g_int_hash")
3110 (return-type "guint")
3112 '("gconstpointer" "v")
3116 (define-function g_direct_hash
3117 (c-name "g_direct_hash")
3118 (return-type "guint")
3120 '("gconstpointer" "v")
3124 (define-function g_direct_equal
3125 (c-name "g_direct_equal")
3126 (return-type "gboolean")
3128 '("gconstpointer" "v1")
3129 '("gconstpointer" "v2")
3138 (of-object "GHookList")
3139 (c-name "g_hook_list_init")
3140 (return-type "none")
3142 '("guint" "hook_size")
3146 (define-method clear
3147 (of-object "GHookList")
3148 (c-name "g_hook_list_clear")
3149 (return-type "none")
3152 (define-function g_hook_alloc
3153 (c-name "g_hook_alloc")
3154 (return-type "GHook*")
3156 '("GHookList*" "hook_list")
3160 (define-function g_hook_free
3161 (c-name "g_hook_free")
3162 (return-type "none")
3164 '("GHookList*" "hook_list")
3169 (define-function g_hook_ref
3170 (c-name "g_hook_ref")
3171 (return-type "GHook*")
3173 '("GHookList*" "hook_list")
3178 (define-function g_hook_unref
3179 (c-name "g_hook_unref")
3180 (return-type "none")
3182 '("GHookList*" "hook_list")
3187 (define-function g_hook_destroy
3188 (c-name "g_hook_destroy")
3189 (return-type "gboolean")
3191 '("GHookList*" "hook_list")
3192 '("gulong" "hook_id")
3196 (define-function g_hook_destroy_link
3197 (c-name "g_hook_destroy_link")
3198 (return-type "none")
3200 '("GHookList*" "hook_list")
3205 (define-function g_hook_prepend
3206 (c-name "g_hook_prepend")
3207 (return-type "none")
3209 '("GHookList*" "hook_list")
3214 (define-function g_hook_insert_before
3215 (c-name "g_hook_insert_before")
3216 (return-type "none")
3218 '("GHookList*" "hook_list")
3219 '("GHook*" "sibling")
3224 (define-function g_hook_insert_sorted
3225 (c-name "g_hook_insert_sorted")
3226 (return-type "none")
3228 '("GHookList*" "hook_list")
3230 '("GHookCompareFunc" "func")
3234 (define-function g_hook_get
3235 (c-name "g_hook_get")
3236 (return-type "GHook*")
3238 '("GHookList*" "hook_list")
3239 '("gulong" "hook_id")
3243 (define-function g_hook_find
3244 (c-name "g_hook_find")
3245 (return-type "GHook*")
3247 '("GHookList*" "hook_list")
3248 '("gboolean" "need_valids")
3249 '("GHookFindFunc" "func")
3250 '("gpointer" "data")
3254 (define-function g_hook_find_data
3255 (c-name "g_hook_find_data")
3256 (return-type "GHook*")
3258 '("GHookList*" "hook_list")
3259 '("gboolean" "need_valids")
3260 '("gpointer" "data")
3264 (define-function g_hook_find_func
3265 (c-name "g_hook_find_func")
3266 (return-type "GHook*")
3268 '("GHookList*" "hook_list")
3269 '("gboolean" "need_valids")
3270 '("gpointer" "func")
3274 (define-function g_hook_find_func_data
3275 (c-name "g_hook_find_func_data")
3276 (return-type "GHook*")
3278 '("GHookList*" "hook_list")
3279 '("gboolean" "need_valids")
3280 '("gpointer" "func")
3281 '("gpointer" "data")
3285 (define-function g_hook_first_valid
3286 (c-name "g_hook_first_valid")
3287 (return-type "GHook*")
3289 '("GHookList*" "hook_list")
3290 '("gboolean" "may_be_in_call")
3294 (define-function g_hook_next_valid
3295 (c-name "g_hook_next_valid")
3296 (return-type "GHook*")
3298 '("GHookList*" "hook_list")
3300 '("gboolean" "may_be_in_call")
3304 (define-method compare_ids
3306 (c-name "g_hook_compare_ids")
3307 (return-type "gint")
3309 '("GHook*" "sibling")
3313 (define-method invoke
3314 (of-object "GHookList")
3315 (c-name "g_hook_list_invoke")
3316 (return-type "none")
3318 '("gboolean" "may_recurse")
3322 (define-method invoke_check
3323 (of-object "GHookList")
3324 (c-name "g_hook_list_invoke_check")
3325 (return-type "none")
3327 '("gboolean" "may_recurse")
3331 (define-method marshal
3332 (of-object "GHookList")
3333 (c-name "g_hook_list_marshal")
3334 (return-type "none")
3336 '("gboolean" "may_recurse")
3337 '("GHookMarshaller" "marshaller")
3338 '("gpointer" "marshal_data")
3342 (define-method marshal_check
3343 (of-object "GHookList")
3344 (c-name "g_hook_list_marshal_check")
3345 (return-type "none")
3347 '("gboolean" "may_recurse")
3348 '("GHookCheckMarshaller" "marshaller")
3349 '("gpointer" "marshal_data")
3363 ;; From giochannel.h
3366 (of-object "GIOChannel")
3367 (c-name "g_io_channel_init")
3368 (return-type "none")
3372 (of-object "GIOChannel")
3373 (c-name "g_io_channel_ref")
3374 (return-type "GIOChannel*")
3377 (define-method unref
3378 (of-object "GIOChannel")
3379 (c-name "g_io_channel_unref")
3380 (return-type "none")
3384 (of-object "GIOChannel")
3385 (c-name "g_io_channel_read")
3386 (return-type "GIOError")
3390 '("gsize*" "bytes_read")
3394 (define-method write
3395 (of-object "GIOChannel")
3396 (c-name "g_io_channel_write")
3397 (return-type "GIOError")
3399 '("const-gchar*" "buf")
3401 '("gsize*" "bytes_written")
3406 (of-object "GIOChannel")
3407 (c-name "g_io_channel_seek")
3408 (return-type "GIOError")
3410 '("gint64" "offset")
3411 '("GSeekType" "type")
3415 (define-method close
3416 (of-object "GIOChannel")
3417 (c-name "g_io_channel_close")
3418 (return-type "none")
3421 (define-method shutdown
3422 (of-object "GIOChannel")
3423 (c-name "g_io_channel_shutdown")
3424 (return-type "GIOStatus")
3426 '("gboolean" "flush")
3431 (define-function g_io_add_watch_full
3432 (c-name "g_io_add_watch_full")
3433 (return-type "guint")
3435 '("GIOChannel*" "channel")
3436 '("gint" "priority")
3437 '("GIOCondition" "condition")
3439 '("gpointer" "user_data")
3440 '("GDestroyNotify" "notify")
3444 (define-function g_io_create_watch
3445 (c-name "g_io_create_watch")
3446 (return-type "GSource*")
3448 '("GIOChannel*" "channel")
3449 '("GIOCondition" "condition")
3453 (define-function g_io_add_watch
3454 (c-name "g_io_add_watch")
3455 (return-type "guint")
3457 '("GIOChannel*" "channel")
3458 '("GIOCondition" "condition")
3460 '("gpointer" "user_data")
3464 (define-method set_buffer_size
3465 (of-object "GIOChannel")
3466 (c-name "g_io_channel_set_buffer_size")
3467 (return-type "none")
3473 (define-method get_buffer_size
3474 (of-object "GIOChannel")
3475 (c-name "g_io_channel_get_buffer_size")
3476 (return-type "gsize")
3479 (define-method get_buffer_condition
3480 (of-object "GIOChannel")
3481 (c-name "g_io_channel_get_buffer_condition")
3482 (return-type "GIOCondition")
3485 (define-method set_flags
3486 (of-object "GIOChannel")
3487 (c-name "g_io_channel_set_flags")
3488 (return-type "GIOStatus")
3490 '("GIOFlags" "flags")
3491 '("GError**" "error")
3495 (define-method get_flags
3496 (of-object "GIOChannel")
3497 (c-name "g_io_channel_get_flags")
3498 (return-type "GIOFlags")
3501 (define-method set_line_term
3502 (of-object "GIOChannel")
3503 (c-name "g_io_channel_set_line_term")
3504 (return-type "none")
3506 '("const-gchar*" "line_term")
3511 (define-method get_line_term
3512 (of-object "GIOChannel")
3513 (c-name "g_io_channel_get_line_term")
3514 (return-type "const-gchar*")
3520 (define-method set_buffered
3521 (of-object "GIOChannel")
3522 (c-name "g_io_channel_set_buffered")
3523 (return-type "none")
3525 '("gboolean" "buffered")
3529 (define-method get_buffered
3530 (of-object "GIOChannel")
3531 (c-name "g_io_channel_get_buffered")
3532 (return-type "gboolean")
3535 (define-method set_encoding
3536 (of-object "GIOChannel")
3537 (c-name "g_io_channel_set_encoding")
3538 (return-type "GIOStatus")
3540 '("const-gchar*" "encoding")
3541 '("GError**" "error")
3545 (define-method get_encoding
3546 (of-object "GIOChannel")
3547 (c-name "g_io_channel_get_encoding")
3548 (return-type "const-gchar*")
3551 (define-method set_close_on_unref
3552 (of-object "GIOChannel")
3553 (c-name "g_io_channel_set_close_on_unref")
3554 (return-type "none")
3556 '("gboolean" "do_close")
3560 (define-method get_close_on_unref
3561 (of-object "GIOChannel")
3562 (c-name "g_io_channel_get_close_on_unref")
3563 (return-type "gboolean")
3566 (define-method flush
3567 (of-object "GIOChannel")
3568 (c-name "g_io_channel_flush")
3569 (return-type "GIOStatus")
3571 '("GError**" "error")
3575 (define-method read_line
3576 (of-object "GIOChannel")
3577 (c-name "g_io_channel_read_line")
3578 (return-type "GIOStatus")
3580 '("gchar**" "str_return")
3581 '("gsize*" "length")
3582 '("gsize*" "terminator_pos")
3583 '("GError**" "error")
3587 (define-method read_line_string
3588 (of-object "GIOChannel")
3589 (c-name "g_io_channel_read_line_string")
3590 (return-type "GIOStatus")
3592 '("GString*" "buffer")
3593 '("gsize*" "terminator_pos")
3594 '("GError**" "error")
3598 (define-method read_to_end
3599 (of-object "GIOChannel")
3600 (c-name "g_io_channel_read_to_end")
3601 (return-type "GIOStatus")
3603 '("gchar**" "str_return")
3604 '("gsize*" "length")
3605 '("GError**" "error")
3609 (define-method read_chars
3610 (of-object "GIOChannel")
3611 (c-name "g_io_channel_read_chars")
3612 (return-type "GIOStatus")
3616 '("gsize*" "bytes_read")
3617 '("GError**" "error")
3621 (define-method read_unichar
3622 (of-object "GIOChannel")
3623 (c-name "g_io_channel_read_unichar")
3624 (return-type "GIOStatus")
3626 '("gunichar*" "thechar")
3627 '("GError**" "error")
3631 (define-method write_chars
3632 (of-object "GIOChannel")
3633 (c-name "g_io_channel_write_chars")
3634 (return-type "GIOStatus")
3636 '("const-gchar*" "buf")
3638 '("gsize*" "bytes_written")
3639 '("GError**" "error")
3643 (define-method write_unichar
3644 (of-object "GIOChannel")
3645 (c-name "g_io_channel_write_unichar")
3646 (return-type "GIOStatus")
3648 '("gunichar" "thechar")
3649 '("GError**" "error")
3653 (define-method seek_position
3654 (of-object "GIOChannel")
3655 (c-name "g_io_channel_seek_position")
3656 (return-type "GIOStatus")
3658 '("gint64" "offset")
3659 '("GSeekType" "type")
3660 '("GError**" "error")
3664 (define-function g_io_channel_new_file
3665 (c-name "g_io_channel_new_file")
3666 (return-type "GIOChannel*")
3668 '("const-gchar*" "filename")
3669 '("const-gchar*" "mode")
3670 '("GError**" "error")
3674 (define-function g_io_channel_error_quark
3675 (c-name "g_io_channel_error_quark")
3676 (return-type "GQuark")
3679 (define-function g_io_channel_error_from_errno
3680 (c-name "g_io_channel_error_from_errno")
3681 (return-type "GIOChannelError")
3687 (define-function g_io_channel_unix_new
3688 (c-name "g_io_channel_unix_new")
3689 (is-constructor-of "GIoChannelUnix")
3690 (return-type "GIOChannel*")
3696 (define-method unix_get_fd
3697 (of-object "GIOChannel")
3698 (c-name "g_io_channel_unix_get_fd")
3699 (return-type "gint")
3702 (define-method win32_make_pollfd
3703 (of-object "GIOChannel")
3704 (c-name "g_io_channel_win32_make_pollfd")
3705 (return-type "none")
3707 '("GIOCondition" "condition")
3712 (define-function g_io_channel_win32_poll
3713 (c-name "g_io_channel_win32_poll")
3714 (return-type "gint")
3718 '("gint" "timeout_")
3722 (define-function g_io_channel_win32_new_messages
3723 (c-name "g_io_channel_win32_new_messages")
3724 (return-type "GIOChannel*")
3730 (define-function g_io_channel_win32_new_fd
3731 (c-name "g_io_channel_win32_new_fd")
3732 (return-type "GIOChannel*")
3738 (define-method win32_get_fd
3739 (of-object "GIOChannel")
3740 (c-name "g_io_channel_win32_get_fd")
3741 (return-type "gint")
3744 (define-function g_io_channel_win32_new_socket
3745 (c-name "g_io_channel_win32_new_socket")
3746 (return-type "GIOChannel*")
3756 (define-function g_key_file_error_quark
3757 (c-name "g_key_file_error_quark")
3758 (return-type "GQuark")
3761 (define-function g_key_file_new
3762 (c-name "g_key_file_new")
3763 (is-constructor-of "GKeyFile")
3764 (return-type "GKeyFile*")
3768 (of-object "GKeyFile")
3769 (c-name "g_key_file_free")
3770 (return-type "none")
3773 (define-method set_list_separator
3774 (of-object "GKeyFile")
3775 (c-name "g_key_file_set_list_separator")
3776 (return-type "none")
3778 '("gchar" "separator")
3782 (define-method load_from_file
3783 (of-object "GKeyFile")
3784 (c-name "g_key_file_load_from_file")
3785 (return-type "gboolean")
3787 '("const-gchar*" "file")
3788 '("GKeyFileFlags" "flags")
3789 '("GError**" "error")
3793 (define-method load_from_data
3794 (of-object "GKeyFile")
3795 (c-name "g_key_file_load_from_data")
3796 (return-type "gboolean")
3798 '("const-gchar*" "data")
3800 '("GKeyFileFlags" "flags")
3801 '("GError**" "error")
3805 (define-method load_from_dirs
3806 (of-object "GKeyFile")
3807 (c-name "g_key_file_load_from_dirs")
3808 (return-type "gboolean")
3810 '("const-gchar*" "file")
3811 '("const-gchar**" "search_dirs")
3812 '("gchar**" "full_path")
3813 '("GKeyFileFlags" "flags")
3814 '("GError**" "error")
3818 (define-method load_from_data_dirs
3819 (of-object "GKeyFile")
3820 (c-name "g_key_file_load_from_data_dirs")
3821 (return-type "gboolean")
3823 '("const-gchar*" "file")
3824 '("gchar**" "full_path")
3825 '("GKeyFileFlags" "flags")
3826 '("GError**" "error")
3830 (define-method to_data
3831 (of-object "GKeyFile")
3832 (c-name "g_key_file_to_data")
3833 (return-type "gchar*")
3835 '("gsize*" "length")
3836 '("GError**" "error")
3840 (define-method get_start_group
3841 (of-object "GKeyFile")
3842 (c-name "g_key_file_get_start_group")
3843 (return-type "gchar*")
3846 (define-method get_groups
3847 (of-object "GKeyFile")
3848 (c-name "g_key_file_get_groups")
3849 (return-type "gchar**")
3851 '("gsize*" "length")
3855 (define-method get_keys
3856 (of-object "GKeyFile")
3857 (c-name "g_key_file_get_keys")
3858 (return-type "gchar**")
3860 '("const-gchar*" "group_name")
3861 '("gsize*" "length")
3862 '("GError**" "error")
3866 (define-method has_group
3867 (of-object "GKeyFile")
3868 (c-name "g_key_file_has_group")
3869 (return-type "gboolean")
3871 '("const-gchar*" "group_name")
3875 (define-method has_key
3876 (of-object "GKeyFile")
3877 (c-name "g_key_file_has_key")
3878 (return-type "gboolean")
3880 '("const-gchar*" "group_name")
3881 '("const-gchar*" "key")
3882 '("GError**" "error")
3886 (define-method get_value
3887 (of-object "GKeyFile")
3888 (c-name "g_key_file_get_value")
3889 (return-type "gchar*")
3891 '("const-gchar*" "group_name")
3892 '("const-gchar*" "key")
3893 '("GError**" "error")
3897 (define-method set_value
3898 (of-object "GKeyFile")
3899 (c-name "g_key_file_set_value")
3900 (return-type "none")
3902 '("const-gchar*" "group_name")
3903 '("const-gchar*" "key")
3904 '("const-gchar*" "value")
3908 (define-method get_string
3909 (of-object "GKeyFile")
3910 (c-name "g_key_file_get_string")
3911 (return-type "gchar*")
3913 '("const-gchar*" "group_name")
3914 '("const-gchar*" "key")
3915 '("GError**" "error")
3919 (define-method set_string
3920 (of-object "GKeyFile")
3921 (c-name "g_key_file_set_string")
3922 (return-type "none")
3924 '("const-gchar*" "group_name")
3925 '("const-gchar*" "key")
3926 '("const-gchar*" "string")
3930 (define-method get_locale_string
3931 (of-object "GKeyFile")
3932 (c-name "g_key_file_get_locale_string")
3933 (return-type "gchar*")
3935 '("const-gchar*" "group_name")
3936 '("const-gchar*" "key")
3937 '("const-gchar*" "locale")
3938 '("GError**" "error")
3942 (define-method set_locale_string
3943 (of-object "GKeyFile")
3944 (c-name "g_key_file_set_locale_string")
3945 (return-type "none")
3947 '("const-gchar*" "group_name")
3948 '("const-gchar*" "key")
3949 '("const-gchar*" "locale")
3950 '("const-gchar*" "string")
3954 (define-method get_boolean
3955 (of-object "GKeyFile")
3956 (c-name "g_key_file_get_boolean")
3957 (return-type "gboolean")
3959 '("const-gchar*" "group_name")
3960 '("const-gchar*" "key")
3961 '("GError**" "error")
3965 (define-method set_boolean
3966 (of-object "GKeyFile")
3967 (c-name "g_key_file_set_boolean")
3968 (return-type "none")
3970 '("const-gchar*" "group_name")
3971 '("const-gchar*" "key")
3972 '("gboolean" "value")
3976 (define-method get_integer
3977 (of-object "GKeyFile")
3978 (c-name "g_key_file_get_integer")
3979 (return-type "gint")
3981 '("const-gchar*" "group_name")
3982 '("const-gchar*" "key")
3983 '("GError**" "error")
3987 (define-method set_integer
3988 (of-object "GKeyFile")
3989 (c-name "g_key_file_set_integer")
3990 (return-type "none")
3992 '("const-gchar*" "group_name")
3993 '("const-gchar*" "key")
3998 (define-method get_double
3999 (of-object "GKeyFile")
4000 (c-name "g_key_file_get_double")
4001 (return-type "gdouble")
4003 '("const-gchar*" "group_name")
4004 '("const-gchar*" "key")
4005 '("GError**" "error")
4009 (define-method set_double
4010 (of-object "GKeyFile")
4011 (c-name "g_key_file_set_double")
4012 (return-type "none")
4014 '("const-gchar*" "group_name")
4015 '("const-gchar*" "key")
4016 '("gdouble" "value")
4020 (define-method get_string_list
4021 (of-object "GKeyFile")
4022 (c-name "g_key_file_get_string_list")
4023 (return-type "gchar**")
4025 '("const-gchar*" "group_name")
4026 '("const-gchar*" "key")
4027 '("gsize*" "length")
4028 '("GError**" "error")
4032 (define-method set_string_list
4033 (of-object "GKeyFile")
4034 (c-name "g_key_file_set_string_list")
4035 (return-type "none")
4037 '("const-gchar*" "group_name")
4038 '("const-gchar*" "key")
4039 '("const-gchar*-const[]" "list")
4044 (define-method get_locale_string_list
4045 (of-object "GKeyFile")
4046 (c-name "g_key_file_get_locale_string_list")
4047 (return-type "gchar**")
4049 '("const-gchar*" "group_name")
4050 '("const-gchar*" "key")
4051 '("const-gchar*" "locale")
4052 '("gsize*" "length")
4053 '("GError**" "error")
4057 (define-method set_locale_string_list
4058 (of-object "GKeyFile")
4059 (c-name "g_key_file_set_locale_string_list")
4060 (return-type "none")
4062 '("const-gchar*" "group_name")
4063 '("const-gchar*" "key")
4064 '("const-gchar*" "locale")
4065 '("const-gchar*-const[]" "list")
4070 (define-method get_boolean_list
4071 (of-object "GKeyFile")
4072 (c-name "g_key_file_get_boolean_list")
4073 (return-type "gboolean*")
4075 '("const-gchar*" "group_name")
4076 '("const-gchar*" "key")
4077 '("gsize*" "length")
4078 '("GError**" "error")
4082 (define-method set_boolean_list
4083 (of-object "GKeyFile")
4084 (c-name "g_key_file_set_boolean_list")
4085 (return-type "none")
4087 '("const-gchar*" "group_name")
4088 '("const-gchar*" "key")
4089 '("gboolean[]" "list")
4094 (define-method get_integer_list
4095 (of-object "GKeyFile")
4096 (c-name "g_key_file_get_integer_list")
4097 (return-type "gint*")
4099 '("const-gchar*" "group_name")
4100 '("const-gchar*" "key")
4101 '("gsize*" "length")
4102 '("GError**" "error")
4106 (define-method set_double_list
4107 (of-object "GKeyFile")
4108 (c-name "g_key_file_set_double_list")
4109 (return-type "none")
4111 '("const-gchar*" "group_name")
4112 '("const-gchar*" "key")
4113 '("gdouble[]" "list")
4118 (define-method get_double_list
4119 (of-object "GKeyFile")
4120 (c-name "g_key_file_get_double_list")
4121 (return-type "gdouble*")
4123 '("const-gchar*" "group_name")
4124 '("const-gchar*" "key")
4125 '("gsize*" "length")
4126 '("GError**" "error")
4130 (define-method set_integer_list
4131 (of-object "GKeyFile")
4132 (c-name "g_key_file_set_integer_list")
4133 (return-type "none")
4135 '("const-gchar*" "group_name")
4136 '("const-gchar*" "key")
4142 (define-method set_comment
4143 (of-object "GKeyFile")
4144 (c-name "g_key_file_set_comment")
4145 (return-type "none")
4147 '("const-gchar*" "group_name")
4148 '("const-gchar*" "key")
4149 '("const-gchar*" "comment")
4150 '("GError**" "error")
4154 (define-method get_comment
4155 (of-object "GKeyFile")
4156 (c-name "g_key_file_get_comment")
4157 (return-type "gchar*")
4159 '("const-gchar*" "group_name")
4160 '("const-gchar*" "key")
4161 '("GError**" "error")
4165 (define-method remove_comment
4166 (of-object "GKeyFile")
4167 (c-name "g_key_file_remove_comment")
4168 (return-type "none")
4170 '("const-gchar*" "group_name")
4171 '("const-gchar*" "key")
4172 '("GError**" "error")
4176 (define-method remove_key
4177 (of-object "GKeyFile")
4178 (c-name "g_key_file_remove_key")
4179 (return-type "none")
4181 '("const-gchar*" "group_name")
4182 '("const-gchar*" "key")
4183 '("GError**" "error")
4187 (define-method remove_group
4188 (of-object "GKeyFile")
4189 (c-name "g_key_file_remove_group")
4190 (return-type "none")
4192 '("const-gchar*" "group_name")
4193 '("GError**" "error")
4207 ;; From glib-object.h
4213 (define-function g_list_alloc
4214 (c-name "g_list_alloc")
4215 (return-type "GList*")
4220 (c-name "g_list_free")
4221 (return-type "none")
4224 (define-method free_1
4226 (c-name "g_list_free_1")
4227 (return-type "none")
4230 (define-method append
4232 (c-name "g_list_append")
4233 (return-type "GList*")
4235 '("gpointer" "data")
4239 (define-method prepend
4241 (c-name "g_list_prepend")
4242 (return-type "GList*")
4244 '("gpointer" "data")
4248 (define-method insert
4250 (c-name "g_list_insert")
4251 (return-type "GList*")
4253 '("gpointer" "data")
4254 '("gint" "position")
4258 (define-method insert_sorted
4260 (c-name "g_list_insert_sorted")
4261 (return-type "GList*")
4263 '("gpointer" "data")
4264 '("GCompareFunc" "func")
4268 (define-method insert_sorted_with_data
4270 (c-name "g_list_insert_sorted_with_data")
4271 (return-type "GList*")
4273 '("gpointer" "data")
4274 '("GCompareDataFunc" "func")
4275 '("gpointer" "user_data")
4279 (define-method insert_before
4281 (c-name "g_list_insert_before")
4282 (return-type "GList*")
4284 '("GList*" "sibling")
4285 '("gpointer" "data")
4289 (define-method concat
4291 (c-name "g_list_concat")
4292 (return-type "GList*")
4298 (define-method remove
4300 (c-name "g_list_remove")
4301 (return-type "GList*")
4303 '("gconstpointer" "data")
4307 (define-method remove_all
4309 (c-name "g_list_remove_all")
4310 (return-type "GList*")
4312 '("gconstpointer" "data")
4316 (define-method remove_link
4318 (c-name "g_list_remove_link")
4319 (return-type "GList*")
4325 (define-method delete_link
4327 (c-name "g_list_delete_link")
4328 (return-type "GList*")
4334 (define-method reverse
4336 (c-name "g_list_reverse")
4337 (return-type "GList*")
4342 (c-name "g_list_copy")
4343 (return-type "GList*")
4348 (c-name "g_list_nth")
4349 (return-type "GList*")
4355 (define-method nth_prev
4357 (c-name "g_list_nth_prev")
4358 (return-type "GList*")
4366 (c-name "g_list_find")
4367 (return-type "GList*")
4369 '("gconstpointer" "data")
4373 (define-method find_custom
4375 (c-name "g_list_find_custom")
4376 (return-type "GList*")
4378 '("gconstpointer" "data")
4379 '("GCompareFunc" "func")
4383 (define-method position
4385 (c-name "g_list_position")
4386 (return-type "gint")
4392 (define-method index
4394 (c-name "g_list_index")
4395 (return-type "gint")
4397 '("gconstpointer" "data")
4403 (c-name "g_list_last")
4404 (return-type "GList*")
4407 (define-method first
4409 (c-name "g_list_first")
4410 (return-type "GList*")
4413 (define-method length
4415 (c-name "g_list_length")
4416 (return-type "guint")
4419 (define-method foreach
4421 (c-name "g_list_foreach")
4422 (return-type "none")
4425 '("gpointer" "user_data")
4431 (c-name "g_list_sort")
4432 (return-type "GList*")
4434 '("GCompareFunc" "compare_func")
4438 (define-method sort_with_data
4440 (c-name "g_list_sort_with_data")
4441 (return-type "GList*")
4443 '("GCompareDataFunc" "compare_func")
4444 '("gpointer" "user_data")
4448 (define-method nth_data
4450 (c-name "g_list_nth_data")
4451 (return-type "gpointer")
4457 (define-function g_list_push_allocator
4458 (c-name "g_list_push_allocator")
4459 (return-type "none")
4461 '("gpointer" "allocator")
4465 (define-function g_list_pop_allocator
4466 (c-name "g_list_pop_allocator")
4467 (return-type "none")
4478 (define-function g_main_context_new
4479 (c-name "g_main_context_new")
4480 (is-constructor-of "GMainContext")
4481 (return-type "GMainContext*")
4485 (of-object "GMainContext")
4486 (c-name "g_main_context_ref")
4487 (return-type "GMainContext*")
4490 (define-method unref
4491 (of-object "GMainContext")
4492 (c-name "g_main_context_unref")
4493 (return-type "none")
4496 (define-function g_main_context_default
4497 (c-name "g_main_context_default")
4498 (return-type "GMainContext*")
4501 (define-method iteration
4502 (of-object "GMainContext")
4503 (c-name "g_main_context_iteration")
4504 (return-type "gboolean")
4506 '("gboolean" "may_block")
4510 (define-method pending
4511 (of-object "GMainContext")
4512 (c-name "g_main_context_pending")
4513 (return-type "gboolean")
4516 (define-method find_source_by_id
4517 (of-object "GMainContext")
4518 (c-name "g_main_context_find_source_by_id")
4519 (return-type "GSource*")
4521 '("guint" "source_id")
4525 (define-method find_source_by_user_data
4526 (of-object "GMainContext")
4527 (c-name "g_main_context_find_source_by_user_data")
4528 (return-type "GSource*")
4530 '("gpointer" "user_data")
4534 (define-method find_source_by_funcs_user_data
4535 (of-object "GMainContext")
4536 (c-name "g_main_context_find_source_by_funcs_user_data")
4537 (return-type "GSource*")
4539 '("GSourceFuncs*" "funcs")
4540 '("gpointer" "user_data")
4544 (define-method wakeup
4545 (of-object "GMainContext")
4546 (c-name "g_main_context_wakeup")
4547 (return-type "none")
4550 (define-method acquire
4551 (of-object "GMainContext")
4552 (c-name "g_main_context_acquire")
4553 (return-type "gboolean")
4556 (define-method release
4557 (of-object "GMainContext")
4558 (c-name "g_main_context_release")
4559 (return-type "none")
4562 (define-method is_owner
4563 (of-object "GMainContext")
4564 (c-name "g_main_context_is_owner")
4565 (return-type "gboolean")
4569 (of-object "GMainContext")
4570 (c-name "g_main_context_wait")
4571 (return-type "gboolean")
4574 '("GMutex*" "mutex")
4578 (define-method prepare
4579 (of-object "GMainContext")
4580 (c-name "g_main_context_prepare")
4581 (return-type "gboolean")
4583 '("gint*" "priority")
4587 (define-method query
4588 (of-object "GMainContext")
4589 (c-name "g_main_context_query")
4590 (return-type "gint")
4592 '("gint" "max_priority")
4593 '("gint*" "timeout_")
4599 (define-method check
4600 (of-object "GMainContext")
4601 (c-name "g_main_context_check")
4602 (return-type "gint")
4604 '("gint" "max_priority")
4610 (define-method dispatch
4611 (of-object "GMainContext")
4612 (c-name "g_main_context_dispatch")
4613 (return-type "none")
4616 (define-method set_poll_func
4617 (of-object "GMainContext")
4618 (c-name "g_main_context_set_poll_func")
4619 (return-type "none")
4621 '("GPollFunc" "func")
4625 (define-method get_poll_func
4626 (of-object "GMainContext")
4627 (c-name "g_main_context_get_poll_func")
4628 (return-type "GPollFunc")
4631 (define-method add_poll
4632 (of-object "GMainContext")
4633 (c-name "g_main_context_add_poll")
4634 (return-type "none")
4637 '("gint" "priority")
4641 (define-method remove_poll
4642 (of-object "GMainContext")
4643 (c-name "g_main_context_remove_poll")
4644 (return-type "none")
4650 (define-function g_main_depth
4651 (c-name "g_main_depth")
4652 (return-type "gint")
4655 (define-function g_main_current_source
4656 (c-name "g_main_current_source")
4657 (return-type "GSource*")
4660 (define-function g_main_loop_new
4661 (c-name "g_main_loop_new")
4662 (is-constructor-of "GMainLoop")
4663 (return-type "GMainLoop*")
4665 '("GMainContext*" "context")
4666 '("gboolean" "is_running")
4671 (of-object "GMainLoop")
4672 (c-name "g_main_loop_run")
4673 (return-type "none")
4677 (of-object "GMainLoop")
4678 (c-name "g_main_loop_quit")
4679 (return-type "none")
4683 (of-object "GMainLoop")
4684 (c-name "g_main_loop_ref")
4685 (return-type "GMainLoop*")
4688 (define-method unref
4689 (of-object "GMainLoop")
4690 (c-name "g_main_loop_unref")
4691 (return-type "none")
4694 (define-method is_running
4695 (of-object "GMainLoop")
4696 (c-name "g_main_loop_is_running")
4697 (return-type "gboolean")
4700 (define-method get_context
4701 (of-object "GMainLoop")
4702 (c-name "g_main_loop_get_context")
4703 (return-type "GMainContext*")
4706 (define-function g_source_new
4707 (c-name "g_source_new")
4708 (is-constructor-of "GSource")
4709 (return-type "GSource*")
4711 '("GSourceFuncs*" "source_funcs")
4712 '("guint" "struct_size")
4717 (of-object "GSource")
4718 (c-name "g_source_ref")
4719 (return-type "GSource*")
4722 (define-method unref
4723 (of-object "GSource")
4724 (c-name "g_source_unref")
4725 (return-type "none")
4728 (define-method attach
4729 (of-object "GSource")
4730 (c-name "g_source_attach")
4731 (return-type "guint")
4733 '("GMainContext*" "context")
4737 (define-method destroy
4738 (of-object "GSource")
4739 (c-name "g_source_destroy")
4740 (return-type "none")
4743 (define-method set_priority
4744 (of-object "GSource")
4745 (c-name "g_source_set_priority")
4746 (return-type "none")
4748 '("gint" "priority")
4752 (define-method get_priority
4753 (of-object "GSource")
4754 (c-name "g_source_get_priority")
4755 (return-type "gint")
4758 (define-method set_can_recurse
4759 (of-object "GSource")
4760 (c-name "g_source_set_can_recurse")
4761 (return-type "none")
4763 '("gboolean" "can_recurse")
4767 (define-method get_can_recurse
4768 (of-object "GSource")
4769 (c-name "g_source_get_can_recurse")
4770 (return-type "gboolean")
4773 (define-method get_id
4774 (of-object "GSource")
4775 (c-name "g_source_get_id")
4776 (return-type "guint")
4779 (define-method get_context
4780 (of-object "GSource")
4781 (c-name "g_source_get_context")
4782 (return-type "GMainContext*")
4785 (define-method set_callback
4786 (of-object "GSource")
4787 (c-name "g_source_set_callback")
4788 (return-type "none")
4790 '("GSourceFunc" "func")
4791 '("gpointer" "data")
4792 '("GDestroyNotify" "notify")
4796 (define-method set_funcs
4797 (of-object "GSource")
4798 (c-name "g_source_set_funcs")
4799 (return-type "none")
4801 '("GSourceFuncs*" "funcs")
4805 (define-method is_destroyed
4806 (of-object "GSource")
4807 (c-name "g_source_is_destroyed")
4808 (return-type "gboolean")
4811 (define-method set_callback_indirect
4812 (of-object "GSource")
4813 (c-name "g_source_set_callback_indirect")
4814 (return-type "none")
4816 '("gpointer" "callback_data")
4817 '("GSourceCallbackFuncs*" "callback_funcs")
4821 (define-method add_poll
4822 (of-object "GSource")
4823 (c-name "g_source_add_poll")
4824 (return-type "none")
4830 (define-method remove_poll
4831 (of-object "GSource")
4832 (c-name "g_source_remove_poll")
4833 (return-type "none")
4839 (define-method get_current_time
4840 (of-object "GSource")
4841 (c-name "g_source_get_current_time")
4842 (return-type "none")
4844 '("GTimeVal*" "timeval")
4848 (define-function g_idle_source_new
4849 (c-name "g_idle_source_new")
4850 (is-constructor-of "GIdleSource")
4851 (return-type "GSource*")
4854 (define-function g_child_watch_source_new
4855 (c-name "g_child_watch_source_new")
4856 (is-constructor-of "GChildWatchSource")
4857 (return-type "GSource*")
4863 (define-function g_timeout_source_new
4864 (c-name "g_timeout_source_new")
4865 (is-constructor-of "GTimeoutSource")
4866 (return-type "GSource*")
4868 '("guint" "interval")
4872 (define-function g_timeout_source_new_seconds
4873 (c-name "g_timeout_source_new_seconds")
4874 (return-type "GSource*")
4876 '("guint" "interval")
4880 (define-function g_get_current_time
4881 (c-name "g_get_current_time")
4882 (return-type "none")
4884 '("GTimeVal*" "result")
4888 (define-function g_source_remove
4889 (c-name "g_source_remove")
4890 (return-type "gboolean")
4896 (define-function g_source_remove_by_user_data
4897 (c-name "g_source_remove_by_user_data")
4898 (return-type "gboolean")
4900 '("gpointer" "user_data")
4904 (define-function g_source_remove_by_funcs_user_data
4905 (c-name "g_source_remove_by_funcs_user_data")
4906 (return-type "gboolean")
4908 '("GSourceFuncs*" "funcs")
4909 '("gpointer" "user_data")
4913 (define-function g_timeout_add_full
4914 (c-name "g_timeout_add_full")
4915 (return-type "guint")
4917 '("gint" "priority")
4918 '("guint" "interval")
4919 '("GSourceFunc" "function")
4920 '("gpointer" "data")
4921 '("GDestroyNotify" "notify")
4925 (define-function g_timeout_add
4926 (c-name "g_timeout_add")
4927 (return-type "guint")
4929 '("guint" "interval")
4930 '("GSourceFunc" "function")
4931 '("gpointer" "data")
4935 (define-function g_timeout_add_seconds
4936 (c-name "g_timeout_add_seconds")
4937 (return-type "guint")
4939 '("guint" "interval")
4940 '("GSourceFunc" "function")
4941 '("gpointer" "data")
4945 (define-function g_child_watch_add_full
4946 (c-name "g_child_watch_add_full")
4947 (return-type "guint")
4949 '("gint" "priority")
4951 '("GChildWatchFunc" "function")
4952 '("gpointer" "data")
4953 '("GDestroyNotify" "notify")
4957 (define-function g_child_watch_add
4958 (c-name "g_child_watch_add")
4959 (return-type "guint")
4962 '("GChildWatchFunc" "function")
4963 '("gpointer" "data")
4967 (define-function g_idle_add
4968 (c-name "g_idle_add")
4969 (return-type "guint")
4971 '("GSourceFunc" "function")
4972 '("gpointer" "data")
4976 (define-function g_idle_add_full
4977 (c-name "g_idle_add_full")
4978 (return-type "guint")
4980 '("gint" "priority")
4981 '("GSourceFunc" "function")
4982 '("gpointer" "data")
4983 '("GDestroyNotify" "notify")
4987 (define-function g_idle_remove_by_data
4988 (c-name "g_idle_remove_by_data")
4989 (return-type "gboolean")
4991 '("gpointer" "data")
4997 ;; From gmappedfile.h
4999 (define-function g_mapped_file_new
5000 (c-name "g_mapped_file_new")
5001 (is-constructor-of "GMappedFile")
5002 (return-type "GMappedFile*")
5004 '("const-gchar*" "filename")
5005 '("gboolean" "writable")
5006 '("GError**" "error")
5010 (define-method get_length
5011 (of-object "GMappedFile")
5012 (c-name "g_mapped_file_get_length")
5013 (return-type "gsize")
5016 (define-method get_contents
5017 (of-object "GMappedFile")
5018 (c-name "g_mapped_file_get_contents")
5019 (return-type "gchar*")
5023 (of-object "GMappedFile")
5024 (c-name "g_mapped_file_free")
5025 (return-type "none")
5032 (define-function g_markup_error_quark
5033 (c-name "g_markup_error_quark")
5034 (return-type "GQuark")
5037 (define-function g_markup_parse_context_new
5038 (c-name "g_markup_parse_context_new")
5039 (is-constructor-of "GMarkupParseContext")
5040 (return-type "GMarkupParseContext*")
5042 '("const-GMarkupParser*" "parser")
5043 '("GMarkupParseFlags" "flags")
5044 '("gpointer" "user_data")
5045 '("GDestroyNotify" "user_data_dnotify")
5050 (of-object "GMarkupParseContext")
5051 (c-name "g_markup_parse_context_free")
5052 (return-type "none")
5055 (define-method parse
5056 (of-object "GMarkupParseContext")
5057 (c-name "g_markup_parse_context_parse")
5058 (return-type "gboolean")
5060 '("const-gchar*" "text")
5061 '("gssize" "text_len")
5062 '("GError**" "error")
5066 (define-method end_parse
5067 (of-object "GMarkupParseContext")
5068 (c-name "g_markup_parse_context_end_parse")
5069 (return-type "gboolean")
5071 '("GError**" "error")
5075 (define-method get_element
5076 (of-object "GMarkupParseContext")
5077 (c-name "g_markup_parse_context_get_element")
5078 (return-type "const-gchar*")
5081 (define-method get_position
5082 (of-object "GMarkupParseContext")
5083 (c-name "g_markup_parse_context_get_position")
5084 (return-type "none")
5086 '("gint*" "line_number")
5087 '("gint*" "char_number")
5091 (define-function g_markup_escape_text
5092 (c-name "g_markup_escape_text")
5093 (return-type "gchar*")
5095 '("const-gchar*" "text")
5096 '("gssize" "length")
5100 (define-function g_markup_printf_escaped
5101 (c-name "g_markup_printf_escaped")
5102 (return-type "gchar*")
5104 '("const-char*" "format")
5109 (define-function g_markup_vprintf_escaped
5110 (c-name "g_markup_vprintf_escaped")
5111 (return-type "gchar*")
5113 '("const-char*" "format")
5122 (define-function g_malloc
5124 (return-type "gpointer")
5126 '("gulong" "n_bytes")
5130 (define-function g_malloc0
5131 (c-name "g_malloc0")
5132 (return-type "gpointer")
5134 '("gulong" "n_bytes")
5138 (define-function g_realloc
5139 (c-name "g_realloc")
5140 (return-type "gpointer")
5143 '("gulong" "n_bytes")
5147 (define-function g_free
5149 (return-type "none")
5155 (define-function g_try_malloc
5156 (c-name "g_try_malloc")
5157 (return-type "gpointer")
5159 '("gulong" "n_bytes")
5163 (define-function g_try_malloc0
5164 (c-name "g_try_malloc0")
5165 (return-type "gpointer")
5167 '("gulong" "n_bytes")
5171 (define-function g_try_realloc
5172 (c-name "g_try_realloc")
5173 (return-type "gpointer")
5176 '("gulong" "n_bytes")
5180 (define-function g_mem_set_vtable
5181 (c-name "g_mem_set_vtable")
5182 (return-type "none")
5184 '("GMemVTable*" "vtable")
5188 (define-function g_mem_is_system_malloc
5189 (c-name "g_mem_is_system_malloc")
5190 (return-type "gboolean")
5193 (define-function g_mem_profile
5194 (c-name "g_mem_profile")
5195 (return-type "none")
5198 (define-function g_mem_chunk_new
5199 (c-name "g_mem_chunk_new")
5200 (is-constructor-of "GMemChunk")
5201 (return-type "GMemChunk*")
5203 '("const-gchar*" "name")
5204 '("gint" "atom_size")
5205 '("gulong" "area_size")
5210 (define-method destroy
5211 (of-object "GMemChunk")
5212 (c-name "g_mem_chunk_destroy")
5213 (return-type "none")
5216 (define-method alloc
5217 (of-object "GMemChunk")
5218 (c-name "g_mem_chunk_alloc")
5219 (return-type "gpointer")
5222 (define-method alloc0
5223 (of-object "GMemChunk")
5224 (c-name "g_mem_chunk_alloc0")
5225 (return-type "gpointer")
5229 (of-object "GMemChunk")
5230 (c-name "g_mem_chunk_free")
5231 (return-type "none")
5237 (define-method clean
5238 (of-object "GMemChunk")
5239 (c-name "g_mem_chunk_clean")
5240 (return-type "none")
5243 (define-method reset
5244 (of-object "GMemChunk")
5245 (c-name "g_mem_chunk_reset")
5246 (return-type "none")
5249 (define-method print
5250 (of-object "GMemChunk")
5251 (c-name "g_mem_chunk_print")
5252 (return-type "none")
5255 (define-function g_mem_chunk_info
5256 (c-name "g_mem_chunk_info")
5257 (return-type "none")
5260 (define-function g_blow_chunks
5261 (c-name "g_blow_chunks")
5262 (return-type "none")
5265 (define-function g_allocator_new
5266 (c-name "g_allocator_new")
5267 (is-constructor-of "GAllocator")
5268 (return-type "GAllocator*")
5270 '("const-gchar*" "name")
5271 '("guint" "n_preallocs")
5276 (of-object "GAllocator")
5277 (c-name "g_allocator_free")
5278 (return-type "none")
5285 (define-function g_printf_string_upper_bound
5286 (c-name "g_printf_string_upper_bound")
5287 (return-type "gsize")
5289 '("const-gchar*" "format")
5294 (define-function g_log_set_handler
5295 (c-name "g_log_set_handler")
5296 (return-type "guint")
5298 '("const-gchar*" "log_domain")
5299 '("GLogLevelFlags" "log_levels")
5300 '("GLogFunc" "log_func")
5301 '("gpointer" "user_data")
5305 (define-function g_log_remove_handler
5306 (c-name "g_log_remove_handler")
5307 (return-type "none")
5309 '("const-gchar*" "log_domain")
5310 '("guint" "handler_id")
5314 (define-function g_log_default_handler
5315 (c-name "g_log_default_handler")
5316 (return-type "none")
5318 '("const-gchar*" "log_domain")
5319 '("GLogLevelFlags" "log_level")
5320 '("const-gchar*" "message")
5321 '("gpointer" "unused_data")
5325 (define-function g_log_set_default_handler
5326 (c-name "g_log_set_default_handler")
5327 (return-type "GLogFunc")
5329 '("GLogFunc" "log_func")
5330 '("gpointer" "user_data")
5334 (define-function g_log
5336 (return-type "none")
5338 '("const-gchar*" "log_domain")
5339 '("GLogLevelFlags" "log_level")
5340 '("const-gchar*" "format")
5345 (define-function g_logv
5347 (return-type "none")
5349 '("const-gchar*" "log_domain")
5350 '("GLogLevelFlags" "log_level")
5351 '("const-gchar*" "format")
5356 (define-function g_log_set_fatal_mask
5357 (c-name "g_log_set_fatal_mask")
5358 (return-type "GLogLevelFlags")
5360 '("const-gchar*" "log_domain")
5361 '("GLogLevelFlags" "fatal_mask")
5365 (define-function g_log_set_always_fatal
5366 (c-name "g_log_set_always_fatal")
5367 (return-type "GLogLevelFlags")
5369 '("GLogLevelFlags" "fatal_mask")
5373 (define-function g_return_if_fail_warning
5374 (c-name "g_return_if_fail_warning")
5375 (return-type "none")
5377 '("const-char*" "log_domain")
5378 '("const-char*" "pretty_function")
5379 '("const-char*" "expression")
5383 (define-function g_assert_warning
5384 (c-name "g_assert_warning")
5385 (return-type "none")
5387 '("const-char*" "log_domain")
5388 '("const-char*" "file")
5389 '("const-int" "line")
5390 '("const-char*" "pretty_function")
5391 '("const-char*" "expression")
5395 (define-function g_set_print_handler
5396 (c-name "g_set_print_handler")
5397 (return-type "GPrintFunc")
5399 '("GPrintFunc" "func")
5403 (define-function g_printerr
5404 (c-name "g_printerr")
5405 (return-type "none")
5407 '("const-gchar*" "format")
5412 (define-function g_set_printerr_handler
5413 (c-name "g_set_printerr_handler")
5414 (return-type "GPrintFunc")
5416 '("GPrintFunc" "func")
5422 ;; From gmirroringtable.h
5428 (define-function g_node_new
5429 (c-name "g_node_new")
5430 (is-constructor-of "GNode")
5431 (return-type "GNode*")
5433 '("gpointer" "data")
5437 (define-method destroy
5439 (c-name "g_node_destroy")
5440 (return-type "none")
5443 (define-method unlink
5445 (c-name "g_node_unlink")
5446 (return-type "none")
5449 (define-method copy_deep
5451 (c-name "g_node_copy_deep")
5452 (return-type "GNode*")
5454 '("GCopyFunc" "copy_func")
5455 '("gpointer" "data")
5461 (c-name "g_node_copy")
5462 (return-type "GNode*")
5465 (define-method insert
5467 (c-name "g_node_insert")
5468 (return-type "GNode*")
5470 '("gint" "position")
5475 (define-method insert_before
5477 (c-name "g_node_insert_before")
5478 (return-type "GNode*")
5480 '("GNode*" "sibling")
5485 (define-method insert_after
5487 (c-name "g_node_insert_after")
5488 (return-type "GNode*")
5490 '("GNode*" "sibling")
5495 (define-method prepend
5497 (c-name "g_node_prepend")
5498 (return-type "GNode*")
5504 (define-method n_nodes
5506 (c-name "g_node_n_nodes")
5507 (return-type "guint")
5509 '("GTraverseFlags" "flags")
5513 (define-method get_root
5515 (c-name "g_node_get_root")
5516 (return-type "GNode*")
5519 (define-method is_ancestor
5521 (c-name "g_node_is_ancestor")
5522 (return-type "gboolean")
5524 '("GNode*" "descendant")
5528 (define-method depth
5530 (c-name "g_node_depth")
5531 (return-type "guint")
5536 (c-name "g_node_find")
5537 (return-type "GNode*")
5539 '("GTraverseType" "order")
5540 '("GTraverseFlags" "flags")
5541 '("gpointer" "data")
5545 (define-method traverse
5547 (c-name "g_node_traverse")
5548 (return-type "none")
5550 '("GTraverseType" "order")
5551 '("GTraverseFlags" "flags")
5552 '("gint" "max_depth")
5553 '("GNodeTraverseFunc" "func")
5554 '("gpointer" "data")
5558 (define-method max_height
5560 (c-name "g_node_max_height")
5561 (return-type "guint")
5564 (define-method children_foreach
5566 (c-name "g_node_children_foreach")
5567 (return-type "none")
5569 '("GTraverseFlags" "flags")
5570 '("GNodeForeachFunc" "func")
5571 '("gpointer" "data")
5575 (define-method reverse_children
5577 (c-name "g_node_reverse_children")
5578 (return-type "none")
5581 (define-method n_children
5583 (c-name "g_node_n_children")
5584 (return-type "guint")
5587 (define-method nth_child
5589 (c-name "g_node_nth_child")
5590 (return-type "GNode*")
5596 (define-method last_child
5598 (c-name "g_node_last_child")
5599 (return-type "GNode*")
5602 (define-method find_child
5604 (c-name "g_node_find_child")
5605 (return-type "GNode*")
5607 '("GTraverseFlags" "flags")
5608 '("gpointer" "data")
5612 (define-method child_position
5614 (c-name "g_node_child_position")
5615 (return-type "gint")
5621 (define-method child_index
5623 (c-name "g_node_child_index")
5624 (return-type "gint")
5626 '("gpointer" "data")
5630 (define-method first_sibling
5632 (c-name "g_node_first_sibling")
5633 (return-type "GNode*")
5636 (define-method last_sibling
5638 (c-name "g_node_last_sibling")
5639 (return-type "GNode*")
5642 (define-function g_node_push_allocator
5643 (c-name "g_node_push_allocator")
5644 (return-type "none")
5646 '("gpointer" "dummy")
5650 (define-function g_node_pop_allocator
5651 (c-name "g_node_pop_allocator")
5652 (return-type "none")
5659 (define-function g_option_error_quark
5660 (c-name "g_option_error_quark")
5661 (return-type "GQuark")
5664 (define-function g_option_context_new
5665 (c-name "g_option_context_new")
5666 (is-constructor-of "GOptionContext")
5667 (return-type "GOptionContext*")
5669 '("const-gchar*" "parameter_string")
5673 (define-method set_summary
5674 (of-object "GOptionContext")
5675 (c-name "g_option_context_set_summary")
5676 (return-type "none")
5678 '("const-gchar*" "summary")
5682 (define-method get_summary
5683 (of-object "GOptionContext")
5684 (c-name "g_option_context_get_summary")
5685 (return-type "const-gchar*")
5688 (define-method set_description
5689 (of-object "GOptionContext")
5690 (c-name "g_option_context_set_description")
5691 (return-type "none")
5693 '("const-gchar*" "description")
5697 (define-method get_description
5698 (of-object "GOptionContext")
5699 (c-name "g_option_context_get_description")
5700 (return-type "const-gchar*")
5704 (of-object "GOptionContext")
5705 (c-name "g_option_context_free")
5706 (return-type "none")
5709 (define-method set_help_enabled
5710 (of-object "GOptionContext")
5711 (c-name "g_option_context_set_help_enabled")
5712 (return-type "none")
5714 '("gboolean" "help_enabled")
5718 (define-method get_help_enabled
5719 (of-object "GOptionContext")
5720 (c-name "g_option_context_get_help_enabled")
5721 (return-type "gboolean")
5724 (define-method set_ignore_unknown_options
5725 (of-object "GOptionContext")
5726 (c-name "g_option_context_set_ignore_unknown_options")
5727 (return-type "none")
5729 '("gboolean" "ignore_unknown")
5733 (define-method get_ignore_unknown_options
5734 (of-object "GOptionContext")
5735 (c-name "g_option_context_get_ignore_unknown_options")
5736 (return-type "gboolean")
5739 (define-method add_main_entries
5740 (of-object "GOptionContext")
5741 (c-name "g_option_context_add_main_entries")
5742 (return-type "none")
5744 '("const-GOptionEntry*" "entries")
5745 '("const-gchar*" "translation_domain")
5749 (define-method parse
5750 (of-object "GOptionContext")
5751 (c-name "g_option_context_parse")
5752 (return-type "gboolean")
5755 '("gchar***" "argv")
5756 '("GError**" "error")
5760 (define-method set_translate_func
5761 (of-object "GOptionContext")
5762 (c-name "g_option_context_set_translate_func")
5763 (return-type "none")
5765 '("GTranslateFunc" "func")
5766 '("gpointer" "data")
5767 '("GDestroyNotify" "destroy_notify")
5771 (define-method set_translation_domain
5772 (of-object "GOptionContext")
5773 (c-name "g_option_context_set_translation_domain")
5774 (return-type "none")
5776 '("const-gchar*" "domain")
5780 (define-method add_group
5781 (of-object "GOptionContext")
5782 (c-name "g_option_context_add_group")
5783 (return-type "none")
5785 '("GOptionGroup*" "group")
5789 (define-method set_main_group
5790 (of-object "GOptionContext")
5791 (c-name "g_option_context_set_main_group")
5792 (return-type "none")
5794 '("GOptionGroup*" "group")
5798 (define-method get_main_group
5799 (of-object "GOptionContext")
5800 (c-name "g_option_context_get_main_group")
5801 (return-type "GOptionGroup*")
5804 (define-method get_help
5805 (of-object "GOptionContext")
5806 (c-name "g_option_context_get_help")
5807 (return-type "gchar*")
5809 '("gboolean" "main_help")
5810 '("GOptionGroup*" "group")
5814 (define-function g_option_group_new
5815 (c-name "g_option_group_new")
5816 (is-constructor-of "GOptionGroup")
5817 (return-type "GOptionGroup*")
5819 '("const-gchar*" "name")
5820 '("const-gchar*" "description")
5821 '("const-gchar*" "help_description")
5822 '("gpointer" "user_data")
5823 '("GDestroyNotify" "destroy")
5827 (define-method set_parse_hooks
5828 (of-object "GOptionGroup")
5829 (c-name "g_option_group_set_parse_hooks")
5830 (return-type "none")
5832 '("GOptionParseFunc" "pre_parse_func")
5833 '("GOptionParseFunc" "post_parse_func")
5837 (define-method set_error_hook
5838 (of-object "GOptionGroup")
5839 (c-name "g_option_group_set_error_hook")
5840 (return-type "none")
5842 '("GOptionErrorFunc" "error_func")
5847 (of-object "GOptionGroup")
5848 (c-name "g_option_group_free")
5849 (return-type "none")
5852 (define-method add_entries
5853 (of-object "GOptionGroup")
5854 (c-name "g_option_group_add_entries")
5855 (return-type "none")
5857 '("const-GOptionEntry*" "entries")
5861 (define-method set_translate_func
5862 (of-object "GOptionGroup")
5863 (c-name "g_option_group_set_translate_func")
5864 (return-type "none")
5866 '("GTranslateFunc" "func")
5867 '("gpointer" "data")
5868 '("GDestroyNotify" "destroy_notify")
5872 (define-method set_translation_domain
5873 (of-object "GOptionGroup")
5874 (c-name "g_option_group_set_translation_domain")
5875 (return-type "none")
5877 '("const-gchar*" "domain")
5885 (define-function g_pattern_spec_new
5886 (c-name "g_pattern_spec_new")
5887 (is-constructor-of "GPatternSpec")
5888 (return-type "GPatternSpec*")
5890 '("const-gchar*" "pattern")
5895 (of-object "GPatternSpec")
5896 (c-name "g_pattern_spec_free")
5897 (return-type "none")
5900 (define-method equal
5901 (of-object "GPatternSpec")
5902 (c-name "g_pattern_spec_equal")
5903 (return-type "gboolean")
5905 '("GPatternSpec*" "pspec2")
5909 (define-function g_pattern_match
5910 (c-name "g_pattern_match")
5911 (return-type "gboolean")
5913 '("GPatternSpec*" "pspec")
5914 '("guint" "string_length")
5915 '("const-gchar*" "string")
5916 '("const-gchar*" "string_reversed")
5920 (define-function g_pattern_match_string
5921 (c-name "g_pattern_match_string")
5922 (return-type "gboolean")
5924 '("GPatternSpec*" "pspec")
5925 '("const-gchar*" "string")
5929 (define-function g_pattern_match_simple
5930 (c-name "g_pattern_match_simple")
5931 (return-type "gboolean")
5933 '("const-gchar*" "pattern")
5934 '("const-gchar*" "string")
5942 (define-function g_spaced_primes_closest
5943 (c-name "g_spaced_primes_closest")
5944 (return-type "guint")
5954 (define-function g_printf
5956 (return-type "gint")
5958 '("gchar-const*" "format")
5963 (define-function g_fprintf
5964 (c-name "g_fprintf")
5965 (return-type "gint")
5968 '("gchar-const*" "format")
5973 (define-function g_sprintf
5974 (c-name "g_sprintf")
5975 (return-type "gint")
5977 '("gchar*" "string")
5978 '("gchar-const*" "format")
5983 (define-function g_vprintf
5984 (c-name "g_vprintf")
5985 (return-type "gint")
5987 '("gchar-const*" "format")
5992 (define-function g_vfprintf
5993 (c-name "g_vfprintf")
5994 (return-type "gint")
5997 '("gchar-const*" "format")
6002 (define-function g_vsprintf
6003 (c-name "g_vsprintf")
6004 (return-type "gint")
6006 '("gchar*" "string")
6007 '("gchar-const*" "format")
6012 (define-function g_vasprintf
6013 (c-name "g_vasprintf")
6014 (return-type "gint")
6016 '("gchar**" "string")
6017 '("gchar-const*" "format")
6024 ;; From gprintfint.h
6030 (define-function g_qsort_with_data
6031 (c-name "g_qsort_with_data")
6032 (return-type "none")
6034 '("gconstpointer" "pbase")
6035 '("gint" "total_elems")
6037 '("GCompareDataFunc" "compare_func")
6038 '("gpointer" "user_data")
6046 (define-function g_quark_try_string
6047 (c-name "g_quark_try_string")
6048 (return-type "GQuark")
6050 '("const-gchar*" "string")
6054 (define-function g_quark_from_static_string
6055 (c-name "g_quark_from_static_string")
6056 (return-type "GQuark")
6058 '("const-gchar*" "string")
6062 (define-function g_quark_from_string
6063 (c-name "g_quark_from_string")
6064 (return-type "GQuark")
6066 '("const-gchar*" "string")
6070 (define-method to_string
6071 (of-object "GQuark")
6072 (c-name "g_quark_to_string")
6073 (return-type "const-gchar*")
6076 (define-function g_intern_string
6077 (c-name "g_intern_string")
6078 (return-type "const-gchar*")
6080 '("const-gchar*" "string")
6084 (define-function g_intern_static_string
6085 (c-name "g_intern_static_string")
6086 (return-type "const-gchar*")
6088 '("const-gchar*" "string")
6096 (define-function g_queue_new
6097 (c-name "g_queue_new")
6098 (is-constructor-of "GQueue")
6099 (return-type "GQueue*")
6103 (of-object "GQueue")
6104 (c-name "g_queue_free")
6105 (return-type "none")
6109 (of-object "GQueue")
6110 (c-name "g_queue_init")
6111 (return-type "none")
6114 (define-method clear
6115 (of-object "GQueue")
6116 (c-name "g_queue_clear")
6117 (return-type "none")
6120 (define-method is_empty
6121 (of-object "GQueue")
6122 (c-name "g_queue_is_empty")
6123 (return-type "gboolean")
6126 (define-method get_length
6127 (of-object "GQueue")
6128 (c-name "g_queue_get_length")
6129 (return-type "guint")
6132 (define-method reverse
6133 (of-object "GQueue")
6134 (c-name "g_queue_reverse")
6135 (return-type "none")
6139 (of-object "GQueue")
6140 (c-name "g_queue_copy")
6141 (return-type "GQueue*")
6144 (define-method foreach
6145 (of-object "GQueue")
6146 (c-name "g_queue_foreach")
6147 (return-type "none")
6150 '("gpointer" "user_data")
6155 (of-object "GQueue")
6156 (c-name "g_queue_find")
6157 (return-type "GList*")
6159 '("gconstpointer" "data")
6163 (define-method find_custom
6164 (of-object "GQueue")
6165 (c-name "g_queue_find_custom")
6166 (return-type "GList*")
6168 '("gconstpointer" "data")
6169 '("GCompareFunc" "func")
6174 (of-object "GQueue")
6175 (c-name "g_queue_sort")
6176 (return-type "none")
6178 '("GCompareDataFunc" "compare_func")
6179 '("gpointer" "user_data")
6183 (define-method push_head
6184 (of-object "GQueue")
6185 (c-name "g_queue_push_head")
6186 (return-type "none")
6188 '("gpointer" "data")
6192 (define-method push_tail
6193 (of-object "GQueue")
6194 (c-name "g_queue_push_tail")
6195 (return-type "none")
6197 '("gpointer" "data")
6201 (define-method push_nth
6202 (of-object "GQueue")
6203 (c-name "g_queue_push_nth")
6204 (return-type "none")
6206 '("gpointer" "data")
6211 (define-method pop_head
6212 (of-object "GQueue")
6213 (c-name "g_queue_pop_head")
6214 (return-type "gpointer")
6217 (define-method pop_tail
6218 (of-object "GQueue")
6219 (c-name "g_queue_pop_tail")
6220 (return-type "gpointer")
6223 (define-method pop_nth
6224 (of-object "GQueue")
6225 (c-name "g_queue_pop_nth")
6226 (return-type "gpointer")
6232 (define-method peek_head
6233 (of-object "GQueue")
6234 (c-name "g_queue_peek_head")
6235 (return-type "gpointer")
6238 (define-method peek_tail
6239 (of-object "GQueue")
6240 (c-name "g_queue_peek_tail")
6241 (return-type "gpointer")
6244 (define-method peek_nth
6245 (of-object "GQueue")
6246 (c-name "g_queue_peek_nth")
6247 (return-type "gpointer")
6253 (define-method index
6254 (of-object "GQueue")
6255 (c-name "g_queue_index")
6256 (return-type "gint")
6258 '("gconstpointer" "data")
6262 (define-method remove
6263 (of-object "GQueue")
6264 (c-name "g_queue_remove")
6265 (return-type "none")
6267 '("gconstpointer" "data")
6271 (define-method remove_all
6272 (of-object "GQueue")
6273 (c-name "g_queue_remove_all")
6274 (return-type "none")
6276 '("gconstpointer" "data")
6280 (define-method insert_before
6281 (of-object "GQueue")
6282 (c-name "g_queue_insert_before")
6283 (return-type "none")
6285 '("GList*" "sibling")
6286 '("gpointer" "data")
6290 (define-method insert_after
6291 (of-object "GQueue")
6292 (c-name "g_queue_insert_after")
6293 (return-type "none")
6295 '("GList*" "sibling")
6296 '("gpointer" "data")
6300 (define-method insert_sorted
6301 (of-object "GQueue")
6302 (c-name "g_queue_insert_sorted")
6303 (return-type "none")
6305 '("gpointer" "data")
6306 '("GCompareDataFunc" "func")
6307 '("gpointer" "user_data")
6311 (define-method push_head_link
6312 (of-object "GQueue")
6313 (c-name "g_queue_push_head_link")
6314 (return-type "none")
6320 (define-method push_tail_link
6321 (of-object "GQueue")
6322 (c-name "g_queue_push_tail_link")
6323 (return-type "none")
6329 (define-method push_nth_link
6330 (of-object "GQueue")
6331 (c-name "g_queue_push_nth_link")
6332 (return-type "none")
6339 (define-method pop_head_link
6340 (of-object "GQueue")
6341 (c-name "g_queue_pop_head_link")
6342 (return-type "GList*")
6345 (define-method pop_tail_link
6346 (of-object "GQueue")
6347 (c-name "g_queue_pop_tail_link")
6348 (return-type "GList*")
6351 (define-method pop_nth_link
6352 (of-object "GQueue")
6353 (c-name "g_queue_pop_nth_link")
6354 (return-type "GList*")
6360 (define-method peek_head_link
6361 (of-object "GQueue")
6362 (c-name "g_queue_peek_head_link")
6363 (return-type "GList*")
6366 (define-method peek_tail_link
6367 (of-object "GQueue")
6368 (c-name "g_queue_peek_tail_link")
6369 (return-type "GList*")
6372 (define-method peek_nth_link
6373 (of-object "GQueue")
6374 (c-name "g_queue_peek_nth_link")
6375 (return-type "GList*")
6381 (define-method link_index
6382 (of-object "GQueue")
6383 (c-name "g_queue_link_index")
6384 (return-type "gint")
6390 (define-method unlink
6391 (of-object "GQueue")
6392 (c-name "g_queue_unlink")
6393 (return-type "none")
6399 (define-method delete_link
6400 (of-object "GQueue")
6401 (c-name "g_queue_delete_link")
6402 (return-type "none")
6412 (define-function g_rand_new_with_seed
6413 (c-name "g_rand_new_with_seed")
6414 (return-type "GRand*")
6420 (define-function g_rand_new_with_seed_array
6421 (c-name "g_rand_new_with_seed_array")
6422 (return-type "GRand*")
6424 '("const-guint32*" "seed")
6425 '("guint" "seed_length")
6429 (define-function g_rand_new
6430 (c-name "g_rand_new")
6431 (is-constructor-of "GRand")
6432 (return-type "GRand*")
6437 (c-name "g_rand_free")
6438 (return-type "none")
6443 (c-name "g_rand_copy")
6444 (return-type "GRand*")
6447 (define-method set_seed
6449 (c-name "g_rand_set_seed")
6450 (return-type "none")
6456 (define-method set_seed_array
6458 (c-name "g_rand_set_seed_array")
6459 (return-type "none")
6461 '("const-guint32*" "seed")
6462 '("guint" "seed_length")
6468 (c-name "g_rand_int")
6469 (return-type "guint32")
6472 (define-method int_range
6474 (c-name "g_rand_int_range")
6475 (return-type "gint32")
6482 (define-method double
6484 (c-name "g_rand_double")
6485 (return-type "gdouble")
6488 (define-method double_range
6490 (c-name "g_rand_double_range")
6491 (return-type "gdouble")
6493 '("gdouble" "begin")
6498 (define-function g_random_set_seed
6499 (c-name "g_random_set_seed")
6500 (return-type "none")
6506 (define-function g_random_int
6507 (c-name "g_random_int")
6508 (return-type "guint32")
6511 (define-function g_random_int_range
6512 (c-name "g_random_int_range")
6513 (return-type "gint32")
6520 (define-function g_random_double
6521 (c-name "g_random_double")
6522 (return-type "gdouble")
6525 (define-function g_random_double_range
6526 (c-name "g_random_double_range")
6527 (return-type "gdouble")
6529 '("gdouble" "begin")
6538 (define-function g_regex_error_quark
6539 (c-name "g_regex_error_quark")
6540 (return-type "GQuark")
6543 (define-function g_regex_new
6544 (c-name "g_regex_new")
6545 (is-constructor-of "GRegex")
6546 (return-type "GRegex*")
6548 '("const-gchar*" "pattern")
6549 '("GRegexCompileFlags" "compile_options")
6550 '("GRegexMatchFlags" "match_options")
6551 '("GError**" "error")
6556 (of-object "GRegex")
6557 (c-name "g_regex_ref")
6558 (return-type "GRegex*")
6561 (define-method unref
6562 (of-object "GRegex")
6563 (c-name "g_regex_unref")
6564 (return-type "none")
6567 (define-method get_pattern
6568 (of-object "GRegex")
6569 (c-name "g_regex_get_pattern")
6570 (return-type "const-gchar*")
6573 (define-method get_max_backref
6574 (of-object "GRegex")
6575 (c-name "g_regex_get_max_backref")
6576 (return-type "gint")
6579 (define-method get_capture_count
6580 (of-object "GRegex")
6581 (c-name "g_regex_get_capture_count")
6582 (return-type "gint")
6585 (define-method get_string_number
6586 (of-object "GRegex")
6587 (c-name "g_regex_get_string_number")
6588 (return-type "gint")
6590 '("const-gchar*" "name")
6594 (define-function g_regex_escape_string
6595 (c-name "g_regex_escape_string")
6596 (return-type "gchar*")
6598 '("const-gchar*" "string")
6603 (define-function g_regex_match_simple
6604 (c-name "g_regex_match_simple")
6605 (return-type "gboolean")
6607 '("const-gchar*" "pattern")
6608 '("const-gchar*" "string")
6609 '("GRegexCompileFlags" "compile_options")
6610 '("GRegexMatchFlags" "match_options")
6614 (define-method match
6615 (of-object "GRegex")
6616 (c-name "g_regex_match")
6617 (return-type "gboolean")
6619 '("const-gchar*" "string")
6620 '("GRegexMatchFlags" "match_options")
6621 '("GMatchInfo**" "match_info")
6625 (define-method match_full
6626 (of-object "GRegex")
6627 (c-name "g_regex_match_full")
6628 (return-type "gboolean")
6630 '("const-gchar*" "string")
6631 '("gssize" "string_len")
6632 '("gint" "start_position")
6633 '("GRegexMatchFlags" "match_options")
6634 '("GMatchInfo**" "match_info")
6635 '("GError**" "error")
6639 (define-method match_all
6640 (of-object "GRegex")
6641 (c-name "g_regex_match_all")
6642 (return-type "gboolean")
6644 '("const-gchar*" "string")
6645 '("GRegexMatchFlags" "match_options")
6646 '("GMatchInfo**" "match_info")
6650 (define-method match_all_full
6651 (of-object "GRegex")
6652 (c-name "g_regex_match_all_full")
6653 (return-type "gboolean")
6655 '("const-gchar*" "string")
6656 '("gssize" "string_len")
6657 '("gint" "start_position")
6658 '("GRegexMatchFlags" "match_options")
6659 '("GMatchInfo**" "match_info")
6660 '("GError**" "error")
6664 (define-function g_regex_split_simple
6665 (c-name "g_regex_split_simple")
6666 (return-type "gchar**")
6668 '("const-gchar*" "pattern")
6669 '("const-gchar*" "string")
6670 '("GRegexCompileFlags" "compile_options")
6671 '("GRegexMatchFlags" "match_options")
6675 (define-method split
6676 (of-object "GRegex")
6677 (c-name "g_regex_split")
6678 (return-type "gchar**")
6680 '("const-gchar*" "string")
6681 '("GRegexMatchFlags" "match_options")
6685 (define-method split_full
6686 (of-object "GRegex")
6687 (c-name "g_regex_split_full")
6688 (return-type "gchar**")
6690 '("const-gchar*" "string")
6691 '("gssize" "string_len")
6692 '("gint" "start_position")
6693 '("GRegexMatchFlags" "match_options")
6694 '("gint" "max_tokens")
6695 '("GError**" "error")
6699 (define-method replace
6700 (of-object "GRegex")
6701 (c-name "g_regex_replace")
6702 (return-type "gchar*")
6704 '("const-gchar*" "string")
6705 '("gssize" "string_len")
6706 '("gint" "start_position")
6707 '("const-gchar*" "replacement")
6708 '("GRegexMatchFlags" "match_options")
6709 '("GError**" "error")
6713 (define-method replace_literal
6714 (of-object "GRegex")
6715 (c-name "g_regex_replace_literal")
6716 (return-type "gchar*")
6718 '("const-gchar*" "string")
6719 '("gssize" "string_len")
6720 '("gint" "start_position")
6721 '("const-gchar*" "replacement")
6722 '("GRegexMatchFlags" "match_options")
6723 '("GError**" "error")
6727 (define-method replace_eval
6728 (of-object "GRegex")
6729 (c-name "g_regex_replace_eval")
6730 (return-type "gchar*")
6732 '("const-gchar*" "string")
6733 '("gssize" "string_len")
6734 '("gint" "start_position")
6735 '("GRegexMatchFlags" "match_options")
6736 '("GRegexEvalCallback" "eval")
6737 '("gpointer" "user_data")
6738 '("GError**" "error")
6742 (define-function g_regex_check_replacement
6743 (c-name "g_regex_check_replacement")
6744 (return-type "gboolean")
6746 '("const-gchar*" "replacement")
6747 '("gboolean*" "has_references")
6748 '("GError**" "error")
6752 (define-method get_regex
6753 (of-object "GMatchInfo")
6754 (c-name "g_match_info_get_regex")
6755 (return-type "GRegex*")
6758 (define-method get_string
6759 (of-object "GMatchInfo")
6760 (c-name "g_match_info_get_string")
6761 (return-type "const-gchar*")
6765 (of-object "GMatchInfo")
6766 (c-name "g_match_info_free")
6767 (return-type "none")
6771 (of-object "GMatchInfo")
6772 (c-name "g_match_info_next")
6773 (return-type "gboolean")
6775 '("GError**" "error")
6779 (define-method matches
6780 (of-object "GMatchInfo")
6781 (c-name "g_match_info_matches")
6782 (return-type "gboolean")
6785 (define-method get_match_count
6786 (of-object "GMatchInfo")
6787 (c-name "g_match_info_get_match_count")
6788 (return-type "gint")
6791 (define-method is_partial_match
6792 (of-object "GMatchInfo")
6793 (c-name "g_match_info_is_partial_match")
6794 (return-type "gboolean")
6797 (define-method expand_references
6798 (of-object "GMatchInfo")
6799 (c-name "g_match_info_expand_references")
6800 (return-type "gchar*")
6802 '("const-gchar*" "string_to_expand")
6803 '("GError**" "error")
6807 (define-method fetch
6808 (of-object "GMatchInfo")
6809 (c-name "g_match_info_fetch")
6810 (return-type "gchar*")
6812 '("gint" "match_num")
6816 (define-method fetch_pos
6817 (of-object "GMatchInfo")
6818 (c-name "g_match_info_fetch_pos")
6819 (return-type "gboolean")
6821 '("gint" "match_num")
6822 '("gint*" "start_pos")
6823 '("gint*" "end_pos")
6827 (define-method fetch_named
6828 (of-object "GMatchInfo")
6829 (c-name "g_match_info_fetch_named")
6830 (return-type "gchar*")
6832 '("const-gchar*" "name")
6836 (define-method fetch_named_pos
6837 (of-object "GMatchInfo")
6838 (c-name "g_match_info_fetch_named_pos")
6839 (return-type "gboolean")
6841 '("const-gchar*" "name")
6842 '("gint*" "start_pos")
6843 '("gint*" "end_pos")
6847 (define-method fetch_all
6848 (of-object "GMatchInfo")
6849 (c-name "g_match_info_fetch_all")
6850 (return-type "gchar**")
6857 (define-function g_relation_new
6858 (c-name "g_relation_new")
6859 (is-constructor-of "GRelation")
6860 (return-type "GRelation*")
6866 (define-method destroy
6867 (of-object "GRelation")
6868 (c-name "g_relation_destroy")
6869 (return-type "none")
6872 (define-method index
6873 (of-object "GRelation")
6874 (c-name "g_relation_index")
6875 (return-type "none")
6878 '("GHashFunc" "hash_func")
6879 '("GEqualFunc" "key_equal_func")
6883 (define-method insert
6884 (of-object "GRelation")
6885 (c-name "g_relation_insert")
6886 (return-type "none")
6892 (define-method delete
6893 (of-object "GRelation")
6894 (c-name "g_relation_delete")
6895 (return-type "gint")
6897 '("gconstpointer" "key")
6902 (define-method select
6903 (of-object "GRelation")
6904 (c-name "g_relation_select")
6905 (return-type "GTuples*")
6907 '("gconstpointer" "key")
6912 (define-method count
6913 (of-object "GRelation")
6914 (c-name "g_relation_count")
6915 (return-type "gint")
6917 '("gconstpointer" "key")
6922 (define-method exists
6923 (of-object "GRelation")
6924 (c-name "g_relation_exists")
6925 (return-type "gboolean")
6931 (define-method print
6932 (of-object "GRelation")
6933 (c-name "g_relation_print")
6934 (return-type "none")
6937 (define-method destroy
6938 (of-object "GTuples")
6939 (c-name "g_tuples_destroy")
6940 (return-type "none")
6943 (define-method index
6944 (of-object "GTuples")
6945 (c-name "g_tuples_index")
6946 (return-type "gpointer")
6957 (define-function g_scanner_new
6958 (c-name "g_scanner_new")
6959 (is-constructor-of "GScanner")
6960 (return-type "GScanner*")
6962 '("const-GScannerConfig*" "config_templ")
6966 (define-method destroy
6967 (of-object "GScanner")
6968 (c-name "g_scanner_destroy")
6969 (return-type "none")
6972 (define-method input_file
6973 (of-object "GScanner")
6974 (c-name "g_scanner_input_file")
6975 (return-type "none")
6977 '("gint" "input_fd")
6981 (define-method sync_file_offset
6982 (of-object "GScanner")
6983 (c-name "g_scanner_sync_file_offset")
6984 (return-type "none")
6987 (define-method input_text
6988 (of-object "GScanner")
6989 (c-name "g_scanner_input_text")
6990 (return-type "none")
6992 '("const-gchar*" "text")
6993 '("guint" "text_len")
6997 (define-method get_next_token
6998 (of-object "GScanner")
6999 (c-name "g_scanner_get_next_token")
7000 (return-type "GTokenType")
7003 (define-method peek_next_token
7004 (of-object "GScanner")
7005 (c-name "g_scanner_peek_next_token")
7006 (return-type "GTokenType")
7009 (define-method cur_token
7010 (of-object "GScanner")
7011 (c-name "g_scanner_cur_token")
7012 (return-type "GTokenType")
7015 (define-method cur_value
7016 (of-object "GScanner")
7017 (c-name "g_scanner_cur_value")
7018 (return-type "GTokenValue")
7021 (define-method cur_line
7022 (of-object "GScanner")
7023 (c-name "g_scanner_cur_line")
7024 (return-type "guint")
7027 (define-method cur_position
7028 (of-object "GScanner")
7029 (c-name "g_scanner_cur_position")
7030 (return-type "guint")
7034 (of-object "GScanner")
7035 (c-name "g_scanner_eof")
7036 (return-type "gboolean")
7039 (define-method set_scope
7040 (of-object "GScanner")
7041 (c-name "g_scanner_set_scope")
7042 (return-type "guint")
7044 '("guint" "scope_id")
7048 (define-method scope_add_symbol
7049 (of-object "GScanner")
7050 (c-name "g_scanner_scope_add_symbol")
7051 (return-type "none")
7053 '("guint" "scope_id")
7054 '("const-gchar*" "symbol")
7055 '("gpointer" "value")
7059 (define-method scope_remove_symbol
7060 (of-object "GScanner")
7061 (c-name "g_scanner_scope_remove_symbol")
7062 (return-type "none")
7064 '("guint" "scope_id")
7065 '("const-gchar*" "symbol")
7069 (define-method scope_lookup_symbol
7070 (of-object "GScanner")
7071 (c-name "g_scanner_scope_lookup_symbol")
7072 (return-type "gpointer")
7074 '("guint" "scope_id")
7075 '("const-gchar*" "symbol")
7079 (define-method scope_foreach_symbol
7080 (of-object "GScanner")
7081 (c-name "g_scanner_scope_foreach_symbol")
7082 (return-type "none")
7084 '("guint" "scope_id")
7086 '("gpointer" "user_data")
7090 (define-method lookup_symbol
7091 (of-object "GScanner")
7092 (c-name "g_scanner_lookup_symbol")
7093 (return-type "gpointer")
7095 '("const-gchar*" "symbol")
7099 (define-method unexp_token
7100 (of-object "GScanner")
7101 (c-name "g_scanner_unexp_token")
7102 (return-type "none")
7104 '("GTokenType" "expected_token")
7105 '("const-gchar*" "identifier_spec")
7106 '("const-gchar*" "symbol_spec")
7107 '("const-gchar*" "symbol_name")
7108 '("const-gchar*" "message")
7109 '("gint" "is_error")
7113 (define-method error
7114 (of-object "GScanner")
7115 (c-name "g_scanner_error")
7116 (return-type "none")
7118 '("const-gchar*" "format")
7124 (of-object "GScanner")
7125 (c-name "g_scanner_warn")
7126 (return-type "none")
7128 '("const-gchar*" "format")
7135 ;; From gscripttable.h
7141 (define-function g_sequence_new
7142 (c-name "g_sequence_new")
7143 (is-constructor-of "GSequence")
7144 (return-type "GSequence*")
7146 '("GDestroyNotify" "data_destroy")
7151 (of-object "GSequence")
7152 (c-name "g_sequence_free")
7153 (return-type "none")
7156 (define-method get_length
7157 (of-object "GSequence")
7158 (c-name "g_sequence_get_length")
7159 (return-type "gint")
7162 (define-method foreach
7163 (of-object "GSequence")
7164 (c-name "g_sequence_foreach")
7165 (return-type "none")
7168 '("gpointer" "user_data")
7172 (define-function g_sequence_foreach_range
7173 (c-name "g_sequence_foreach_range")
7174 (return-type "none")
7176 '("GSequenceIter*" "begin")
7177 '("GSequenceIter*" "end")
7179 '("gpointer" "user_data")
7184 (of-object "GSequence")
7185 (c-name "g_sequence_sort")
7186 (return-type "none")
7188 '("GCompareDataFunc" "cmp_func")
7189 '("gpointer" "cmp_data")
7193 (define-method sort_iter
7194 (of-object "GSequence")
7195 (c-name "g_sequence_sort_iter")
7196 (return-type "none")
7198 '("GSequenceIterCompareFunc" "cmp_func")
7199 '("gpointer" "cmp_data")
7203 (define-method get_begin_iter
7204 (of-object "GSequence")
7205 (c-name "g_sequence_get_begin_iter")
7206 (return-type "GSequenceIter*")
7209 (define-method get_end_iter
7210 (of-object "GSequence")
7211 (c-name "g_sequence_get_end_iter")
7212 (return-type "GSequenceIter*")
7215 (define-method get_iter_at_pos
7216 (of-object "GSequence")
7217 (c-name "g_sequence_get_iter_at_pos")
7218 (return-type "GSequenceIter*")
7224 (define-method append
7225 (of-object "GSequence")
7226 (c-name "g_sequence_append")
7227 (return-type "GSequenceIter*")
7229 '("gpointer" "data")
7233 (define-method prepend
7234 (of-object "GSequence")
7235 (c-name "g_sequence_prepend")
7236 (return-type "GSequenceIter*")
7238 '("gpointer" "data")
7242 (define-function g_sequence_insert_before
7243 (c-name "g_sequence_insert_before")
7244 (return-type "GSequenceIter*")
7246 '("GSequenceIter*" "iter")
7247 '("gpointer" "data")
7251 (define-function g_sequence_move
7252 (c-name "g_sequence_move")
7253 (return-type "none")
7255 '("GSequenceIter*" "src")
7256 '("GSequenceIter*" "dest")
7260 (define-function g_sequence_swap
7261 (c-name "g_sequence_swap")
7262 (return-type "none")
7264 '("GSequenceIter*" "a")
7265 '("GSequenceIter*" "b")
7269 (define-method insert_sorted
7270 (of-object "GSequence")
7271 (c-name "g_sequence_insert_sorted")
7272 (return-type "GSequenceIter*")
7274 '("gpointer" "data")
7275 '("GCompareDataFunc" "cmp_func")
7276 '("gpointer" "cmp_data")
7280 (define-method insert_sorted_iter
7281 (of-object "GSequence")
7282 (c-name "g_sequence_insert_sorted_iter")
7283 (return-type "GSequenceIter*")
7285 '("gpointer" "data")
7286 '("GSequenceIterCompareFunc" "iter_cmp")
7287 '("gpointer" "cmp_data")
7291 (define-function g_sequence_sort_changed
7292 (c-name "g_sequence_sort_changed")
7293 (return-type "none")
7295 '("GSequenceIter*" "iter")
7296 '("GCompareDataFunc" "cmp_func")
7297 '("gpointer" "cmp_data")
7301 (define-function g_sequence_sort_changed_iter
7302 (c-name "g_sequence_sort_changed_iter")
7303 (return-type "none")
7305 '("GSequenceIter*" "iter")
7306 '("GSequenceIterCompareFunc" "iter_cmp")
7307 '("gpointer" "cmp_data")
7311 (define-function g_sequence_remove
7312 (c-name "g_sequence_remove")
7313 (return-type "none")
7315 '("GSequenceIter*" "iter")
7319 (define-function g_sequence_remove_range
7320 (c-name "g_sequence_remove_range")
7321 (return-type "none")
7323 '("GSequenceIter*" "begin")
7324 '("GSequenceIter*" "end")
7328 (define-function g_sequence_move_range
7329 (c-name "g_sequence_move_range")
7330 (return-type "none")
7332 '("GSequenceIter*" "dest")
7333 '("GSequenceIter*" "begin")
7334 '("GSequenceIter*" "end")
7338 (define-method search
7339 (of-object "GSequence")
7340 (c-name "g_sequence_search")
7341 (return-type "GSequenceIter*")
7343 '("gpointer" "data")
7344 '("GCompareDataFunc" "cmp_func")
7345 '("gpointer" "cmp_data")
7349 (define-method search_iter
7350 (of-object "GSequence")
7351 (c-name "g_sequence_search_iter")
7352 (return-type "GSequenceIter*")
7354 '("gpointer" "data")
7355 '("GSequenceIterCompareFunc" "iter_cmp")
7356 '("gpointer" "cmp_data")
7360 (define-function g_sequence_get
7361 (c-name "g_sequence_get")
7362 (return-type "gpointer")
7364 '("GSequenceIter*" "iter")
7368 (define-function g_sequence_set
7369 (c-name "g_sequence_set")
7370 (return-type "none")
7372 '("GSequenceIter*" "iter")
7373 '("gpointer" "data")
7377 (define-method is_begin
7378 (of-object "GSequenceIter")
7379 (c-name "g_sequence_iter_is_begin")
7380 (return-type "gboolean")
7383 (define-method is_end
7384 (of-object "GSequenceIter")
7385 (c-name "g_sequence_iter_is_end")
7386 (return-type "gboolean")
7390 (of-object "GSequenceIter")
7391 (c-name "g_sequence_iter_next")
7392 (return-type "GSequenceIter*")
7396 (of-object "GSequenceIter")
7397 (c-name "g_sequence_iter_prev")
7398 (return-type "GSequenceIter*")
7401 (define-method get_position
7402 (of-object "GSequenceIter")
7403 (c-name "g_sequence_iter_get_position")
7404 (return-type "gint")
7408 (of-object "GSequenceIter")
7409 (c-name "g_sequence_iter_move")
7410 (return-type "GSequenceIter*")
7416 (define-method get_sequence
7417 (of-object "GSequenceIter")
7418 (c-name "g_sequence_iter_get_sequence")
7419 (return-type "GSequence*")
7422 (define-method compare
7423 (of-object "GSequenceIter")
7424 (c-name "g_sequence_iter_compare")
7425 (return-type "gint")
7427 '("GSequenceIter*" "b")
7431 (define-function g_sequence_range_get_midpoint
7432 (c-name "g_sequence_range_get_midpoint")
7433 (return-type "GSequenceIter*")
7435 '("GSequenceIter*" "begin")
7436 '("GSequenceIter*" "end")
7444 (define-function g_shell_error_quark
7445 (c-name "g_shell_error_quark")
7446 (return-type "GQuark")
7449 (define-function g_shell_quote
7450 (c-name "g_shell_quote")
7451 (return-type "gchar*")
7453 '("const-gchar*" "unquoted_string")
7457 (define-function g_shell_unquote
7458 (c-name "g_shell_unquote")
7459 (return-type "gchar*")
7461 '("const-gchar*" "quoted_string")
7462 '("GError**" "error")
7466 (define-function g_shell_parse_argv
7467 (c-name "g_shell_parse_argv")
7468 (return-type "gboolean")
7470 '("const-gchar*" "command_line")
7472 '("gchar***" "argvp")
7473 '("GError**" "error")
7481 (define-function g_slice_alloc
7482 (c-name "g_slice_alloc")
7483 (return-type "gpointer")
7485 '("gsize" "block_size")
7489 (define-function g_slice_alloc0
7490 (c-name "g_slice_alloc0")
7491 (return-type "gpointer")
7493 '("gsize" "block_size")
7497 (define-function g_slice_free1
7498 (c-name "g_slice_free1")
7499 (return-type "none")
7501 '("gsize" "block_size")
7502 '("gpointer" "mem_block")
7506 (define-function g_slice_free_chain_with_offset
7507 (c-name "g_slice_free_chain_with_offset")
7508 (return-type "none")
7510 '("gsize" "block_size")
7511 '("gpointer" "mem_chain")
7512 '("gsize" "next_offset")
7516 (define-function g_slice_set_config
7517 (c-name "g_slice_set_config")
7518 (return-type "none")
7520 '("GSliceConfig" "ckey")
7525 (define-function g_slice_get_config
7526 (c-name "g_slice_get_config")
7527 (return-type "gint64")
7529 '("GSliceConfig" "ckey")
7533 (define-function g_slice_get_config_state
7534 (c-name "g_slice_get_config_state")
7535 (return-type "gint64*")
7537 '("GSliceConfig" "ckey")
7538 '("gint64" "address")
7539 '("guint*" "n_values")
7547 (define-function g_slist_alloc
7548 (c-name "g_slist_alloc")
7549 (return-type "GSList*")
7553 (of-object "GSList")
7554 (c-name "g_slist_free")
7555 (return-type "none")
7558 (define-method free_1
7559 (of-object "GSList")
7560 (c-name "g_slist_free_1")
7561 (return-type "none")
7564 (define-method append
7565 (of-object "GSList")
7566 (c-name "g_slist_append")
7567 (return-type "GSList*")
7569 '("gpointer" "data")
7573 (define-method prepend
7574 (of-object "GSList")
7575 (c-name "g_slist_prepend")
7576 (return-type "GSList*")
7578 '("gpointer" "data")
7582 (define-method insert
7583 (of-object "GSList")
7584 (c-name "g_slist_insert")
7585 (return-type "GSList*")
7587 '("gpointer" "data")
7588 '("gint" "position")
7592 (define-method insert_sorted
7593 (of-object "GSList")
7594 (c-name "g_slist_insert_sorted")
7595 (return-type "GSList*")
7597 '("gpointer" "data")
7598 '("GCompareFunc" "func")
7602 (define-method insert_sorted_with_data
7603 (of-object "GSList")
7604 (c-name "g_slist_insert_sorted_with_data")
7605 (return-type "GSList*")
7607 '("gpointer" "data")
7608 '("GCompareDataFunc" "func")
7609 '("gpointer" "user_data")
7613 (define-method insert_before
7614 (of-object "GSList")
7615 (c-name "g_slist_insert_before")
7616 (return-type "GSList*")
7618 '("GSList*" "sibling")
7619 '("gpointer" "data")
7623 (define-method concat
7624 (of-object "GSList")
7625 (c-name "g_slist_concat")
7626 (return-type "GSList*")
7628 '("GSList*" "list2")
7632 (define-method remove
7633 (of-object "GSList")
7634 (c-name "g_slist_remove")
7635 (return-type "GSList*")
7637 '("gconstpointer" "data")
7641 (define-method remove_all
7642 (of-object "GSList")
7643 (c-name "g_slist_remove_all")
7644 (return-type "GSList*")
7646 '("gconstpointer" "data")
7650 (define-method remove_link
7651 (of-object "GSList")
7652 (c-name "g_slist_remove_link")
7653 (return-type "GSList*")
7655 '("GSList*" "link_")
7659 (define-method delete_link
7660 (of-object "GSList")
7661 (c-name "g_slist_delete_link")
7662 (return-type "GSList*")
7664 '("GSList*" "link_")
7668 (define-method reverse
7669 (of-object "GSList")
7670 (c-name "g_slist_reverse")
7671 (return-type "GSList*")
7675 (of-object "GSList")
7676 (c-name "g_slist_copy")
7677 (return-type "GSList*")
7681 (of-object "GSList")
7682 (c-name "g_slist_nth")
7683 (return-type "GSList*")
7690 (of-object "GSList")
7691 (c-name "g_slist_find")
7692 (return-type "GSList*")
7694 '("gconstpointer" "data")
7698 (define-method find_custom
7699 (of-object "GSList")
7700 (c-name "g_slist_find_custom")
7701 (return-type "GSList*")
7703 '("gconstpointer" "data")
7704 '("GCompareFunc" "func")
7708 (define-method position
7709 (of-object "GSList")
7710 (c-name "g_slist_position")
7711 (return-type "gint")
7713 '("GSList*" "llink")
7717 (define-method index
7718 (of-object "GSList")
7719 (c-name "g_slist_index")
7720 (return-type "gint")
7722 '("gconstpointer" "data")
7727 (of-object "GSList")
7728 (c-name "g_slist_last")
7729 (return-type "GSList*")
7732 (define-method length
7733 (of-object "GSList")
7734 (c-name "g_slist_length")
7735 (return-type "guint")
7738 (define-method foreach
7739 (of-object "GSList")
7740 (c-name "g_slist_foreach")
7741 (return-type "none")
7744 '("gpointer" "user_data")
7749 (of-object "GSList")
7750 (c-name "g_slist_sort")
7751 (return-type "GSList*")
7753 '("GCompareFunc" "compare_func")
7757 (define-method sort_with_data
7758 (of-object "GSList")
7759 (c-name "g_slist_sort_with_data")
7760 (return-type "GSList*")
7762 '("GCompareDataFunc" "compare_func")
7763 '("gpointer" "user_data")
7767 (define-method nth_data
7768 (of-object "GSList")
7769 (c-name "g_slist_nth_data")
7770 (return-type "gpointer")
7776 (define-function g_slist_push_allocator
7777 (c-name "g_slist_push_allocator")
7778 (return-type "none")
7780 '("gpointer" "dummy")
7784 (define-function g_slist_pop_allocator
7785 (c-name "g_slist_pop_allocator")
7786 (return-type "none")
7793 (define-function g_spawn_error_quark
7794 (c-name "g_spawn_error_quark")
7795 (return-type "GQuark")
7798 (define-function g_spawn_async
7799 (c-name "g_spawn_async")
7800 (return-type "gboolean")
7802 '("const-gchar*" "working_directory")
7805 '("GSpawnFlags" "flags")
7806 '("GSpawnChildSetupFunc" "child_setup")
7807 '("gpointer" "user_data")
7808 '("GPid*" "child_pid")
7809 '("GError**" "error")
7813 (define-function g_spawn_async_with_pipes
7814 (c-name "g_spawn_async_with_pipes")
7815 (return-type "gboolean")
7817 '("const-gchar*" "working_directory")
7820 '("GSpawnFlags" "flags")
7821 '("GSpawnChildSetupFunc" "child_setup")
7822 '("gpointer" "user_data")
7823 '("GPid*" "child_pid")
7824 '("gint*" "standard_input")
7825 '("gint*" "standard_output")
7826 '("gint*" "standard_error")
7827 '("GError**" "error")
7831 (define-function g_spawn_sync
7832 (c-name "g_spawn_sync")
7833 (return-type "gboolean")
7835 '("const-gchar*" "working_directory")
7838 '("GSpawnFlags" "flags")
7839 '("GSpawnChildSetupFunc" "child_setup")
7840 '("gpointer" "user_data")
7841 '("gchar**" "standard_output")
7842 '("gchar**" "standard_error")
7843 '("gint*" "exit_status")
7844 '("GError**" "error")
7848 (define-function g_spawn_command_line_sync
7849 (c-name "g_spawn_command_line_sync")
7850 (return-type "gboolean")
7852 '("const-gchar*" "command_line")
7853 '("gchar**" "standard_output")
7854 '("gchar**" "standard_error")
7855 '("gint*" "exit_status")
7856 '("GError**" "error")
7860 (define-function g_spawn_command_line_async
7861 (c-name "g_spawn_command_line_async")
7862 (return-type "gboolean")
7864 '("const-gchar*" "command_line")
7865 '("GError**" "error")
7869 (define-function g_spawn_close_pid
7870 (c-name "g_spawn_close_pid")
7871 (return-type "none")
7881 (define-function g_access
7885 '("const-gchar*" "filename")
7890 (define-function g_chdir
7894 '("const-gchar*" "path")
7898 (define-function g_unlink
7902 '("const-gchar*" "filename")
7906 (define-function g_rmdir
7910 '("const-gchar*" "filename")
7914 (define-function g_access
7918 '("const-gchar*" "filename")
7923 (define-function g_chmod
7927 '("const-gchar*" "filename")
7932 (define-function g_open
7936 '("const-gchar*" "filename")
7942 (define-function g_creat
7946 '("const-gchar*" "filename")
7951 (define-function g_rename
7955 '("const-gchar*" "oldfilename")
7956 '("const-gchar*" "newfilename")
7960 (define-function g_mkdir
7964 '("const-gchar*" "filename")
7969 (define-function g_chdir
7973 '("const-gchar*" "path")
7977 (define-function g_stat
7981 '("const-gchar*" "filename")
7982 '("struct-stat*" "buf")
7986 (define-function g_lstat
7990 '("const-gchar*" "filename")
7991 '("struct-stat*" "buf")
7995 (define-function g_unlink
7999 '("const-gchar*" "filename")
8003 (define-function g_remove
8007 '("const-gchar*" "filename")
8011 (define-function g_rmdir
8015 '("const-gchar*" "filename")
8019 (define-function g_fopen
8021 (return-type "FILE*")
8023 '("const-gchar*" "filename")
8024 '("const-gchar*" "mode")
8028 (define-function g_freopen
8029 (c-name "g_freopen")
8030 (return-type "FILE*")
8032 '("const-gchar*" "filename")
8033 '("const-gchar*" "mode")
8042 (define-function g_ascii_tolower
8043 (c-name "g_ascii_tolower")
8044 (return-type "gchar")
8050 (define-function g_ascii_toupper
8051 (c-name "g_ascii_toupper")
8052 (return-type "gchar")
8058 (define-function g_ascii_digit_value
8059 (c-name "g_ascii_digit_value")
8060 (return-type "gint")
8066 (define-function g_ascii_xdigit_value
8067 (c-name "g_ascii_xdigit_value")
8068 (return-type "gint")
8074 (define-function g_strdelimit
8075 (c-name "g_strdelimit")
8076 (return-type "gchar*")
8078 '("gchar*" "string")
8079 '("const-gchar*" "delimiters")
8080 '("gchar" "new_delimiter")
8084 (define-function g_strcanon
8085 (c-name "g_strcanon")
8086 (return-type "gchar*")
8088 '("gchar*" "string")
8089 '("const-gchar*" "valid_chars")
8090 '("gchar" "substitutor")
8094 (define-function g_strerror
8095 (c-name "g_strerror")
8096 (return-type "const-gchar*")
8102 (define-function g_strsignal
8103 (c-name "g_strsignal")
8104 (return-type "const-gchar*")
8110 (define-function g_strreverse
8111 (c-name "g_strreverse")
8112 (return-type "gchar*")
8114 '("gchar*" "string")
8118 (define-function g_strlcpy
8119 (c-name "g_strlcpy")
8120 (return-type "gsize")
8123 '("const-gchar*" "src")
8124 '("gsize" "dest_size")
8128 (define-function g_strlcat
8129 (c-name "g_strlcat")
8130 (return-type "gsize")
8133 '("const-gchar*" "src")
8134 '("gsize" "dest_size")
8138 (define-function g_strstr_len
8139 (c-name "g_strstr_len")
8140 (return-type "gchar*")
8142 '("const-gchar*" "haystack")
8143 '("gssize" "haystack_len")
8144 '("const-gchar*" "needle")
8148 (define-function g_strrstr
8149 (c-name "g_strrstr")
8150 (return-type "gchar*")
8152 '("const-gchar*" "haystack")
8153 '("const-gchar*" "needle")
8157 (define-function g_strrstr_len
8158 (c-name "g_strrstr_len")
8159 (return-type "gchar*")
8161 '("const-gchar*" "haystack")
8162 '("gssize" "haystack_len")
8163 '("const-gchar*" "needle")
8167 (define-function g_str_has_suffix
8168 (c-name "g_str_has_suffix")
8169 (return-type "gboolean")
8171 '("const-gchar*" "str")
8172 '("const-gchar*" "suffix")
8176 (define-function g_str_has_prefix
8177 (c-name "g_str_has_prefix")
8178 (return-type "gboolean")
8180 '("const-gchar*" "str")
8181 '("const-gchar*" "prefix")
8185 (define-function g_strtod
8187 (return-type "gdouble")
8189 '("const-gchar*" "nptr")
8190 '("gchar**" "endptr")
8194 (define-function g_ascii_strtod
8195 (c-name "g_ascii_strtod")
8196 (return-type "gdouble")
8198 '("const-gchar*" "nptr")
8199 '("gchar**" "endptr")
8203 (define-function g_ascii_strtoull
8204 (c-name "g_ascii_strtoull")
8205 (return-type "guint64")
8207 '("const-gchar*" "nptr")
8208 '("gchar**" "endptr")
8213 (define-function g_ascii_strtoll
8214 (c-name "g_ascii_strtoll")
8215 (return-type "gint64")
8217 '("const-gchar*" "nptr")
8218 '("gchar**" "endptr")
8223 (define-function g_ascii_dtostr
8224 (c-name "g_ascii_dtostr")
8225 (return-type "gchar*")
8227 '("gchar*" "buffer")
8233 (define-function g_ascii_formatd
8234 (c-name "g_ascii_formatd")
8235 (return-type "gchar*")
8237 '("gchar*" "buffer")
8239 '("const-gchar*" "format")
8244 (define-function g_strchug
8245 (c-name "g_strchug")
8246 (return-type "gchar*")
8248 '("gchar*" "string")
8252 (define-function g_strchomp
8253 (c-name "g_strchomp")
8254 (return-type "gchar*")
8256 '("gchar*" "string")
8260 (define-function g_ascii_strcasecmp
8261 (c-name "g_ascii_strcasecmp")
8262 (return-type "gint")
8264 '("const-gchar*" "s1")
8265 '("const-gchar*" "s2")
8269 (define-function g_ascii_strncasecmp
8270 (c-name "g_ascii_strncasecmp")
8271 (return-type "gint")
8273 '("const-gchar*" "s1")
8274 '("const-gchar*" "s2")
8279 (define-function g_ascii_strdown
8280 (c-name "g_ascii_strdown")
8281 (return-type "gchar*")
8283 '("const-gchar*" "str")
8288 (define-function g_ascii_strup
8289 (c-name "g_ascii_strup")
8290 (return-type "gchar*")
8292 '("const-gchar*" "str")
8297 (define-function g_strcasecmp
8298 (c-name "g_strcasecmp")
8299 (return-type "gint")
8301 '("const-gchar*" "s1")
8302 '("const-gchar*" "s2")
8306 (define-function g_strncasecmp
8307 (c-name "g_strncasecmp")
8308 (return-type "gint")
8310 '("const-gchar*" "s1")
8311 '("const-gchar*" "s2")
8316 (define-function g_strdown
8317 (c-name "g_strdown")
8318 (return-type "gchar*")
8320 '("gchar*" "string")
8324 (define-function g_strup
8326 (return-type "gchar*")
8328 '("gchar*" "string")
8332 (define-function g_strdup
8334 (return-type "gchar*")
8336 '("const-gchar*" "str")
8340 (define-function g_strdup_printf
8341 (c-name "g_strdup_printf")
8342 (return-type "gchar*")
8344 '("const-gchar*" "format")
8349 (define-function g_strdup_vprintf
8350 (c-name "g_strdup_vprintf")
8351 (return-type "gchar*")
8353 '("const-gchar*" "format")
8358 (define-function g_strndup
8359 (c-name "g_strndup")
8360 (return-type "gchar*")
8362 '("const-gchar*" "str")
8367 (define-function g_strnfill
8368 (c-name "g_strnfill")
8369 (return-type "gchar*")
8372 '("gchar" "fill_char")
8376 (define-function g_strconcat
8377 (c-name "g_strconcat")
8378 (return-type "gchar*")
8380 '("const-gchar*" "string1")
8385 (define-function g_strjoin
8386 (c-name "g_strjoin")
8387 (return-type "gchar*")
8389 '("const-gchar*" "separator")
8394 (define-function g_strcompress
8395 (c-name "g_strcompress")
8396 (return-type "gchar*")
8398 '("const-gchar*" "source")
8402 (define-function g_strescape
8403 (c-name "g_strescape")
8404 (return-type "gchar*")
8406 '("const-gchar*" "source")
8407 '("const-gchar*" "exceptions")
8411 (define-function g_memdup
8413 (return-type "gpointer")
8415 '("gconstpointer" "mem")
8416 '("guint" "byte_size")
8420 (define-function g_strsplit
8421 (c-name "g_strsplit")
8422 (return-type "gchar**")
8424 '("const-gchar*" "string")
8425 '("const-gchar*" "delimiter")
8426 '("gint" "max_tokens")
8430 (define-function g_strsplit_set
8431 (c-name "g_strsplit_set")
8432 (return-type "gchar**")
8434 '("const-gchar*" "string")
8435 '("const-gchar*" "delimiters")
8436 '("gint" "max_tokens")
8440 (define-function g_strjoinv
8441 (c-name "g_strjoinv")
8442 (return-type "gchar*")
8444 '("const-gchar*" "separator")
8445 '("gchar**" "str_array")
8449 (define-function g_strfreev
8450 (c-name "g_strfreev")
8451 (return-type "none")
8453 '("gchar**" "str_array")
8457 (define-function g_strdupv
8458 (c-name "g_strdupv")
8459 (return-type "gchar**")
8461 '("gchar**" "str_array")
8465 (define-function g_strv_length
8466 (c-name "g_strv_length")
8467 (return-type "guint")
8469 '("gchar**" "str_array")
8473 (define-function g_stpcpy
8475 (return-type "gchar*")
8478 '("const-char*" "src")
8482 (define-function g_strip_context
8483 (c-name "g_strip_context")
8484 (return-type "const-gchar*")
8486 '("const-gchar*" "msgid")
8487 '("const-gchar*" "msgval")
8495 (define-function g_string_chunk_new
8496 (c-name "g_string_chunk_new")
8497 (is-constructor-of "GStringChunk")
8498 (return-type "GStringChunk*")
8505 (of-object "GStringChunk")
8506 (c-name "g_string_chunk_free")
8507 (return-type "none")
8510 (define-method clear
8511 (of-object "GStringChunk")
8512 (c-name "g_string_chunk_clear")
8513 (return-type "none")
8516 (define-method insert
8517 (of-object "GStringChunk")
8518 (c-name "g_string_chunk_insert")
8519 (return-type "gchar*")
8521 '("const-gchar*" "string")
8525 (define-method insert_len
8526 (of-object "GStringChunk")
8527 (c-name "g_string_chunk_insert_len")
8528 (return-type "gchar*")
8530 '("const-gchar*" "string")
8535 (define-function g_string_new
8536 (c-name "g_string_new")
8537 (is-constructor-of "GString")
8538 (return-type "GString*")
8540 '("const-gchar*" "init")
8544 (define-function g_string_new_len
8545 (c-name "g_string_new_len")
8546 (return-type "GString*")
8548 '("const-gchar*" "init")
8553 (define-function g_string_sized_new
8554 (c-name "g_string_sized_new")
8555 (is-constructor-of "GStringSized")
8556 (return-type "GString*")
8558 '("gsize" "dfl_size")
8563 (of-object "GString")
8564 (c-name "g_string_free")
8565 (return-type "gchar*")
8567 '("gboolean" "free_segment")
8571 (define-method equal
8572 (of-object "GString")
8573 (c-name "g_string_equal")
8574 (return-type "gboolean")
8576 '("const-GString*" "v2")
8581 (of-object "GString")
8582 (c-name "g_string_hash")
8583 (return-type "guint")
8586 (define-method assign
8587 (of-object "GString")
8588 (c-name "g_string_assign")
8589 (return-type "GString*")
8591 '("const-gchar*" "rval")
8595 (define-method truncate
8596 (of-object "GString")
8597 (c-name "g_string_truncate")
8598 (return-type "GString*")
8604 (define-method set_size
8605 (of-object "GString")
8606 (c-name "g_string_set_size")
8607 (return-type "GString*")
8613 (define-method insert_len
8614 (of-object "GString")
8615 (c-name "g_string_insert_len")
8616 (return-type "GString*")
8619 '("const-gchar*" "val")
8624 (define-method append
8625 (of-object "GString")
8626 (c-name "g_string_append")
8627 (return-type "GString*")
8629 '("const-gchar*" "val")
8633 (define-method append_len
8634 (of-object "GString")
8635 (c-name "g_string_append_len")
8636 (return-type "GString*")
8638 '("const-gchar*" "val")
8643 (define-method append_c
8644 (of-object "GString")
8645 (c-name "g_string_append_c")
8646 (return-type "GString*")
8652 (define-method append_unichar
8653 (of-object "GString")
8654 (c-name "g_string_append_unichar")
8655 (return-type "GString*")
8661 (define-method prepend
8662 (of-object "GString")
8663 (c-name "g_string_prepend")
8664 (return-type "GString*")
8666 '("const-gchar*" "val")
8670 (define-method prepend_c
8671 (of-object "GString")
8672 (c-name "g_string_prepend_c")
8673 (return-type "GString*")
8679 (define-method prepend_unichar
8680 (of-object "GString")
8681 (c-name "g_string_prepend_unichar")
8682 (return-type "GString*")
8688 (define-method prepend_len
8689 (of-object "GString")
8690 (c-name "g_string_prepend_len")
8691 (return-type "GString*")
8693 '("const-gchar*" "val")
8698 (define-method insert
8699 (of-object "GString")
8700 (c-name "g_string_insert")
8701 (return-type "GString*")
8704 '("const-gchar*" "val")
8708 (define-method insert_c
8709 (of-object "GString")
8710 (c-name "g_string_insert_c")
8711 (return-type "GString*")
8718 (define-method insert_unichar
8719 (of-object "GString")
8720 (c-name "g_string_insert_unichar")
8721 (return-type "GString*")
8728 (define-method erase
8729 (of-object "GString")
8730 (c-name "g_string_erase")
8731 (return-type "GString*")
8738 (define-method ascii_down
8739 (of-object "GString")
8740 (c-name "g_string_ascii_down")
8741 (return-type "GString*")
8744 (define-method ascii_up
8745 (of-object "GString")
8746 (c-name "g_string_ascii_up")
8747 (return-type "GString*")
8750 (define-method printf
8751 (of-object "GString")
8752 (c-name "g_string_printf")
8753 (return-type "none")
8755 '("const-gchar*" "format")
8760 (define-method append_printf
8761 (of-object "GString")
8762 (c-name "g_string_append_printf")
8763 (return-type "none")
8765 '("const-gchar*" "format")
8771 (of-object "GString")
8772 (c-name "g_string_up")
8773 (return-type "GString*")
8780 (define-function guint64
8782 (return-type "GLIB_VAR")
8784 '("*" "g_thread_gettime")
8788 (define-function g_thread_init
8789 (c-name "g_thread_init")
8790 (return-type "none")
8792 '("GThreadFunctions*" "vtable")
8796 (define-function g_thread_init_with_errorcheck_mutexes
8797 (c-name "g_thread_init_with_errorcheck_mutexes")
8798 (return-type "none")
8800 '("GThreadFunctions*" "vtable")
8804 (define-function g_static_mutex_get_mutex_impl
8805 (c-name "g_static_mutex_get_mutex_impl")
8806 (return-type "GMutex*")
8808 '("GMutex**" "mutex")
8812 (define-function g_thread_create_full
8813 (c-name "g_thread_create_full")
8814 (return-type "GThread*")
8816 '("GThreadFunc" "func")
8817 '("gpointer" "data")
8818 '("gulong" "stack_size")
8819 '("gboolean" "joinable")
8820 '("gboolean" "bound")
8821 '("GThreadPriority" "priority")
8822 '("GError**" "error")
8826 (define-function g_thread_self
8827 (c-name "g_thread_self")
8828 (return-type "GThread*")
8831 (define-function g_thread_exit
8832 (c-name "g_thread_exit")
8833 (return-type "none")
8835 '("gpointer" "retval")
8840 (of-object "GThread")
8841 (c-name "g_thread_join")
8842 (return-type "gpointer")
8845 (define-method set_priority
8846 (of-object "GThread")
8847 (c-name "g_thread_set_priority")
8848 (return-type "none")
8850 '("GThreadPriority" "priority")
8855 (of-object "GStaticMutex")
8856 (c-name "g_static_mutex_init")
8857 (return-type "none")
8861 (of-object "GStaticMutex")
8862 (c-name "g_static_mutex_free")
8863 (return-type "none")
8867 (of-object "GStaticPrivate")
8868 (c-name "g_static_private_init")
8869 (return-type "none")
8873 (of-object "GStaticPrivate")
8874 (c-name "g_static_private_get")
8875 (return-type "gpointer")
8879 (of-object "GStaticPrivate")
8880 (c-name "g_static_private_set")
8881 (return-type "none")
8883 '("gpointer" "data")
8884 '("GDestroyNotify" "notify")
8889 (of-object "GStaticPrivate")
8890 (c-name "g_static_private_free")
8891 (return-type "none")
8895 (of-object "GStaticRecMutex")
8896 (c-name "g_static_rec_mutex_init")
8897 (return-type "none")
8901 (of-object "GStaticRecMutex")
8902 (c-name "g_static_rec_mutex_lock")
8903 (return-type "none")
8906 (define-method trylock
8907 (of-object "GStaticRecMutex")
8908 (c-name "g_static_rec_mutex_trylock")
8909 (return-type "gboolean")
8912 (define-method unlock
8913 (of-object "GStaticRecMutex")
8914 (c-name "g_static_rec_mutex_unlock")
8915 (return-type "none")
8918 (define-method lock_full
8919 (of-object "GStaticRecMutex")
8920 (c-name "g_static_rec_mutex_lock_full")
8921 (return-type "none")
8927 (define-method unlock_full
8928 (of-object "GStaticRecMutex")
8929 (c-name "g_static_rec_mutex_unlock_full")
8930 (return-type "guint")
8934 (of-object "GStaticRecMutex")
8935 (c-name "g_static_rec_mutex_free")
8936 (return-type "none")
8940 (of-object "GStaticRWLock")
8941 (c-name "g_static_rw_lock_init")
8942 (return-type "none")
8945 (define-method reader_lock
8946 (of-object "GStaticRWLock")
8947 (c-name "g_static_rw_lock_reader_lock")
8948 (return-type "none")
8951 (define-method reader_trylock
8952 (of-object "GStaticRWLock")
8953 (c-name "g_static_rw_lock_reader_trylock")
8954 (return-type "gboolean")
8957 (define-method reader_unlock
8958 (of-object "GStaticRWLock")
8959 (c-name "g_static_rw_lock_reader_unlock")
8960 (return-type "none")
8963 (define-method writer_lock
8964 (of-object "GStaticRWLock")
8965 (c-name "g_static_rw_lock_writer_lock")
8966 (return-type "none")
8969 (define-method writer_trylock
8970 (of-object "GStaticRWLock")
8971 (c-name "g_static_rw_lock_writer_trylock")
8972 (return-type "gboolean")
8975 (define-method writer_unlock
8976 (of-object "GStaticRWLock")
8977 (c-name "g_static_rw_lock_writer_unlock")
8978 (return-type "none")
8982 (of-object "GStaticRWLock")
8983 (c-name "g_static_rw_lock_free")
8984 (return-type "none")
8987 (define-function g_thread_foreach
8988 (c-name "g_thread_foreach")
8989 (return-type "none")
8991 '("GFunc" "thread_func")
8992 '("gpointer" "user_data")
8998 (c-name "g_once_impl")
8999 (return-type "gpointer")
9001 '("GThreadFunc" "func")
9008 ;; From gthreadpool.h
9010 (define-function g_thread_pool_new
9011 (c-name "g_thread_pool_new")
9012 (is-constructor-of "GThreadPool")
9013 (return-type "GThreadPool*")
9016 '("gpointer" "user_data")
9017 '("gint" "max_threads")
9018 '("gboolean" "exclusive")
9019 '("GError**" "error")
9024 (of-object "GThreadPool")
9025 (c-name "g_thread_pool_push")
9026 (return-type "none")
9028 '("gpointer" "data")
9029 '("GError**" "error")
9033 (define-method set_max_threads
9034 (of-object "GThreadPool")
9035 (c-name "g_thread_pool_set_max_threads")
9036 (return-type "none")
9038 '("gint" "max_threads")
9039 '("GError**" "error")
9043 (define-method get_max_threads
9044 (of-object "GThreadPool")
9045 (c-name "g_thread_pool_get_max_threads")
9046 (return-type "gint")
9049 (define-method get_num_threads
9050 (of-object "GThreadPool")
9051 (c-name "g_thread_pool_get_num_threads")
9052 (return-type "guint")
9055 (define-method unprocessed
9056 (of-object "GThreadPool")
9057 (c-name "g_thread_pool_unprocessed")
9058 (return-type "guint")
9062 (of-object "GThreadPool")
9063 (c-name "g_thread_pool_free")
9064 (return-type "none")
9066 '("gboolean" "immediate")
9067 '("gboolean" "wait_")
9071 (define-function g_thread_pool_set_max_unused_threads
9072 (c-name "g_thread_pool_set_max_unused_threads")
9073 (return-type "none")
9075 '("gint" "max_threads")
9079 (define-function g_thread_pool_get_max_unused_threads
9080 (c-name "g_thread_pool_get_max_unused_threads")
9081 (return-type "gint")
9084 (define-function g_thread_pool_get_num_unused_threads
9085 (c-name "g_thread_pool_get_num_unused_threads")
9086 (return-type "guint")
9089 (define-function g_thread_pool_stop_unused_threads
9090 (c-name "g_thread_pool_stop_unused_threads")
9091 (return-type "none")
9094 (define-method set_sort_function
9095 (of-object "GThreadPool")
9096 (c-name "g_thread_pool_set_sort_function")
9097 (return-type "none")
9099 '("GCompareDataFunc" "func")
9100 '("gpointer" "user_data")
9104 (define-function g_thread_pool_set_max_idle_time
9105 (c-name "g_thread_pool_set_max_idle_time")
9106 (return-type "none")
9108 '("guint" "interval")
9112 (define-function g_thread_pool_get_max_idle_time
9113 (c-name "g_thread_pool_get_max_idle_time")
9114 (return-type "guint")
9119 ;; From gthreadprivate.h
9121 (define-function g_thread_init_glib
9122 (c-name "g_thread_init_glib")
9123 (return-type "none")
9130 (define-function g_timer_new
9131 (c-name "g_timer_new")
9132 (is-constructor-of "GTimer")
9133 (return-type "GTimer*")
9136 (define-method destroy
9137 (of-object "GTimer")
9138 (c-name "g_timer_destroy")
9139 (return-type "none")
9142 (define-method start
9143 (of-object "GTimer")
9144 (c-name "g_timer_start")
9145 (return-type "none")
9149 (of-object "GTimer")
9150 (c-name "g_timer_stop")
9151 (return-type "none")
9154 (define-method reset
9155 (of-object "GTimer")
9156 (c-name "g_timer_reset")
9157 (return-type "none")
9160 (define-method continue
9161 (of-object "GTimer")
9162 (c-name "g_timer_continue")
9163 (return-type "none")
9166 (define-method elapsed
9167 (of-object "GTimer")
9168 (c-name "g_timer_elapsed")
9169 (return-type "gdouble")
9171 '("gulong*" "microseconds")
9175 (define-function g_usleep
9177 (return-type "none")
9179 '("gulong" "microseconds")
9184 (of-object "GTimeVal")
9185 (c-name "g_time_val_add")
9186 (return-type "none")
9188 '("glong" "microseconds")
9192 (define-function g_time_val_from_iso8601
9193 (c-name "g_time_val_from_iso8601")
9194 (return-type "gboolean")
9196 '("const-gchar*" "iso_date")
9197 '("GTimeVal*" "time_")
9201 (define-method to_iso8601
9202 (of-object "GTimeVal")
9203 (c-name "g_time_val_to_iso8601")
9204 (return-type "gchar*")
9211 (define-function g_tree_new
9212 (c-name "g_tree_new")
9213 (is-constructor-of "GTree")
9214 (return-type "GTree*")
9216 '("GCompareFunc" "key_compare_func")
9220 (define-function g_tree_new_with_data
9221 (c-name "g_tree_new_with_data")
9222 (return-type "GTree*")
9224 '("GCompareDataFunc" "key_compare_func")
9225 '("gpointer" "key_compare_data")
9229 (define-function g_tree_new_full
9230 (c-name "g_tree_new_full")
9231 (return-type "GTree*")
9233 '("GCompareDataFunc" "key_compare_func")
9234 '("gpointer" "key_compare_data")
9235 '("GDestroyNotify" "key_destroy_func")
9236 '("GDestroyNotify" "value_destroy_func")
9240 (define-method destroy
9242 (c-name "g_tree_destroy")
9243 (return-type "none")
9246 (define-method insert
9248 (c-name "g_tree_insert")
9249 (return-type "none")
9252 '("gpointer" "value")
9256 (define-method replace
9258 (c-name "g_tree_replace")
9259 (return-type "none")
9262 '("gpointer" "value")
9266 (define-method remove
9268 (c-name "g_tree_remove")
9269 (return-type "gboolean")
9271 '("gconstpointer" "key")
9275 (define-method steal
9277 (c-name "g_tree_steal")
9278 (return-type "gboolean")
9280 '("gconstpointer" "key")
9284 (define-method lookup
9286 (c-name "g_tree_lookup")
9287 (return-type "gpointer")
9289 '("gconstpointer" "key")
9293 (define-method lookup_extended
9295 (c-name "g_tree_lookup_extended")
9296 (return-type "gboolean")
9298 '("gconstpointer" "lookup_key")
9299 '("gpointer*" "orig_key")
9300 '("gpointer*" "value")
9304 (define-method foreach
9306 (c-name "g_tree_foreach")
9307 (return-type "none")
9309 '("GTraverseFunc" "func")
9310 '("gpointer" "user_data")
9314 (define-method traverse
9316 (c-name "g_tree_traverse")
9317 (return-type "none")
9319 '("GTraverseFunc" "traverse_func")
9320 '("GTraverseType" "traverse_type")
9321 '("gpointer" "user_data")
9325 (define-method search
9327 (c-name "g_tree_search")
9328 (return-type "gpointer")
9330 '("GCompareFunc" "search_func")
9331 '("gconstpointer" "user_data")
9335 (define-method height
9337 (c-name "g_tree_height")
9338 (return-type "gint")
9341 (define-method nnodes
9343 (c-name "g_tree_nnodes")
9344 (return-type "gint")
9357 ;; From gunichartables.h
9363 (define-function g_get_charset
9364 (c-name "g_get_charset")
9365 (return-type "gboolean")
9367 '("const-char**" "charset")
9371 (define-method isalnum
9372 (of-object "gunichar")
9373 (c-name "g_unichar_isalnum")
9374 (return-type "gboolean")
9377 (define-method isalpha
9378 (of-object "gunichar")
9379 (c-name "g_unichar_isalpha")
9380 (return-type "gboolean")
9383 (define-method iscntrl
9384 (of-object "gunichar")
9385 (c-name "g_unichar_iscntrl")
9386 (return-type "gboolean")
9389 (define-method isdigit
9390 (of-object "gunichar")
9391 (c-name "g_unichar_isdigit")
9392 (return-type "gboolean")
9395 (define-method isgraph
9396 (of-object "gunichar")
9397 (c-name "g_unichar_isgraph")
9398 (return-type "gboolean")
9401 (define-method islower
9402 (of-object "gunichar")
9403 (c-name "g_unichar_islower")
9404 (return-type "gboolean")
9407 (define-method isprint
9408 (of-object "gunichar")
9409 (c-name "g_unichar_isprint")
9410 (return-type "gboolean")
9413 (define-method ispunct
9414 (of-object "gunichar")
9415 (c-name "g_unichar_ispunct")
9416 (return-type "gboolean")
9419 (define-method isspace
9420 (of-object "gunichar")
9421 (c-name "g_unichar_isspace")
9422 (return-type "gboolean")
9425 (define-method isupper
9426 (of-object "gunichar")
9427 (c-name "g_unichar_isupper")
9428 (return-type "gboolean")
9431 (define-method isxdigit
9432 (of-object "gunichar")
9433 (c-name "g_unichar_isxdigit")
9434 (return-type "gboolean")
9437 (define-method istitle
9438 (of-object "gunichar")
9439 (c-name "g_unichar_istitle")
9440 (return-type "gboolean")
9443 (define-method isdefined
9444 (of-object "gunichar")
9445 (c-name "g_unichar_isdefined")
9446 (return-type "gboolean")
9449 (define-method iswide
9450 (of-object "gunichar")
9451 (c-name "g_unichar_iswide")
9452 (return-type "gboolean")
9455 (define-method iswide_cjk
9456 (of-object "gunichar")
9457 (c-name "g_unichar_iswide_cjk")
9458 (return-type "gboolean")
9461 (define-method iszerowidth
9462 (of-object "gunichar")
9463 (c-name "g_unichar_iszerowidth")
9464 (return-type "gboolean")
9467 (define-method ismark
9468 (of-object "gunichar")
9469 (c-name "g_unichar_ismark")
9470 (return-type "gboolean")
9473 (define-method toupper
9474 (of-object "gunichar")
9475 (c-name "g_unichar_toupper")
9476 (return-type "gunichar")
9479 (define-method tolower
9480 (of-object "gunichar")
9481 (c-name "g_unichar_tolower")
9482 (return-type "gunichar")
9485 (define-method totitle
9486 (of-object "gunichar")
9487 (c-name "g_unichar_totitle")
9488 (return-type "gunichar")
9491 (define-method digit_value
9492 (of-object "gunichar")
9493 (c-name "g_unichar_digit_value")
9494 (return-type "gint")
9497 (define-method xdigit_value
9498 (of-object "gunichar")
9499 (c-name "g_unichar_xdigit_value")
9500 (return-type "gint")
9504 (of-object "gunichar")
9505 (c-name "g_unichar_type")
9506 (return-type "GUnicodeType")
9509 (define-method break_type
9510 (of-object "gunichar")
9511 (c-name "g_unichar_break_type")
9512 (return-type "GUnicodeBreakType")
9515 (define-function g_unicode_canonical_ordering
9516 (c-name "g_unicode_canonical_ordering")
9517 (return-type "none")
9519 '("gunichar*" "string")
9524 (define-function g_unicode_canonical_decomposition
9525 (c-name "g_unicode_canonical_decomposition")
9526 (return-type "gunichar*")
9529 '("gsize*" "result_len")
9533 (define-function g_utf8_get_char
9534 (c-name "g_utf8_get_char")
9535 (return-type "gunichar")
9537 '("const-gchar*" "p")
9541 (define-function g_utf8_get_char_validated
9542 (c-name "g_utf8_get_char_validated")
9543 (return-type "gunichar")
9545 '("const-gchar*" "p")
9546 '("gssize" "max_len")
9550 (define-function g_utf8_offset_to_pointer
9551 (c-name "g_utf8_offset_to_pointer")
9552 (return-type "gchar*")
9554 '("const-gchar*" "str")
9559 (define-function g_utf8_pointer_to_offset
9560 (c-name "g_utf8_pointer_to_offset")
9561 (return-type "glong")
9563 '("const-gchar*" "str")
9564 '("const-gchar*" "pos")
9568 (define-function g_utf8_prev_char
9569 (c-name "g_utf8_prev_char")
9570 (return-type "gchar*")
9572 '("const-gchar*" "p")
9576 (define-function g_utf8_find_next_char
9577 (c-name "g_utf8_find_next_char")
9578 (return-type "gchar*")
9580 '("const-gchar*" "p")
9581 '("const-gchar*" "end")
9585 (define-function g_utf8_find_prev_char
9586 (c-name "g_utf8_find_prev_char")
9587 (return-type "gchar*")
9589 '("const-gchar*" "str")
9590 '("const-gchar*" "p")
9594 (define-function g_utf8_strlen
9595 (c-name "g_utf8_strlen")
9596 (return-type "glong")
9598 '("const-gchar*" "p")
9603 (define-function g_utf8_strncpy
9604 (c-name "g_utf8_strncpy")
9605 (return-type "gchar*")
9608 '("const-gchar*" "src")
9613 (define-function g_utf8_strchr
9614 (c-name "g_utf8_strchr")
9615 (return-type "gchar*")
9617 '("const-gchar*" "p")
9623 (define-function g_utf8_strrchr
9624 (c-name "g_utf8_strrchr")
9625 (return-type "gchar*")
9627 '("const-gchar*" "p")
9633 (define-function g_utf8_strreverse
9634 (c-name "g_utf8_strreverse")
9635 (return-type "gchar*")
9637 '("const-gchar*" "str")
9642 (define-function g_utf8_to_utf16
9643 (c-name "g_utf8_to_utf16")
9644 (return-type "gunichar2*")
9646 '("const-gchar*" "str")
9648 '("glong*" "items_read")
9649 '("glong*" "items_written")
9650 '("GError**" "error")
9654 (define-function g_utf8_to_ucs4
9655 (c-name "g_utf8_to_ucs4")
9656 (return-type "gunichar*")
9658 '("const-gchar*" "str")
9660 '("glong*" "items_read")
9661 '("glong*" "items_written")
9662 '("GError**" "error")
9666 (define-function g_utf8_to_ucs4_fast
9667 (c-name "g_utf8_to_ucs4_fast")
9668 (return-type "gunichar*")
9670 '("const-gchar*" "str")
9672 '("glong*" "items_written")
9676 (define-function g_utf16_to_ucs4
9677 (c-name "g_utf16_to_ucs4")
9678 (return-type "gunichar*")
9680 '("const-gunichar2*" "str")
9682 '("glong*" "items_read")
9683 '("glong*" "items_written")
9684 '("GError**" "error")
9688 (define-function g_utf16_to_utf8
9689 (c-name "g_utf16_to_utf8")
9690 (return-type "gchar*")
9692 '("const-gunichar2*" "str")
9694 '("glong*" "items_read")
9695 '("glong*" "items_written")
9696 '("GError**" "error")
9700 (define-function g_ucs4_to_utf16
9701 (c-name "g_ucs4_to_utf16")
9702 (return-type "gunichar2*")
9704 '("const-gunichar*" "str")
9706 '("glong*" "items_read")
9707 '("glong*" "items_written")
9708 '("GError**" "error")
9712 (define-function g_ucs4_to_utf8
9713 (c-name "g_ucs4_to_utf8")
9714 (return-type "gchar*")
9716 '("const-gunichar*" "str")
9718 '("glong*" "items_read")
9719 '("glong*" "items_written")
9720 '("GError**" "error")
9724 (define-method to_utf8
9725 (of-object "gunichar")
9726 (c-name "g_unichar_to_utf8")
9727 (return-type "gint")
9729 '("gchar*" "outbuf")
9733 (define-function g_utf8_validate
9734 (c-name "g_utf8_validate")
9735 (return-type "gboolean")
9737 '("const-gchar*" "str")
9738 '("gssize" "max_len")
9739 '("const-gchar**" "end")
9743 (define-method validate
9744 (of-object "gunichar")
9745 (c-name "g_unichar_validate")
9746 (return-type "gboolean")
9749 (define-function g_utf8_strup
9750 (c-name "g_utf8_strup")
9751 (return-type "gchar*")
9753 '("const-gchar*" "str")
9758 (define-function g_utf8_strdown
9759 (c-name "g_utf8_strdown")
9760 (return-type "gchar*")
9762 '("const-gchar*" "str")
9767 (define-function g_utf8_casefold
9768 (c-name "g_utf8_casefold")
9769 (return-type "gchar*")
9771 '("const-gchar*" "str")
9776 (define-function g_utf8_normalize
9777 (c-name "g_utf8_normalize")
9778 (return-type "gchar*")
9780 '("const-gchar*" "str")
9782 '("GNormalizeMode" "mode")
9786 (define-function g_utf8_collate
9787 (c-name "g_utf8_collate")
9788 (return-type "gint")
9790 '("const-gchar*" "str1")
9791 '("const-gchar*" "str2")
9795 (define-function g_utf8_collate_key
9796 (c-name "g_utf8_collate_key")
9797 (return-type "gchar*")
9799 '("const-gchar*" "str")
9804 (define-function g_utf8_collate_key_for_filename
9805 (c-name "g_utf8_collate_key_for_filename")
9806 (return-type "gchar*")
9808 '("const-gchar*" "str")
9813 (define-method get_mirror_char
9814 (of-object "gunichar")
9815 (c-name "g_unichar_get_mirror_char")
9816 (return-type "gboolean")
9818 '("gunichar*" "mirrored_ch")
9822 (define-method get_script
9823 (of-object "gunichar")
9824 (c-name "g_unichar_get_script")
9825 (return-type "GUnicodeScript")
9830 ;; From gunicodeprivate.h
9838 ;; From gunidecomp.h
9844 (define-function g_get_user_name
9845 (c-name "g_get_user_name")
9846 (return-type "const-gchar*")
9849 (define-function g_get_real_name
9850 (c-name "g_get_real_name")
9851 (return-type "const-gchar*")
9854 (define-function g_get_home_dir
9855 (c-name "g_get_home_dir")
9856 (return-type "const-gchar*")
9859 (define-function g_get_tmp_dir
9860 (c-name "g_get_tmp_dir")
9861 (return-type "const-gchar*")
9864 (define-function g_get_host_name
9865 (c-name "g_get_host_name")
9866 (return-type "const-gchar*")
9869 (define-function g_get_prgname
9870 (c-name "g_get_prgname")
9871 (return-type "gchar*")
9874 (define-function g_set_prgname
9875 (c-name "g_set_prgname")
9876 (return-type "none")
9878 '("const-gchar*" "prgname")
9882 (define-function g_get_application_name
9883 (c-name "g_get_application_name")
9884 (return-type "const-gchar*")
9887 (define-function g_set_application_name
9888 (c-name "g_set_application_name")
9889 (return-type "none")
9891 '("const-gchar*" "application_name")
9895 (define-function g_get_user_data_dir
9896 (c-name "g_get_user_data_dir")
9897 (return-type "const-gchar*")
9900 (define-function g_get_user_config_dir
9901 (c-name "g_get_user_config_dir")
9902 (return-type "const-gchar*")
9905 (define-function g_get_user_cache_dir
9906 (c-name "g_get_user_cache_dir")
9907 (return-type "const-gchar*")
9910 (define-function g_get_user_special_dir
9911 (c-name "g_get_user_special_dir")
9912 (return-type "const-gchar*")
9914 '("GUserDirectory" "directory")
9918 (define-function g_parse_debug_string
9919 (c-name "g_parse_debug_string")
9920 (return-type "guint")
9922 '("const-gchar*" "string")
9923 '("const-GDebugKey*" "keys")
9928 (define-function g_snprintf
9929 (c-name "g_snprintf")
9930 (return-type "gint")
9932 '("gchar*" "string")
9934 '("gchar-const*" "format")
9939 (define-function g_vsnprintf
9940 (c-name "g_vsnprintf")
9941 (return-type "gint")
9943 '("gchar*" "string")
9945 '("gchar-const*" "format")
9950 (define-function g_path_is_absolute
9951 (c-name "g_path_is_absolute")
9952 (return-type "gboolean")
9954 '("const-gchar*" "file_name")
9958 (define-function g_path_skip_root
9959 (c-name "g_path_skip_root")
9960 (return-type "const-gchar*")
9962 '("const-gchar*" "file_name")
9966 (define-function g_basename
9967 (c-name "g_basename")
9968 (return-type "const-gchar*")
9970 '("const-gchar*" "file_name")
9974 (define-function g_get_current_dir
9975 (c-name "g_get_current_dir")
9976 (return-type "gchar*")
9979 (define-function g_path_get_basename
9980 (c-name "g_path_get_basename")
9981 (return-type "gchar*")
9983 '("const-gchar*" "file_name")
9987 (define-function g_path_get_dirname
9988 (c-name "g_path_get_dirname")
9989 (return-type "gchar*")
9991 '("const-gchar*" "file_name")
9995 (define-function g_nullify_pointer
9996 (c-name "g_nullify_pointer")
9997 (return-type "none")
9999 '("gpointer*" "nullify_location")
10003 (define-function g_getenv
10004 (c-name "g_getenv")
10005 (return-type "const-gchar*")
10007 '("const-gchar*" "variable")
10011 (define-function g_setenv
10012 (c-name "g_setenv")
10013 (return-type "gboolean")
10015 '("const-gchar*" "variable")
10016 '("const-gchar*" "value")
10017 '("gboolean" "overwrite")
10021 (define-function g_unsetenv
10022 (c-name "g_unsetenv")
10023 (return-type "none")
10025 '("const-gchar*" "variable")
10029 (define-function g_listenv
10030 (c-name "g_listenv")
10031 (return-type "gchar**")
10034 (define-function g_atexit
10035 (c-name "g_atexit")
10036 (return-type "none")
10038 '("GVoidFunc" "func")
10042 (define-function g_find_program_in_path
10043 (c-name "g_find_program_in_path")
10044 (return-type "gchar*")
10046 '("const-gchar*" "program")
10050 (define-function glib_check_version
10051 (c-name "glib_check_version")
10052 (return-type "const-gchar*")
10054 '("guint" "required_major")
10055 '("guint" "required_minor")
10056 '("guint" "required_micro")
10064 (define-function g_win32_ftruncate
10065 (c-name "g_win32_ftruncate")
10066 (return-type "gint")
10073 (define-function g_win32_getlocale
10074 (c-name "g_win32_getlocale")
10075 (return-type "gchar*")
10078 (define-function g_win32_error_message
10079 (c-name "g_win32_error_message")
10080 (return-type "gchar*")
10086 (define-function g_win32_get_package_installation_directory
10087 (c-name "g_win32_get_package_installation_directory")
10088 (return-type "gchar*")
10090 '("const-gchar*" "package")
10091 '("const-gchar*" "dll_name")
10095 (define-function g_win32_get_package_installation_subdirectory
10096 (c-name "g_win32_get_package_installation_subdirectory")
10097 (return-type "gchar*")
10099 '("const-gchar*" "package")
10100 '("const-gchar*" "dll_name")
10101 '("const-gchar*" "subdir")
10105 (define-function g_win32_get_windows_version
10106 (c-name "g_win32_get_windows_version")
10107 (return-type "guint")
10110 (define-function g_win32_locale_filename_from_utf8
10111 (c-name "g_win32_locale_filename_from_utf8")
10112 (return-type "gchar*")
10114 '("const-gchar*" "utf8filename")