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 glib_sys;
6use std::ffi::CStr;
7
8lazy_static! {
9    pub static ref CSET_A_2_Z: &'static str =
10        unsafe { CStr::from_ptr(glib_sys::G_CSET_A_2_Z).to_str().unwrap() };
11}
12lazy_static! {
13    pub static ref CSET_DIGITS: &'static str =
14        unsafe { CStr::from_ptr(glib_sys::G_CSET_DIGITS).to_str().unwrap() };
15}
16lazy_static! {
17    pub static ref CSET_a_2_z: &'static str =
18        unsafe { CStr::from_ptr(glib_sys::G_CSET_a_2_z).to_str().unwrap() };
19}
20lazy_static! {
21    pub static ref KEY_FILE_DESKTOP_ACTION_GROUP_PREFIX: &'static str = unsafe {
22        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_ACTION_GROUP_PREFIX)
23            .to_str()
24            .unwrap()
25    };
26}
27lazy_static! {
28    pub static ref KEY_FILE_DESKTOP_GROUP: &'static str = unsafe {
29        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_GROUP)
30            .to_str()
31            .unwrap()
32    };
33}
34lazy_static! {
35    pub static ref KEY_FILE_DESKTOP_KEY_ACTIONS: &'static str = unsafe {
36        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_ACTIONS)
37            .to_str()
38            .unwrap()
39    };
40}
41lazy_static! {
42    pub static ref KEY_FILE_DESKTOP_KEY_CATEGORIES: &'static str = unsafe {
43        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_CATEGORIES)
44            .to_str()
45            .unwrap()
46    };
47}
48lazy_static! {
49    pub static ref KEY_FILE_DESKTOP_KEY_COMMENT: &'static str = unsafe {
50        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_COMMENT)
51            .to_str()
52            .unwrap()
53    };
54}
55lazy_static! {
56    pub static ref KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE: &'static str = unsafe {
57        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE)
58            .to_str()
59            .unwrap()
60    };
61}
62lazy_static! {
63    pub static ref KEY_FILE_DESKTOP_KEY_EXEC: &'static str = unsafe {
64        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_EXEC)
65            .to_str()
66            .unwrap()
67    };
68}
69lazy_static! {
70    pub static ref KEY_FILE_DESKTOP_KEY_FULLNAME: &'static str = unsafe {
71        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_FULLNAME)
72            .to_str()
73            .unwrap()
74    };
75}
76lazy_static! {
77    pub static ref KEY_FILE_DESKTOP_KEY_GENERIC_NAME: &'static str = unsafe {
78        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME)
79            .to_str()
80            .unwrap()
81    };
82}
83lazy_static! {
84    pub static ref KEY_FILE_DESKTOP_KEY_GETTEXT_DOMAIN: &'static str = unsafe {
85        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_GETTEXT_DOMAIN)
86            .to_str()
87            .unwrap()
88    };
89}
90lazy_static! {
91    pub static ref KEY_FILE_DESKTOP_KEY_HIDDEN: &'static str = unsafe {
92        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_HIDDEN)
93            .to_str()
94            .unwrap()
95    };
96}
97lazy_static! {
98    pub static ref KEY_FILE_DESKTOP_KEY_ICON: &'static str = unsafe {
99        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_ICON)
100            .to_str()
101            .unwrap()
102    };
103}
104lazy_static! {
105    pub static ref KEY_FILE_DESKTOP_KEY_KEYWORDS: &'static str = unsafe {
106        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_KEYWORDS)
107            .to_str()
108            .unwrap()
109    };
110}
111lazy_static! {
112    pub static ref KEY_FILE_DESKTOP_KEY_MIME_TYPE: &'static str = unsafe {
113        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_MIME_TYPE)
114            .to_str()
115            .unwrap()
116    };
117}
118lazy_static! {
119    pub static ref KEY_FILE_DESKTOP_KEY_NAME: &'static str = unsafe {
120        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_NAME)
121            .to_str()
122            .unwrap()
123    };
124}
125lazy_static! {
126    pub static ref KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN: &'static str = unsafe {
127        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN)
128            .to_str()
129            .unwrap()
130    };
131}
132lazy_static! {
133    pub static ref KEY_FILE_DESKTOP_KEY_NO_DISPLAY: &'static str = unsafe {
134        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY)
135            .to_str()
136            .unwrap()
137    };
138}
139lazy_static! {
140    pub static ref KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN: &'static str = unsafe {
141        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN)
142            .to_str()
143            .unwrap()
144    };
145}
146lazy_static! {
147    pub static ref KEY_FILE_DESKTOP_KEY_PATH: &'static str = unsafe {
148        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_PATH)
149            .to_str()
150            .unwrap()
151    };
152}
153lazy_static! {
154    pub static ref KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY: &'static str = unsafe {
155        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY)
156            .to_str()
157            .unwrap()
158    };
159}
160lazy_static! {
161    pub static ref KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS: &'static str = unsafe {
162        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS)
163            .to_str()
164            .unwrap()
165    };
166}
167lazy_static! {
168    pub static ref KEY_FILE_DESKTOP_KEY_TERMINAL: &'static str = unsafe {
169        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_TERMINAL)
170            .to_str()
171            .unwrap()
172    };
173}
174lazy_static! {
175    pub static ref KEY_FILE_DESKTOP_KEY_TRY_EXEC: &'static str = unsafe {
176        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_TRY_EXEC)
177            .to_str()
178            .unwrap()
179    };
180}
181lazy_static! {
182    pub static ref KEY_FILE_DESKTOP_KEY_TYPE: &'static str = unsafe {
183        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_TYPE)
184            .to_str()
185            .unwrap()
186    };
187}
188lazy_static! {
189    pub static ref KEY_FILE_DESKTOP_KEY_URL: &'static str = unsafe {
190        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_URL)
191            .to_str()
192            .unwrap()
193    };
194}
195lazy_static! {
196    pub static ref KEY_FILE_DESKTOP_KEY_VERSION: &'static str = unsafe {
197        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_KEY_VERSION)
198            .to_str()
199            .unwrap()
200    };
201}
202lazy_static! {
203    pub static ref KEY_FILE_DESKTOP_TYPE_APPLICATION: &'static str = unsafe {
204        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_TYPE_APPLICATION)
205            .to_str()
206            .unwrap()
207    };
208}
209lazy_static! {
210    pub static ref KEY_FILE_DESKTOP_TYPE_DIRECTORY: &'static str = unsafe {
211        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_TYPE_DIRECTORY)
212            .to_str()
213            .unwrap()
214    };
215}
216lazy_static! {
217    pub static ref KEY_FILE_DESKTOP_TYPE_LINK: &'static str = unsafe {
218        CStr::from_ptr(glib_sys::G_KEY_FILE_DESKTOP_TYPE_LINK)
219            .to_str()
220            .unwrap()
221    };
222}
223lazy_static! {
224    pub static ref OPTION_REMAINING: &'static str = unsafe {
225        CStr::from_ptr(glib_sys::G_OPTION_REMAINING)
226            .to_str()
227            .unwrap()
228    };
229}
230lazy_static! {
231    pub static ref STR_DELIMITERS: &'static str =
232        unsafe { CStr::from_ptr(glib_sys::G_STR_DELIMITERS).to_str().unwrap() };
233}
234lazy_static! {
235    pub static ref URI_RESERVED_CHARS_GENERIC_DELIMITERS: &'static str = unsafe {
236        CStr::from_ptr(glib_sys::G_URI_RESERVED_CHARS_GENERIC_DELIMITERS)
237            .to_str()
238            .unwrap()
239    };
240}
241lazy_static! {
242    pub static ref URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS: &'static str = unsafe {
243        CStr::from_ptr(glib_sys::G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS)
244            .to_str()
245            .unwrap()
246    };
247}