glib/auto/
constants.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// DO NOT EDIT
4
5use crate::{ffi, GStr};
6
7/// The set of uppercase ASCII alphabet characters.
8/// Used for specifying valid identifier characters
9/// in #GScannerConfig.
10// rustdoc-stripper-ignore-next-stop
11/// The set of uppercase ASCII alphabet characters.
12/// Used for specifying valid identifier characters
13/// in #GScannerConfig.
14#[doc(alias = "G_CSET_A_2_Z")]
15pub static CSET_A_2_Z: &GStr = unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_CSET_A_2_Z) };
16/// The set of ASCII digits.
17/// Used for specifying valid identifier characters
18/// in #GScannerConfig.
19// rustdoc-stripper-ignore-next-stop
20/// The set of ASCII digits.
21/// Used for specifying valid identifier characters
22/// in #GScannerConfig.
23#[doc(alias = "G_CSET_DIGITS")]
24pub static CSET_DIGITS: &GStr = unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_CSET_DIGITS) };
25/// The set of lowercase ASCII alphabet characters.
26/// Used for specifying valid identifier characters
27/// in #GScannerConfig.
28// rustdoc-stripper-ignore-next-stop
29/// The set of lowercase ASCII alphabet characters.
30/// Used for specifying valid identifier characters
31/// in #GScannerConfig.
32#[doc(alias = "G_CSET_a_2_z")]
33pub static CSET_a_2_z: &GStr = unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_CSET_a_2_z) };
34/// The name of the main group of a desktop entry file, as defined in the
35/// [Desktop Entry Specification](https://specifications.freedesktop.org/desktop-entry-spec/latest/).
36///
37/// Consult the specification for more
38/// details about the meanings of the keys below.
39// rustdoc-stripper-ignore-next-stop
40/// The name of the main group of a desktop entry file, as defined in the
41/// [Desktop Entry Specification](https://specifications.freedesktop.org/desktop-entry-spec/latest/).
42///
43/// Consult the specification for more
44/// details about the meanings of the keys below.
45#[doc(alias = "G_KEY_FILE_DESKTOP_GROUP")]
46pub static KEY_FILE_DESKTOP_GROUP: &GStr =
47    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_GROUP) };
48/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string list
49/// giving the available application actions.
50// rustdoc-stripper-ignore-next-stop
51/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string list
52/// giving the available application actions.
53#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_ACTIONS")]
54pub static KEY_FILE_DESKTOP_KEY_ACTIONS: &GStr =
55    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_ACTIONS) };
56/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a list
57/// of strings giving the categories in which the desktop entry
58/// should be shown in a menu.
59// rustdoc-stripper-ignore-next-stop
60/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a list
61/// of strings giving the categories in which the desktop entry
62/// should be shown in a menu.
63#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_CATEGORIES")]
64pub static KEY_FILE_DESKTOP_KEY_CATEGORIES: &GStr =
65    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_CATEGORIES) };
66/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a localized
67/// string giving the tooltip for the desktop entry.
68// rustdoc-stripper-ignore-next-stop
69/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a localized
70/// string giving the tooltip for the desktop entry.
71#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_COMMENT")]
72pub static KEY_FILE_DESKTOP_KEY_COMMENT: &GStr =
73    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_COMMENT) };
74/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a boolean
75/// set to true if the application is D-Bus activatable.
76// rustdoc-stripper-ignore-next-stop
77/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a boolean
78/// set to true if the application is D-Bus activatable.
79#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE")]
80pub static KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE: &GStr =
81    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE) };
82/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
83/// giving the command line to execute.
84///
85/// It is only valid for desktop entries with the `Application` type.
86// rustdoc-stripper-ignore-next-stop
87/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
88/// giving the command line to execute.
89///
90/// It is only valid for desktop entries with the `Application` type.
91#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_EXEC")]
92pub static KEY_FILE_DESKTOP_KEY_EXEC: &GStr =
93    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_EXEC) };
94/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a localized
95/// string giving the generic name of the desktop entry.
96// rustdoc-stripper-ignore-next-stop
97/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a localized
98/// string giving the generic name of the desktop entry.
99#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME")]
100pub static KEY_FILE_DESKTOP_KEY_GENERIC_NAME: &GStr =
101    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME) };
102/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a boolean
103/// stating whether the desktop entry has been deleted by the user.
104// rustdoc-stripper-ignore-next-stop
105/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a boolean
106/// stating whether the desktop entry has been deleted by the user.
107#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_HIDDEN")]
108pub static KEY_FILE_DESKTOP_KEY_HIDDEN: &GStr =
109    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_HIDDEN) };
110/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a localized
111/// string giving the name of the icon to be displayed for the desktop
112/// entry.
113// rustdoc-stripper-ignore-next-stop
114/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a localized
115/// string giving the name of the icon to be displayed for the desktop
116/// entry.
117#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_ICON")]
118pub static KEY_FILE_DESKTOP_KEY_ICON: &GStr =
119    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_ICON) };
120/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a list
121/// of strings giving the MIME types supported by this desktop entry.
122// rustdoc-stripper-ignore-next-stop
123/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a list
124/// of strings giving the MIME types supported by this desktop entry.
125#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_MIME_TYPE")]
126pub static KEY_FILE_DESKTOP_KEY_MIME_TYPE: &GStr =
127    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_MIME_TYPE) };
128/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a localized
129/// string giving the specific name of the desktop entry.
130// rustdoc-stripper-ignore-next-stop
131/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a localized
132/// string giving the specific name of the desktop entry.
133#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_NAME")]
134pub static KEY_FILE_DESKTOP_KEY_NAME: &GStr =
135    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_NAME) };
136/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a list of
137/// strings identifying the environments that should not display the
138/// desktop entry.
139// rustdoc-stripper-ignore-next-stop
140/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a list of
141/// strings identifying the environments that should not display the
142/// desktop entry.
143#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN")]
144pub static KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN: &GStr =
145    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN) };
146/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a boolean
147/// stating whether the desktop entry should be shown in menus.
148// rustdoc-stripper-ignore-next-stop
149/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a boolean
150/// stating whether the desktop entry should be shown in menus.
151#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY")]
152pub static KEY_FILE_DESKTOP_KEY_NO_DISPLAY: &GStr =
153    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY) };
154/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a list of
155/// strings identifying the environments that should display the
156/// desktop entry.
157// rustdoc-stripper-ignore-next-stop
158/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a list of
159/// strings identifying the environments that should display the
160/// desktop entry.
161#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN")]
162pub static KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN: &GStr =
163    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN) };
164/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
165/// containing the working directory to run the program in.
166///
167/// It is only valid for desktop entries with the `Application` type.
168// rustdoc-stripper-ignore-next-stop
169/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
170/// containing the working directory to run the program in.
171///
172/// It is only valid for desktop entries with the `Application` type.
173#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_PATH")]
174pub static KEY_FILE_DESKTOP_KEY_PATH: &GStr =
175    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_PATH) };
176/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a boolean
177/// stating whether the application supports the
178/// [Startup Notification Protocol Specification](https://specifications.freedesktop.org/startup-notification-spec/latest/).
179// rustdoc-stripper-ignore-next-stop
180/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a boolean
181/// stating whether the application supports the
182/// [Startup Notification Protocol Specification](https://specifications.freedesktop.org/startup-notification-spec/latest/).
183#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY")]
184pub static KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY: &GStr =
185    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY) };
186/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is string
187/// identifying the WM class or name hint of a window that the application
188/// will create, which can be used to emulate
189/// [Startup Notification](https://specifications.freedesktop.org/startup-notification-spec/latest/)
190/// with older applications.
191// rustdoc-stripper-ignore-next-stop
192/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is string
193/// identifying the WM class or name hint of a window that the application
194/// will create, which can be used to emulate
195/// [Startup Notification](https://specifications.freedesktop.org/startup-notification-spec/latest/)
196/// with older applications.
197#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS")]
198pub static KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS: &GStr =
199    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS) };
200/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a boolean
201/// stating whether the program should be run in a terminal window.
202///
203/// It is only valid for desktop entries with the `Application` type.
204// rustdoc-stripper-ignore-next-stop
205/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a boolean
206/// stating whether the program should be run in a terminal window.
207///
208/// It is only valid for desktop entries with the `Application` type.
209#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_TERMINAL")]
210pub static KEY_FILE_DESKTOP_KEY_TERMINAL: &GStr =
211    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_TERMINAL) };
212/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
213/// giving the file name of a binary on disk used to determine if the
214/// program is actually installed.
215///
216/// It is only valid for desktop entries with the `Application` type.
217// rustdoc-stripper-ignore-next-stop
218/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
219/// giving the file name of a binary on disk used to determine if the
220/// program is actually installed.
221///
222/// It is only valid for desktop entries with the `Application` type.
223#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_TRY_EXEC")]
224pub static KEY_FILE_DESKTOP_KEY_TRY_EXEC: &GStr =
225    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_TRY_EXEC) };
226/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
227/// giving the type of the desktop entry.
228///
229/// Usually `GLib::KEY_FILE_DESKTOP_TYPE_APPLICATION`,
230/// `GLib::KEY_FILE_DESKTOP_TYPE_LINK`, or
231/// `GLib::KEY_FILE_DESKTOP_TYPE_DIRECTORY`.
232// rustdoc-stripper-ignore-next-stop
233/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
234/// giving the type of the desktop entry.
235///
236/// Usually `GLib::KEY_FILE_DESKTOP_TYPE_APPLICATION`,
237/// `GLib::KEY_FILE_DESKTOP_TYPE_LINK`, or
238/// `GLib::KEY_FILE_DESKTOP_TYPE_DIRECTORY`.
239#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_TYPE")]
240pub static KEY_FILE_DESKTOP_KEY_TYPE: &GStr =
241    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_TYPE) };
242/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
243/// giving the URL to access.
244///
245/// It is only valid for desktop entries with the `Link` type.
246// rustdoc-stripper-ignore-next-stop
247/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
248/// giving the URL to access.
249///
250/// It is only valid for desktop entries with the `Link` type.
251#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_URL")]
252pub static KEY_FILE_DESKTOP_KEY_URL: &GStr =
253    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_URL) };
254/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
255/// giving the version of the Desktop Entry Specification used for
256/// the desktop entry file.
257// rustdoc-stripper-ignore-next-stop
258/// A key under `GLib::KEY_FILE_DESKTOP_GROUP`, whose value is a string
259/// giving the version of the Desktop Entry Specification used for
260/// the desktop entry file.
261#[doc(alias = "G_KEY_FILE_DESKTOP_KEY_VERSION")]
262pub static KEY_FILE_DESKTOP_KEY_VERSION: &GStr =
263    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_KEY_VERSION) };
264/// The value of the `GLib::KEY_FILE_DESKTOP_KEY_TYPE`, key for desktop
265/// entries representing applications.
266// rustdoc-stripper-ignore-next-stop
267/// The value of the `GLib::KEY_FILE_DESKTOP_KEY_TYPE`, key for desktop
268/// entries representing applications.
269#[doc(alias = "G_KEY_FILE_DESKTOP_TYPE_APPLICATION")]
270pub static KEY_FILE_DESKTOP_TYPE_APPLICATION: &GStr =
271    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_TYPE_APPLICATION) };
272/// The value of the `GLib::KEY_FILE_DESKTOP_KEY_TYPE`, key for desktop
273/// entries representing directories.
274// rustdoc-stripper-ignore-next-stop
275/// The value of the `GLib::KEY_FILE_DESKTOP_KEY_TYPE`, key for desktop
276/// entries representing directories.
277#[doc(alias = "G_KEY_FILE_DESKTOP_TYPE_DIRECTORY")]
278pub static KEY_FILE_DESKTOP_TYPE_DIRECTORY: &GStr =
279    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_TYPE_DIRECTORY) };
280/// The value of the `GLib::KEY_FILE_DESKTOP_KEY_TYPE`, key for desktop
281/// entries representing links to documents.
282// rustdoc-stripper-ignore-next-stop
283/// The value of the `GLib::KEY_FILE_DESKTOP_KEY_TYPE`, key for desktop
284/// entries representing links to documents.
285#[doc(alias = "G_KEY_FILE_DESKTOP_TYPE_LINK")]
286pub static KEY_FILE_DESKTOP_TYPE_LINK: &GStr =
287    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_KEY_FILE_DESKTOP_TYPE_LINK) };
288/// If a long option in the main group has this name, it is not treated as a
289/// regular option. Instead it collects all non-option arguments which would
290/// otherwise be left in `argv`. The option must be of type
291/// [`OptionArg::Callback`][crate::OptionArg::Callback], [`OptionArg::StringArray`][crate::OptionArg::StringArray]
292/// or [`OptionArg::FilenameArray`][crate::OptionArg::FilenameArray].
293///
294///
295/// Using [`OPTION_REMAINING`][crate::OPTION_REMAINING] instead of simply scanning `argv`
296/// for leftover arguments has the advantage that GOption takes care of
297/// necessary encoding conversions for strings or filenames.
298// rustdoc-stripper-ignore-next-stop
299/// If a long option in the main group has this name, it is not treated as a
300/// regular option. Instead it collects all non-option arguments which would
301/// otherwise be left in `argv`. The option must be of type
302/// [`OptionArg::Callback`][crate::OptionArg::Callback], [`OptionArg::StringArray`][crate::OptionArg::StringArray]
303/// or [`OptionArg::FilenameArray`][crate::OptionArg::FilenameArray].
304///
305///
306/// Using [`OPTION_REMAINING`][crate::OPTION_REMAINING] instead of simply scanning `argv`
307/// for leftover arguments has the advantage that GOption takes care of
308/// necessary encoding conversions for strings or filenames.
309#[doc(alias = "G_OPTION_REMAINING")]
310pub static OPTION_REMAINING: &GStr =
311    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_OPTION_REMAINING) };
312/// The standard delimiters, used in `strdelimit()`.
313// rustdoc-stripper-ignore-next-stop
314/// The standard delimiters, used in `strdelimit()`.
315#[doc(alias = "G_STR_DELIMITERS")]
316pub static STR_DELIMITERS: &GStr =
317    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_STR_DELIMITERS) };
318/// A value that can be passed as an option to `test_init()`.
319///
320/// Creates a unique temporary directory for each unit test and uses sets
321/// XDG directories to point into subdirectories of it for the duration of
322/// the unit test. The directory tree is cleaned up after the test finishes
323/// successfully.
324///
325/// Note that this doesn’t take effect until `test_run()` is called,
326/// so calls to (for example) [`home_dir()`][crate::home_dir()] will return the
327/// system-wide value when made in a test program’s main() function.
328///
329/// The following functions will return subdirectories of the temporary directory
330/// when this option is used. The specific subdirectory paths in use are not
331/// guaranteed to be stable API — always use a getter function to retrieve them.
332///
333///  - [`home_dir()`][crate::home_dir()]
334///  - [`user_cache_dir()`][crate::user_cache_dir()]
335///  - [`system_config_dirs()`][crate::system_config_dirs()]
336///  - [`user_config_dir()`][crate::user_config_dir()]
337///  - [`system_data_dirs()`][crate::system_data_dirs()]
338///  - [`user_data_dir()`][crate::user_data_dir()]
339///  - [`user_state_dir()`][crate::user_state_dir()]
340///  - [`user_runtime_dir()`][crate::user_runtime_dir()]
341///
342/// The subdirectories may not be created by the test harness; as with normal
343/// calls to functions like [`user_cache_dir()`][crate::user_cache_dir()], the caller must
344/// be prepared to create the directory if it doesn’t exist.
345// rustdoc-stripper-ignore-next-stop
346/// A value that can be passed as an option to `test_init()`.
347///
348/// Creates a unique temporary directory for each unit test and uses sets
349/// XDG directories to point into subdirectories of it for the duration of
350/// the unit test. The directory tree is cleaned up after the test finishes
351/// successfully.
352///
353/// Note that this doesn’t take effect until `test_run()` is called,
354/// so calls to (for example) [`home_dir()`][crate::home_dir()] will return the
355/// system-wide value when made in a test program’s main() function.
356///
357/// The following functions will return subdirectories of the temporary directory
358/// when this option is used. The specific subdirectory paths in use are not
359/// guaranteed to be stable API — always use a getter function to retrieve them.
360///
361///  - [`home_dir()`][crate::home_dir()]
362///  - [`user_cache_dir()`][crate::user_cache_dir()]
363///  - [`system_config_dirs()`][crate::system_config_dirs()]
364///  - [`user_config_dir()`][crate::user_config_dir()]
365///  - [`system_data_dirs()`][crate::system_data_dirs()]
366///  - [`user_data_dir()`][crate::user_data_dir()]
367///  - [`user_state_dir()`][crate::user_state_dir()]
368///  - [`user_runtime_dir()`][crate::user_runtime_dir()]
369///
370/// The subdirectories may not be created by the test harness; as with normal
371/// calls to functions like [`user_cache_dir()`][crate::user_cache_dir()], the caller must
372/// be prepared to create the directory if it doesn’t exist.
373#[cfg(feature = "v2_60")]
374#[cfg_attr(docsrs, doc(cfg(feature = "v2_60")))]
375#[doc(alias = "G_TEST_OPTION_ISOLATE_DIRS")]
376pub static TEST_OPTION_ISOLATE_DIRS: &GStr =
377    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TEST_OPTION_ISOLATE_DIRS) };
378/// A value that can be passed as an option to `test_init()`.
379///
380/// If this option is given, assertions will not abort the process, but
381/// call `test_fail()`. Equivalent to `test_set_nonfatal_assertions()`.
382// rustdoc-stripper-ignore-next-stop
383/// A value that can be passed as an option to `test_init()`.
384///
385/// If this option is given, assertions will not abort the process, but
386/// call `test_fail()`. Equivalent to `test_set_nonfatal_assertions()`.
387#[cfg(feature = "v2_84")]
388#[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
389#[doc(alias = "G_TEST_OPTION_NONFATAL_ASSERTIONS")]
390pub static TEST_OPTION_NONFATAL_ASSERTIONS: &GStr =
391    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TEST_OPTION_NONFATAL_ASSERTIONS) };
392/// A value that can be passed as an option to `test_init()`.
393///
394/// If this option is given, `test_init()` will not call `set_prgname()`.
395// rustdoc-stripper-ignore-next-stop
396/// A value that can be passed as an option to `test_init()`.
397///
398/// If this option is given, `test_init()` will not call `set_prgname()`.
399#[cfg(feature = "v2_84")]
400#[cfg_attr(docsrs, doc(cfg(feature = "v2_84")))]
401#[doc(alias = "G_TEST_OPTION_NO_PRGNAME")]
402pub static TEST_OPTION_NO_PRGNAME: &GStr =
403    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_TEST_OPTION_NO_PRGNAME) };
404/// Generic delimiters characters as defined in
405/// [RFC 3986](https://tools.ietf.org/html/rfc3986). Includes `:/?#[]@`.
406// rustdoc-stripper-ignore-next-stop
407/// Generic delimiters characters as defined in
408/// [RFC 3986](https://tools.ietf.org/html/rfc3986). Includes `:/?#[]@`.
409#[doc(alias = "G_URI_RESERVED_CHARS_GENERIC_DELIMITERS")]
410pub static URI_RESERVED_CHARS_GENERIC_DELIMITERS: &GStr =
411    unsafe { GStr::from_utf8_with_nul_unchecked(ffi::G_URI_RESERVED_CHARS_GENERIC_DELIMITERS) };
412/// Subcomponent delimiter characters as defined in
413/// [RFC 3986](https://tools.ietf.org/html/rfc3986). Includes `!$&'()*+,;=`.
414// rustdoc-stripper-ignore-next-stop
415/// Subcomponent delimiter characters as defined in
416/// [RFC 3986](https://tools.ietf.org/html/rfc3986). Includes `!$&'()*+,;=`.
417#[doc(alias = "G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS")]
418pub static URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS: &GStr = unsafe {
419    GStr::from_utf8_with_nul_unchecked(ffi::G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS)
420};