[options]
girs_directories = ["../gir-files"]
library = "GLib"
version = "2.0"
min_cfg_version = "2.56"
target_path = "."
work_mode = "normal"
single_version_file = true
deprecate_by_min_version = true
trust_return_value_nullability = true
generate = [
"GLib.ConvertError",
"GLib.DateDay",
"GLib.DateMonth",
"GLib.DateWeekday",
"GLib.DateYear",
"GLib.FileError",
"GLib.FileSetContentsFlags",
"GLib.IOCondition",
"GLib.KeyFileError",
"GLib.KeyFileFlags",
"GLib.LogLevelFlags",
"GLib.LogWriterOutput",
"GLib.MainContextFlags",
"GLib.MarkupError",
"GLib.OptionArg",
"GLib.OptionFlags",
"GLib.SeekType",
"GLib.SpawnFlags",
"GLib.Time",
"GLib.TimeType",
"GLib.UriError",
"GLib.UriFlags",
"GLib.UriHideFlags",
"GLib.UriParamsFlags",
"GLib.VariantClass",
]
manual = [
"GLib.ByteArray",
"GLib.Bytes",
"GLib.Error",
"GLib.UserDirectory",
"GLib.Variant",
"GLib.VariantType",
"GObject.Object",
]
[[object]]
name = "GLib.*"
status = "generate"
[[object.function]]
pattern = "(assert_warning|assertion_message|assertion_message_cmpnum|assertion_message_cmpstr|warn_message|return_if_fail_warning)"
ignore = true
[[object.function]]
pattern = "(set_print_handler|set_printerr_handler|vasprintf|vfprintf|vprintf|vsnprintf|vsprintf|stpcpy|sprintf|snprintf|printf|printf_string_upper_bound|printerr|prefix_error|print|fprintf)"
ignore = true
[[object.function]]
pattern = "(malloc|malloc0|malloc0_n|malloc_n|memdup|memdup2|realloc|realloc_n|try_malloc||try_malloc0|try_malloc0_n|try_malloc_n|try_realloc|try_realloc_n|free|aligned_alloc|aligned_alloc0|aligned_free)"
ignore = true
[[object.function]]
pattern = "(slice_get_config|slice_get_config_state|slice_set_config|slice_alloc|slice_alloc0|slice_copy|slice_free1|slice_free_chain_with_offset)"
ignore = true
[[object.function]]
pattern = "(path_is_absolute|path_skip_root|rmdir|basename|canonicalize_filename|build_filename|build_filename_valist|build_filenamev|build_path|build_pathv|canonicalize_filename|chdir)"
ignore = true
[[object.function]]
pattern = "(int64_equal|int64_hash|int_equal|int_hash|double_equal|double_hash|direct_equal|direct_hash)"
ignore = true
[[object.function]]
pattern = "(clear_handle_id|clear_list|clear_pointer|clear_slist|clear_error|nullify_pointer)"
ignore = true
[[object.function]]
pattern = "(datalist_.*|dataset_.*)"
ignore = true
[[object.function]]
pattern = "(path_get_basename|path_get_dirname|file_test)"
visibility = "crate"
[[object.function]]
pattern = "(propagate_prefixed_error|set_error|file_error_from_errno|propagate_error|set_error_literal|set_error)"
ignore = true
[[object.function]]
name = "parse_debug_string"
ignore = true
[[object.function]]
pattern = "(log_.*|logv)"
ignore = true
[[object.function]]
pattern = "compute_.*_for_string"
ignore = true
[[object.function]]
pattern = "(idle_remove_by_data|qsort_with_data)"
ignore = true
[[object.function]]
pattern = "iconv"
doc_struct_name = "IConv"
manual = true
[[object.function]]
pattern = "convert_with_iconv"
doc_struct_name = "IConv"
manual = true
rename = "convert"
[[object.function]]
pattern = "pointer_.*"
ignore = true
[[object.function]]
pattern = "file_read_link"
ignore = true
[[object.function]]
pattern = "pattern_.*"
ignore = true
[[object.function]]
pattern = "(markup_collect_attributes|markup_printf_escaped|markup_vprintf_escaped)"
ignore = true
[[object.function]]
pattern = "io_.*"
ignore = true
[[object.function]]
name = "file_open_tmp"
manual = true
[[object.function]]
pattern = "atomic_.+"
ignore = true
[[object.function]]
pattern = "bit_.*"
ignore = true
[[object.function]]
name = "get_current_time"
ignore = true
[[object.function]]
name = "get_filename_charsets"
manual = true
[[object.function]]
pattern = "str.+v"
ignore = true
[[object.function]]
name = "strv_length"
ignore = true
[[object.function]]
pattern = "str.+"
ignore = true
[[object.function]]
pattern = "ucs4_.+"
ignore = true
[[object.function]]
pattern = "utf16_.+"
ignore = true
[[object.function]]
pattern = "utf8_.+"
ignore = true
[[object.function]]
pattern = "unichar_.+"
ignore = true
[[object.function]]
pattern = "ascii_.+"
ignore = true
[[object.function]]
name = "assertion_message_error"
ignore = true
[[object.function]]
name = "assertion_message_expr"
ignore = true
[[object.function]]
name = "assertion_message_cmpstrv"
ignore = true
[[object.function]]
pattern = "test_.+"
ignore = true
[[object.function]]
pattern = "prefix_error_literal"
ignore = true
[[object.function]]
pattern = ".+_error_quark"
ignore = true
[[object.function]]
pattern = "quark_.+_string"
ignore = true
[[object.function]]
name = "spawn_close_pid"
ignore = true
[[object.function]]
pattern = "[gs]et_prgname"
ignore = true
[[object.function]]
name = "get_user_name"
[object.function.return]
string_type = "os_string"
[[object.function]]
name = "get_real_name"
[object.function.return]
string_type = "os_string"
[[object.function]]
pattern = "setenv"
[[object.function.parameter]]
name = "variable"
string_type = "os_string"
[[object.function.parameter]]
name = "value"
string_type = "os_string"
[object.function.return]
bool_return_is_error = "Failed to set environment variable"
[[object.function]]
pattern = "getenv"
[[object.function.parameter]]
name = "variable"
string_type = "os_string"
[object.function.return]
string_type = "os_string"
[[object.function]]
name = "unsetenv"
[[object.function.parameter]]
name = "variable"
string_type = "os_string"
[[object.function]]
name = "file_get_contents"
manual = true
[[object.function]]
name = "mkstemp"
manual = true
[[object.function]]
name = "mkstemp_full"
manual = true
[[object.function]]
pattern = "mkdtemp(_full)?"
manual = true
[[object.function]]
name = "strdup"
ignore = true
[[object.function]]
pattern = "unix_.+"
cfg_condition = "unix"
[[object.function]]
name = "spawn_command_line_async"
cfg_condition = "unix"
[[object.function.parameter]]
name = "command_line"
string_type = "os_string"
[[object.function]]
name = "unix_open_pipe"
manual = true
[[object.function]]
name = "convert_with_fallback"
manual = true
[[object.function]]
name = "unicode_canonical_decomposition"
ignore = true
[[object.function]]
name = "unicode_canonical_ordering"
ignore = true
[[object.function]]
name = "convert"
manual = true
[[object.function]]
name = "filename_from_utf8"
manual = true
[[object.function]]
name = "filename_to_utf8"
manual = true
[[object.function]]
name = "locale_from_utf8"
manual = true
[[object.function]]
name = "locale_to_utf8"
manual = true
[[object.function]]
name = "child_watch_source_new"
ignore = true
[[object.function]]
name = "idle_source_new"
ignore = true
[[object.function]]
name = "timeout_source_new"
ignore = true
[[object.function]]
name = "timeout_source_new_seconds"
ignore = true
[[object.function]]
name = "unix_signal_source_new"
ignore = true
[[object.function]]
pattern = "unix_fd.*"
ignore = true
[[object.function]]
name = "close"
ignore = true
[[object.function]]
name = "log_writer_is_journald"
ignore = true
[[object.function]]
name = "log_writer_supports_color"
ignore = true
[[object.function]]
name = "unix_set_fd_nonblocking"
ignore = true
[[object.function]]
name = "environ_getenv"
ignore = true
[[object.function]]
pattern = "environ_(un)?setenv"
ignore = true
[[object.function]]
name = "get_charset"
ignore = true
[[object.function]]
name = "get_environ"
[object.function.return]
string_type = "os_string"
[[object.function]]
name = "listenv"
[object.function.return]
string_type = "os_string"
[[object.function]]
name = "shell_parse_argv"
[[object.function.parameter]]
name = "command_line"
string_type = "os_string"
[[object.function.parameter]]
name = "argvp"
string_type = "os_string"
[[object.function]]
name = "shell_quote"
[[object.function.parameter]]
name = "unquoted_string"
string_type = "os_string"
[object.function.return]
string_type = "os_string"
[[object.function]]
name = "shell_unquote"
[[object.function.parameter]]
name = "quoted_string"
string_type = "os_string"
[object.function.return]
string_type = "os_string"
[[object.function]]
name = "intern_static_string"
ignore = true
[[object.function]]
name = "intern_string"
ignore = true
[[object.function]]
name = "child_watch_add"
ignore = true
[[object.function]]
name = "child_watch_add_full"
ignore = true
[[object.function]]
name = "idle_add"
ignore = true
[[object.function]]
name = "idle_add_full"
ignore = true
[[object.function]]
name = "idle_add_once"
ignore = true
[[object.function]]
name = "timeout_add"
ignore = true
[[object.function]]
name = "timeout_add_full"
ignore = true
[[object.function]]
name = "timeout_add_once"
ignore = true
[[object.function]]
name = "timeout_add_seconds"
ignore = true
[[object.function]]
name = "timeout_add_seconds_full"
ignore = true
[[object.function]]
name = "unix_signal_add"
ignore = true
[[object.function]]
name = "unix_signal_add_full"
ignore = true
[[object.function]]
pattern = "rc_box_.+"
ignore = true
[[object.function]]
pattern = "ref_count_.+"
ignore = true
[[object.function]]
pattern = "ref_string_.+"
ignore = true
[[object.function]]
name = "spawn_async_with_fds"
ignore = true
[[object.function]]
name = "spawn_async_with_pipes"
ignore = true
[[object.function]]
name = "log_set_handler"
ignore = true
[[object.function]]
name = "log_default_handler"
ignore = true
[[object.function]]
name = "log_set_handler_full"
ignore = true
[[object.function]]
name = "log_set_writer_func"
ignore = true
[[object.function]]
name = "log_structured"
ignore = true
[[object.function]]
name = "log"
ignore = true
[[object.function]]
name = "log_set_default_handler"
ignore = true
[[object.function]]
name = "log_remove_handler"
ignore = true
[[object.function]]
name = "log_set_always_fatal"
ignore = true
[[object.function]]
name = "log_variant"
ignore = true
[[object.function]]
name = "log_set_fatal_mask"
ignore = true
[[object.constant]]
pattern = "DIR_SEPARATOR(_S)?"
ignore = true
[[object.constant]]
pattern = "SEARCHPATH_SEPARATOR(_S)?"
ignore = true
[[object.constant]]
name = "MODULE_SUFFIX"
ignore = true
[[object.constant]]
pattern = "GU?INT(16)?(32)?(64)?(PTR)?_FORMAT"
ignore = true
[[object.constant]]
pattern = "GU?INT(16)?(32)?(64)?(PTR)?_MODIFIER"
ignore = true
[[object.constant]]
pattern = "GS?SIZE_(FORMAT)?(MODIFIER)?"
ignore = true
[[object.constant]]
pattern = "GNUC_(PRETTY_)?FUNCTION"
ignore = true
[[object.constant]]
pattern = "PID_FORMAT"
ignore = true
[[object.constant]]
pattern = "POLLFD_FORMAT"
ignore = true
[[object.function]]
name = "variant_get_gtype"
ignore = true
[[object]]
name = "GLib.Checksum"
status = "generate"
concurrency = "send+sync"
[[object.function]]
name = "get_digest"
manual = true
[[object.function]]
name = "get_string"
manual = true
[[object]]
name = "GLib.ChecksumType"
status = "generate"
[[object.member]]
name = "sha384"
version = "2.52"
[[object]]
name = "GLib.DateTime"
status = "generate"
concurrency = "send+sync"
[[object.function]]
name = "new_local"
rename = "from_local"
[[object.function]]
name = "new_now"
rename = "now"
[[object.function]]
name = "new_now_local"
rename = "now_local"
[[object.function]]
name = "new_now_utc"
rename = "now_utc"
[[object.function]]
name = "new_utc"
rename = "from_utc"
[[object.function]]
pattern = ".+"
[object.function.return]
nullable_return_is_error = "Invalid date"
[[object]]
name = "GLib.FileTest"
status = "generate"
visibility = "crate"
[[object]]
name = "GLib.FormatSizeFlags"
status = "generate"
[[object.member]]
name = "only_value"
version = "2.74"
[[object.member]]
name = "only_unit"
version = "2.74"
[[object]]
name = "GLib.IConv"
status = "manual"
concurrency = "send"
[[object.function]]
name = "open"
rename = "new"
constructor = true
[[object]]
name = "GLib.KeyFile"
status = "generate"
[[object.function]]
name = "load_from_data_dirs"
manual = true
[[object.function]]
name = "load_from_dirs"
manual = true
[[object.function]]
name = "save_to_file"
manual = true
[[object.function]]
name = "set_locale_string_list"
ignore = true
[[object.function]]
name = "set_string_list"
ignore = true
[[object.function]]
name = "to_data"
manual = true
[[object.function]]
name = "set_double_list"
ignore = true
[[object.function]]
name = "set_integer_list"
ignore = true
[[object.function]]
name = "get_boolean"
manual = true
[[object.function]]
name = "has_key"
manual = true
[[object.function]]
name = "get_boolean_list"
manual = true
[[object.function]]
name = "get_string"
manual = true
[[object.function]]
name = "get_string_list"
manual = true
[[object.function]]
name = "get_locale_string"
manual = true
[[object.function]]
name = "get_locale_string_list"
manual = true
[[object.function]]
name = "get_comment"
[[object.function.parameter]]
name = "key"
nullable = true
[[object]]
name = "GLib.MainContext"
status = "generate"
concurrency = "send+sync"
[[object.function]]
name = "prepare"
manual = true
[[object.function]]
name = "find_source_by_id"
manual = true
[[object.function]]
name = "invoke"
manual = true
[[object.function]]
name = "invoke_full"
manual = true
[[object.function]]
name = "acquire"
manual = true
[[object.function]]
name = "release"
manual = true
[[object.function]]
name = "push_thread_default"
manual = true
[[object.function]]
name = "pop_thread_default"
manual = true
[[object]]
name = "GLib.MainLoop"
status = "generate"
concurrency = "send+sync"
[[object]]
name = "GLib.MarkupParseContext"
status = "generate"
[[object.function]]
name = "get_user_data"
ignore = true
[[object]]
name = "GLib.Source"
status = "generate"
concurrency = "send+sync"
[[object.function]]
pattern = "set_.+"
ignore = true
[[object.function]]
pattern = "attach"
ignore = true
[[object.function]]
pattern = "get_id"
ignore = true
[[object.function]]
pattern = "remove"
ignore = true
[[object]]
name = "GLib.ThreadPool"
status = "manual"
concurrency = "send+sync"
[[object.function]]
name = "new_shared"
rename = "shared"
[[object.function]]
name = "new_exclusive"
rename = "exclusive"
[[object]]
name = "GLib.TimeSpan"
status = "manual"
conversion_type = "scalar"
[[object]]
name = "GLib.TimeZone"
status = "generate"
concurrency = "send+sync"
[[object.function]]
name = "new_identifier"
rename = "from_identifier"
[[object.function]]
name = "new_local"
rename = "local"
[[object.function]]
name = "new_offset"
rename = "from_offset"
[[object.function]]
name = "new_utc"
rename = "utc"
[[object.function]]
name = "adjust_time"
ignore = true
[[object]]
name = "GLib.UnicodeScript"
status = "generate"
[[object.member]]
name = "cypro_minoan"
version = "2.72"
[[object.member]]
name = "old_uyghur"
version = "2.72"
[[object.member]]
name = "tangsa"
version = "2.72"
[[object.member]]
name = "toto"
version = "2.72"
[[object.member]]
name = "vithkuqi"
version = "2.72"
[[object.member]]
name = "math"
version = "2.72"
[[object.member]]
name = "kawi"
version = "2.74"
[[object.member]]
name = "nag_mundari"
version = "2.74"
[[object]]
name = "GLib.Uri"
status = "generate"
concurrency = "send+sync"