1/* GLIB - Library of useful routines for C programming
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
16 */
17
18/*
19 * Modified by the GLib Team and others 1997-2000. See the AUTHORS
20 * file for a list of people on the GLib Team. See the ChangeLog
21 * files for a list of changes. These files are distributed with
22 * GLib at ftp://ftp.gtk.org/pub/gtk/.
23 */
24
25#ifndef __G_VERSION_MACROS_H__
26#define __G_VERSION_MACROS_H__
27
28#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
29#error "Only <glib.h> can be included directly."
30#endif
31
32/* Version boundaries checks */
33
34#define G_ENCODE_VERSION(major,minor) ((major) << 16 | (minor) << 8)
35
36/* XXX: Every new stable minor release bump should add a macro here */
37
38/**
39 * GLIB_VERSION_2_26:
40 *
41 * A macro that evaluates to the 2.26 version of GLib, in a format
42 * that can be used by the C pre-processor.
43 *
44 * Since: 2.32
45 */
46#define GLIB_VERSION_2_26 (G_ENCODE_VERSION (2, 26))
47
48/**
49 * GLIB_VERSION_2_28:
50 *
51 * A macro that evaluates to the 2.28 version of GLib, in a format
52 * that can be used by the C pre-processor.
53 *
54 * Since: 2.32
55 */
56#define GLIB_VERSION_2_28 (G_ENCODE_VERSION (2, 28))
57
58/**
59 * GLIB_VERSION_2_30:
60 *
61 * A macro that evaluates to the 2.30 version of GLib, in a format
62 * that can be used by the C pre-processor.
63 *
64 * Since: 2.32
65 */
66#define GLIB_VERSION_2_30 (G_ENCODE_VERSION (2, 30))
67
68/**
69 * GLIB_VERSION_2_32:
70 *
71 * A macro that evaluates to the 2.32 version of GLib, in a format
72 * that can be used by the C pre-processor.
73 *
74 * Since: 2.32
75 */
76#define GLIB_VERSION_2_32 (G_ENCODE_VERSION (2, 32))
77
78/**
79 * GLIB_VERSION_2_34:
80 *
81 * A macro that evaluates to the 2.34 version of GLib, in a format
82 * that can be used by the C pre-processor.
83 *
84 * Since: 2.34
85 */
86#define GLIB_VERSION_2_34 (G_ENCODE_VERSION (2, 34))
87
88/**
89 * GLIB_VERSION_2_36:
90 *
91 * A macro that evaluates to the 2.36 version of GLib, in a format
92 * that can be used by the C pre-processor.
93 *
94 * Since: 2.36
95 */
96#define GLIB_VERSION_2_36 (G_ENCODE_VERSION (2, 36))
97
98/**
99 * GLIB_VERSION_2_38:
100 *
101 * A macro that evaluates to the 2.38 version of GLib, in a format
102 * that can be used by the C pre-processor.
103 *
104 * Since: 2.38
105 */
106#define GLIB_VERSION_2_38 (G_ENCODE_VERSION (2, 38))
107
108/**
109 * GLIB_VERSION_2_40:
110 *
111 * A macro that evaluates to the 2.40 version of GLib, in a format
112 * that can be used by the C pre-processor.
113 *
114 * Since: 2.40
115 */
116#define GLIB_VERSION_2_40 (G_ENCODE_VERSION (2, 40))
117
118/**
119 * GLIB_VERSION_2_42:
120 *
121 * A macro that evaluates to the 2.42 version of GLib, in a format
122 * that can be used by the C pre-processor.
123 *
124 * Since: 2.42
125 */
126#define GLIB_VERSION_2_42 (G_ENCODE_VERSION (2, 42))
127
128/**
129 * GLIB_VERSION_2_44:
130 *
131 * A macro that evaluates to the 2.44 version of GLib, in a format
132 * that can be used by the C pre-processor.
133 *
134 * Since: 2.44
135 */
136#define GLIB_VERSION_2_44 (G_ENCODE_VERSION (2, 44))
137
138/**
139 * GLIB_VERSION_2_46:
140 *
141 * A macro that evaluates to the 2.46 version of GLib, in a format
142 * that can be used by the C pre-processor.
143 *
144 * Since: 2.46
145 */
146#define GLIB_VERSION_2_46 (G_ENCODE_VERSION (2, 46))
147
148/**
149 * GLIB_VERSION_2_48:
150 *
151 * A macro that evaluates to the 2.48 version of GLib, in a format
152 * that can be used by the C pre-processor.
153 *
154 * Since: 2.48
155 */
156#define GLIB_VERSION_2_48 (G_ENCODE_VERSION (2, 48))
157
158/**
159 * GLIB_VERSION_2_50:
160 *
161 * A macro that evaluates to the 2.50 version of GLib, in a format
162 * that can be used by the C pre-processor.
163 *
164 * Since: 2.50
165 */
166#define GLIB_VERSION_2_50 (G_ENCODE_VERSION (2, 50))
167
168/**
169 * GLIB_VERSION_2_52:
170 *
171 * A macro that evaluates to the 2.52 version of GLib, in a format
172 * that can be used by the C pre-processor.
173 *
174 * Since: 2.52
175 */
176#define GLIB_VERSION_2_52 (G_ENCODE_VERSION (2, 52))
177
178/**
179 * GLIB_VERSION_2_54:
180 *
181 * A macro that evaluates to the 2.54 version of GLib, in a format
182 * that can be used by the C pre-processor.
183 *
184 * Since: 2.54
185 */
186#define GLIB_VERSION_2_54 (G_ENCODE_VERSION (2, 54))
187
188/**
189 * GLIB_VERSION_2_56:
190 *
191 * A macro that evaluates to the 2.56 version of GLib, in a format
192 * that can be used by the C pre-processor.
193 *
194 * Since: 2.56
195 */
196#define GLIB_VERSION_2_56 (G_ENCODE_VERSION (2, 56))
197
198/**
199 * GLIB_VERSION_2_58:
200 *
201 * A macro that evaluates to the 2.58 version of GLib, in a format
202 * that can be used by the C pre-processor.
203 *
204 * Since: 2.58
205 */
206#define GLIB_VERSION_2_58 (G_ENCODE_VERSION (2, 58))
207
208/**
209 * GLIB_VERSION_2_60:
210 *
211 * A macro that evaluates to the 2.60 version of GLib, in a format
212 * that can be used by the C pre-processor.
213 *
214 * Since: 2.60
215 */
216#define GLIB_VERSION_2_60 (G_ENCODE_VERSION (2, 60))
217
218/**
219 * GLIB_VERSION_2_62:
220 *
221 * A macro that evaluates to the 2.62 version of GLib, in a format
222 * that can be used by the C pre-processor.
223 *
224 * Since: 2.62
225 */
226#define GLIB_VERSION_2_62 (G_ENCODE_VERSION (2, 62))
227
228/**
229 * GLIB_VERSION_2_64:
230 *
231 * A macro that evaluates to the 2.64 version of GLib, in a format
232 * that can be used by the C pre-processor.
233 *
234 * Since: 2.64
235 */
236#define GLIB_VERSION_2_64 (G_ENCODE_VERSION (2, 64))
237
238/**
239 * GLIB_VERSION_2_66:
240 *
241 * A macro that evaluates to the 2.66 version of GLib, in a format
242 * that can be used by the C pre-processor.
243 *
244 * Since: 2.66
245 */
246#define GLIB_VERSION_2_66 (G_ENCODE_VERSION (2, 66))
247
248/**
249 * GLIB_VERSION_2_68:
250 *
251 * A macro that evaluates to the 2.68 version of GLib, in a format
252 * that can be used by the C pre-processor.
253 *
254 * Since: 2.68
255 */
256#define GLIB_VERSION_2_68 (G_ENCODE_VERSION (2, 68))
257
258/**
259 * GLIB_VERSION_2_70:
260 *
261 * A macro that evaluates to the 2.70 version of GLib, in a format
262 * that can be used by the C pre-processor.
263 *
264 * Since: 2.70
265 */
266#define GLIB_VERSION_2_70 (G_ENCODE_VERSION (2, 70))
267
268/**
269 * GLIB_VERSION_2_72:
270 *
271 * A macro that evaluates to the 2.72 version of GLib, in a format
272 * that can be used by the C pre-processor.
273 *
274 * Since: 2.72
275 */
276#define GLIB_VERSION_2_72 (G_ENCODE_VERSION (2, 72))
277
278/**
279 * GLIB_VERSION_CUR_STABLE:
280 *
281 * A macro that evaluates to the current stable version of GLib, in a format
282 * that can be used by the C pre-processor.
283 *
284 * During an unstable development cycle, this evaluates to the next stable
285 * (unreleased) version which will be the result of the development cycle.
286 *
287 * Since: 2.32
288 */
289#if (GLIB_MINOR_VERSION % 2)
290#define GLIB_VERSION_CUR_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION + 1))
291#else
292#define GLIB_VERSION_CUR_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION))
293#endif
294
295/**
296 * GLIB_VERSION_PREV_STABLE:
297 *
298 * A macro that evaluates to the previous stable version of GLib, in a format
299 * that can be used by the C pre-processor.
300 *
301 * During an unstable development cycle, this evaluates to the most recent
302 * released stable release, which preceded this development cycle.
303 *
304 * Since: 2.32
305 */
306#if (GLIB_MINOR_VERSION % 2)
307#define GLIB_VERSION_PREV_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION - 1))
308#else
309#define GLIB_VERSION_PREV_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION - 2))
310#endif
311
312/**
313 * GLIB_VERSION_MIN_REQUIRED:
314 *
315 * A macro that should be defined by the user prior to including
316 * the glib.h header.
317 * The definition should be one of the predefined GLib version
318 * macros: %GLIB_VERSION_2_26, %GLIB_VERSION_2_28,...
319 *
320 * This macro defines the earliest version of GLib that the package is
321 * required to be able to compile against.
322 *
323 * If the compiler is configured to warn about the use of deprecated
324 * functions, then using functions that were deprecated in version
325 * %GLIB_VERSION_MIN_REQUIRED or earlier will cause warnings (but
326 * using functions deprecated in later releases will not).
327 *
328 * Since: 2.32
329 */
330/* If the package sets GLIB_VERSION_MIN_REQUIRED to some future
331 * GLIB_VERSION_X_Y value that we don't know about, it will compare as
332 * 0 in preprocessor tests.
333 */
334#ifndef GLIB_VERSION_MIN_REQUIRED
335# define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_CUR_STABLE)
336#elif GLIB_VERSION_MIN_REQUIRED == 0
337# undef GLIB_VERSION_MIN_REQUIRED
338# define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_CUR_STABLE + 2)
339#endif
340
341/**
342 * GLIB_VERSION_MAX_ALLOWED:
343 *
344 * A macro that should be defined by the user prior to including
345 * the glib.h header.
346 * The definition should be one of the predefined GLib version
347 * macros: %GLIB_VERSION_2_26, %GLIB_VERSION_2_28,...
348 *
349 * This macro defines the latest version of the GLib API that the
350 * package is allowed to make use of.
351 *
352 * If the compiler is configured to warn about the use of deprecated
353 * functions, then using functions added after version
354 * %GLIB_VERSION_MAX_ALLOWED will cause warnings.
355 *
356 * Unless you are using GLIB_CHECK_VERSION() or the like to compile
357 * different code depending on the GLib version, then this should be
358 * set to the same value as %GLIB_VERSION_MIN_REQUIRED.
359 *
360 * Since: 2.32
361 */
362#if !defined (GLIB_VERSION_MAX_ALLOWED) || (GLIB_VERSION_MAX_ALLOWED == 0)
363# undef GLIB_VERSION_MAX_ALLOWED
364# define GLIB_VERSION_MAX_ALLOWED (GLIB_VERSION_CUR_STABLE)
365#endif
366
367/* sanity checks */
368#if GLIB_VERSION_MIN_REQUIRED > GLIB_VERSION_CUR_STABLE
369#error "GLIB_VERSION_MIN_REQUIRED must be <= GLIB_VERSION_CUR_STABLE"
370#endif
371#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_MIN_REQUIRED
372#error "GLIB_VERSION_MAX_ALLOWED must be >= GLIB_VERSION_MIN_REQUIRED"
373#endif
374#if GLIB_VERSION_MIN_REQUIRED < GLIB_VERSION_2_26
375#error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
376#endif
377
378/* These macros are used to mark deprecated functions in GLib headers,
379 * and thus have to be exposed in installed headers. But please
380 * do *not* use them in other projects. Instead, use G_DEPRECATED
381 * or define your own wrappers around it.
382 */
383#define GLIB_AVAILABLE_IN_ALL _GLIB_EXTERN
384
385/* XXX: Every new stable minor release should add a set of macros here */
386
387#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_26
388# define GLIB_DEPRECATED_IN_2_26 GLIB_DEPRECATED
389# define GLIB_DEPRECATED_IN_2_26_FOR(f) GLIB_DEPRECATED_FOR(f)
390# define GLIB_DEPRECATED_MACRO_IN_2_26 GLIB_DEPRECATED_MACRO
391# define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
392# define GLIB_DEPRECATED_ENUMERATOR_IN_2_26 GLIB_DEPRECATED_ENUMERATOR
393# define GLIB_DEPRECATED_ENUMERATOR_IN_2_26_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
394# define GLIB_DEPRECATED_TYPE_IN_2_26 GLIB_DEPRECATED_TYPE
395# define GLIB_DEPRECATED_TYPE_IN_2_26_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
396#else
397# define GLIB_DEPRECATED_IN_2_26 _GLIB_EXTERN
398# define GLIB_DEPRECATED_IN_2_26_FOR(f) _GLIB_EXTERN
399# define GLIB_DEPRECATED_MACRO_IN_2_26
400# define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f)
401# define GLIB_DEPRECATED_ENUMERATOR_IN_2_26
402# define GLIB_DEPRECATED_ENUMERATOR_IN_2_26_FOR(f)
403# define GLIB_DEPRECATED_TYPE_IN_2_26
404# define GLIB_DEPRECATED_TYPE_IN_2_26_FOR(f)
405#endif
406
407#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_26
408# define GLIB_AVAILABLE_IN_2_26 GLIB_UNAVAILABLE(2, 26)
409# define GLIB_AVAILABLE_MACRO_IN_2_26 GLIB_UNAVAILABLE_MACRO(2, 26)
410# define GLIB_AVAILABLE_ENUMERATOR_IN_2_26 GLIB_UNAVAILABLE_ENUMERATOR(2, 26)
411# define GLIB_AVAILABLE_TYPE_IN_2_26 GLIB_UNAVAILABLE_TYPE(2, 26)
412#else
413# define GLIB_AVAILABLE_IN_2_26 _GLIB_EXTERN
414# define GLIB_AVAILABLE_MACRO_IN_2_26
415# define GLIB_AVAILABLE_ENUMERATOR_IN_2_26
416# define GLIB_AVAILABLE_TYPE_IN_2_26
417#endif
418
419#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_28
420# define GLIB_DEPRECATED_IN_2_28 GLIB_DEPRECATED
421# define GLIB_DEPRECATED_IN_2_28_FOR(f) GLIB_DEPRECATED_FOR(f)
422# define GLIB_DEPRECATED_MACRO_IN_2_28 GLIB_DEPRECATED_MACRO
423# define GLIB_DEPRECATED_MACRO_IN_2_28_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
424# define GLIB_DEPRECATED_ENUMERATOR_IN_2_28 GLIB_DEPRECATED_ENUMERATOR
425# define GLIB_DEPRECATED_ENUMERATOR_IN_2_28_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
426# define GLIB_DEPRECATED_TYPE_IN_2_28 GLIB_DEPRECATED_TYPE
427# define GLIB_DEPRECATED_TYPE_IN_2_28_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
428#else
429# define GLIB_DEPRECATED_IN_2_28 _GLIB_EXTERN
430# define GLIB_DEPRECATED_IN_2_28_FOR(f) _GLIB_EXTERN
431# define GLIB_DEPRECATED_MACRO_IN_2_28
432# define GLIB_DEPRECATED_MACRO_IN_2_28_FOR(f)
433# define GLIB_DEPRECATED_ENUMERATOR_IN_2_28
434# define GLIB_DEPRECATED_ENUMERATOR_IN_2_28_FOR(f)
435# define GLIB_DEPRECATED_TYPE_IN_2_28
436# define GLIB_DEPRECATED_TYPE_IN_2_28_FOR(f)
437#endif
438
439#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_28
440# define GLIB_AVAILABLE_IN_2_28 GLIB_UNAVAILABLE(2, 28)
441# define GLIB_AVAILABLE_MACRO_IN_2_28 GLIB_UNAVAILABLE_MACRO(2, 28)
442# define GLIB_AVAILABLE_ENUMERATOR_IN_2_28 GLIB_UNAVAILABLE_ENUMERATOR(2, 28)
443# define GLIB_AVAILABLE_TYPE_IN_2_28 GLIB_UNAVAILABLE_TYPE(2, 28)
444#else
445# define GLIB_AVAILABLE_IN_2_28 _GLIB_EXTERN
446# define GLIB_AVAILABLE_MACRO_IN_2_28
447# define GLIB_AVAILABLE_ENUMERATOR_IN_2_28
448# define GLIB_AVAILABLE_TYPE_IN_2_28
449#endif
450
451#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_30
452# define GLIB_DEPRECATED_IN_2_30 GLIB_DEPRECATED
453# define GLIB_DEPRECATED_IN_2_30_FOR(f) GLIB_DEPRECATED_FOR(f)
454# define GLIB_DEPRECATED_MACRO_IN_2_30 GLIB_DEPRECATED_MACRO
455# define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
456# define GLIB_DEPRECATED_ENUMERATOR_IN_2_30 GLIB_DEPRECATED_ENUMERATOR
457# define GLIB_DEPRECATED_ENUMERATOR_IN_2_30_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
458# define GLIB_DEPRECATED_TYPE_IN_2_30 GLIB_DEPRECATED_TYPE
459# define GLIB_DEPRECATED_TYPE_IN_2_30_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
460#else
461# define GLIB_DEPRECATED_IN_2_30 _GLIB_EXTERN
462# define GLIB_DEPRECATED_IN_2_30_FOR(f) _GLIB_EXTERN
463# define GLIB_DEPRECATED_MACRO_IN_2_30
464# define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f)
465# define GLIB_DEPRECATED_ENUMERATOR_IN_2_30
466# define GLIB_DEPRECATED_ENUMERATOR_IN_2_30_FOR(f)
467# define GLIB_DEPRECATED_TYPE_IN_2_30
468# define GLIB_DEPRECATED_TYPE_IN_2_30_FOR(f)
469#endif
470
471#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_30
472# define GLIB_AVAILABLE_IN_2_30 GLIB_UNAVAILABLE(2, 30)
473# define GLIB_AVAILABLE_MACRO_IN_2_30 GLIB_UNAVAILABLE_MACRO(2, 30)
474# define GLIB_AVAILABLE_ENUMERATOR_IN_2_30 GLIB_UNAVAILABLE_ENUMERATOR(2, 30)
475# define GLIB_AVAILABLE_TYPE_IN_2_30 GLIB_UNAVAILABLE_TYPE(2, 30)
476#else
477# define GLIB_AVAILABLE_IN_2_30 _GLIB_EXTERN
478# define GLIB_AVAILABLE_MACRO_IN_2_30
479# define GLIB_AVAILABLE_ENUMERATOR_IN_2_30
480# define GLIB_AVAILABLE_TYPE_IN_2_30
481#endif
482
483#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_32
484# define GLIB_DEPRECATED_IN_2_32 GLIB_DEPRECATED
485# define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
486# define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO
487# define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
488# define GLIB_DEPRECATED_ENUMERATOR_IN_2_32 GLIB_DEPRECATED_ENUMERATOR
489# define GLIB_DEPRECATED_ENUMERATOR_IN_2_32_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
490# define GLIB_DEPRECATED_TYPE_IN_2_32 GLIB_DEPRECATED_TYPE
491# define GLIB_DEPRECATED_TYPE_IN_2_32_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
492#else
493# define GLIB_DEPRECATED_IN_2_32 _GLIB_EXTERN
494# define GLIB_DEPRECATED_IN_2_32_FOR(f) _GLIB_EXTERN
495# define GLIB_DEPRECATED_MACRO_IN_2_32
496# define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f)
497# define GLIB_DEPRECATED_ENUMERATOR_IN_2_32
498# define GLIB_DEPRECATED_ENUMERATOR_IN_2_32_FOR(f)
499# define GLIB_DEPRECATED_TYPE_IN_2_32
500# define GLIB_DEPRECATED_TYPE_IN_2_32_FOR(f)
501# define GLIB_DEPRECATED_ENUMERATOR_IN_2_32
502# define GLIB_DEPRECATED_ENUMERATOR_IN_2_32_FOR(f)
503# define GLIB_DEPRECATED_TYPE_IN_2_32
504# define GLIB_DEPRECATED_TYPE_IN_2_32_FOR(f)
505#endif
506
507#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_32
508# define GLIB_AVAILABLE_IN_2_32 GLIB_UNAVAILABLE(2, 32)
509# define GLIB_AVAILABLE_MACRO_IN_2_32 GLIB_UNAVAILABLE_MACRO(2, 32)
510# define GLIB_AVAILABLE_ENUMERATOR_IN_2_32 GLIB_UNAVAILABLE_ENUMERATOR(2, 32)
511# define GLIB_AVAILABLE_TYPE_IN_2_32 GLIB_UNAVAILABLE_TYPE(2, 32)
512#else
513# define GLIB_AVAILABLE_IN_2_32 _GLIB_EXTERN
514# define GLIB_AVAILABLE_MACRO_IN_2_32
515# define GLIB_AVAILABLE_ENUMERATOR_IN_2_32
516# define GLIB_AVAILABLE_TYPE_IN_2_32
517#endif
518
519#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_34
520# define GLIB_DEPRECATED_IN_2_34 GLIB_DEPRECATED
521# define GLIB_DEPRECATED_IN_2_34_FOR(f) GLIB_DEPRECATED_FOR(f)
522# define GLIB_DEPRECATED_MACRO_IN_2_34 GLIB_DEPRECATED_MACRO
523# define GLIB_DEPRECATED_MACRO_IN_2_34_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
524# define GLIB_DEPRECATED_ENUMERATOR_IN_2_34 GLIB_DEPRECATED_ENUMERATOR
525# define GLIB_DEPRECATED_ENUMERATOR_IN_2_34_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
526# define GLIB_DEPRECATED_TYPE_IN_2_34 GLIB_DEPRECATED_TYPE
527# define GLIB_DEPRECATED_TYPE_IN_2_34_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
528#else
529# define GLIB_DEPRECATED_IN_2_34 _GLIB_EXTERN
530# define GLIB_DEPRECATED_IN_2_34_FOR(f) _GLIB_EXTERN
531# define GLIB_DEPRECATED_MACRO_IN_2_34
532# define GLIB_DEPRECATED_MACRO_IN_2_34_FOR(f)
533# define GLIB_DEPRECATED_ENUMERATOR_IN_2_34
534# define GLIB_DEPRECATED_ENUMERATOR_IN_2_34_FOR(f)
535# define GLIB_DEPRECATED_TYPE_IN_2_34
536# define GLIB_DEPRECATED_TYPE_IN_2_34_FOR(f)
537#endif
538
539#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_34
540# define GLIB_AVAILABLE_IN_2_34 GLIB_UNAVAILABLE(2, 34)
541# define GLIB_AVAILABLE_MACRO_IN_2_34 GLIB_UNAVAILABLE_MACRO(2, 34)
542# define GLIB_AVAILABLE_ENUMERATOR_IN_2_34 GLIB_UNAVAILABLE_ENUMERATOR(2, 34)
543# define GLIB_AVAILABLE_TYPE_IN_2_34 GLIB_UNAVAILABLE_TYPE(2, 34)
544#else
545# define GLIB_AVAILABLE_IN_2_34 _GLIB_EXTERN
546# define GLIB_AVAILABLE_MACRO_IN_2_34
547# define GLIB_AVAILABLE_ENUMERATOR_IN_2_34
548# define GLIB_AVAILABLE_TYPE_IN_2_34
549#endif
550
551#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_36
552# define GLIB_DEPRECATED_IN_2_36 GLIB_DEPRECATED
553# define GLIB_DEPRECATED_IN_2_36_FOR(f) GLIB_DEPRECATED_FOR(f)
554# define GLIB_DEPRECATED_MACRO_IN_2_36 GLIB_DEPRECATED_MACRO
555# define GLIB_DEPRECATED_MACRO_IN_2_36_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
556# define GLIB_DEPRECATED_ENUMERATOR_IN_2_36 GLIB_DEPRECATED_ENUMERATOR
557# define GLIB_DEPRECATED_ENUMERATOR_IN_2_36_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
558# define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE
559# define GLIB_DEPRECATED_TYPE_IN_2_36_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
560#else
561# define GLIB_DEPRECATED_IN_2_36 _GLIB_EXTERN
562# define GLIB_DEPRECATED_IN_2_36_FOR(f) _GLIB_EXTERN
563# define GLIB_DEPRECATED_MACRO_IN_2_36
564# define GLIB_DEPRECATED_MACRO_IN_2_36_FOR(f)
565# define GLIB_DEPRECATED_ENUMERATOR_IN_2_36
566# define GLIB_DEPRECATED_ENUMERATOR_IN_2_36_FOR(f)
567# define GLIB_DEPRECATED_TYPE_IN_2_36
568# define GLIB_DEPRECATED_TYPE_IN_2_36_FOR(f)
569#endif
570
571#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_36
572# define GLIB_AVAILABLE_IN_2_36 GLIB_UNAVAILABLE(2, 36)
573# define GLIB_AVAILABLE_MACRO_IN_2_36 GLIB_UNAVAILABLE_MACRO(2, 36)
574# define GLIB_AVAILABLE_ENUMERATOR_IN_2_36 GLIB_UNAVAILABLE_ENUMERATOR(2, 36)
575# define GLIB_AVAILABLE_TYPE_IN_2_36 GLIB_UNAVAILABLE_TYPE(2, 36)
576#else
577# define GLIB_AVAILABLE_IN_2_36 _GLIB_EXTERN
578# define GLIB_AVAILABLE_MACRO_IN_2_36
579# define GLIB_AVAILABLE_ENUMERATOR_IN_2_36
580# define GLIB_AVAILABLE_TYPE_IN_2_36
581#endif
582
583#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_38
584# define GLIB_DEPRECATED_IN_2_38 GLIB_DEPRECATED
585# define GLIB_DEPRECATED_IN_2_38_FOR(f) GLIB_DEPRECATED_FOR(f)
586# define GLIB_DEPRECATED_MACRO_IN_2_38 GLIB_DEPRECATED_MACRO
587# define GLIB_DEPRECATED_MACRO_IN_2_38_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
588# define GLIB_DEPRECATED_ENUMERATOR_IN_2_38 GLIB_DEPRECATED_ENUMERATOR
589# define GLIB_DEPRECATED_ENUMERATOR_IN_2_38_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
590# define GLIB_DEPRECATED_TYPE_IN_2_38 GLIB_DEPRECATED_TYPE
591# define GLIB_DEPRECATED_TYPE_IN_2_38_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
592#else
593# define GLIB_DEPRECATED_IN_2_38 _GLIB_EXTERN
594# define GLIB_DEPRECATED_IN_2_38_FOR(f) _GLIB_EXTERN
595# define GLIB_DEPRECATED_MACRO_IN_2_38
596# define GLIB_DEPRECATED_MACRO_IN_2_38_FOR(f)
597# define GLIB_DEPRECATED_ENUMERATOR_IN_2_38
598# define GLIB_DEPRECATED_ENUMERATOR_IN_2_38_FOR(f)
599# define GLIB_DEPRECATED_TYPE_IN_2_38
600# define GLIB_DEPRECATED_TYPE_IN_2_38_FOR(f)
601#endif
602
603#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
604# define GLIB_AVAILABLE_IN_2_38 GLIB_UNAVAILABLE(2, 38)
605# define GLIB_AVAILABLE_MACRO_IN_2_38 GLIB_UNAVAILABLE_MACRO(2, 38)
606# define GLIB_AVAILABLE_ENUMERATOR_IN_2_38 GLIB_UNAVAILABLE_ENUMERATOR(2, 38)
607# define GLIB_AVAILABLE_TYPE_IN_2_38 GLIB_UNAVAILABLE_TYPE(2, 38)
608#else
609# define GLIB_AVAILABLE_IN_2_38 _GLIB_EXTERN
610# define GLIB_AVAILABLE_MACRO_IN_2_38
611# define GLIB_AVAILABLE_ENUMERATOR_IN_2_38
612# define GLIB_AVAILABLE_TYPE_IN_2_38
613#endif
614
615#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_40
616# define GLIB_DEPRECATED_IN_2_40 GLIB_DEPRECATED
617# define GLIB_DEPRECATED_IN_2_40_FOR(f) GLIB_DEPRECATED_FOR(f)
618# define GLIB_DEPRECATED_MACRO_IN_2_40 GLIB_DEPRECATED_MACRO
619# define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
620# define GLIB_DEPRECATED_ENUMERATOR_IN_2_40 GLIB_DEPRECATED_ENUMERATOR
621# define GLIB_DEPRECATED_ENUMERATOR_IN_2_40_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
622# define GLIB_DEPRECATED_TYPE_IN_2_40 GLIB_DEPRECATED_TYPE
623# define GLIB_DEPRECATED_TYPE_IN_2_40_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
624#else
625# define GLIB_DEPRECATED_IN_2_40 _GLIB_EXTERN
626# define GLIB_DEPRECATED_IN_2_40_FOR(f) _GLIB_EXTERN
627# define GLIB_DEPRECATED_MACRO_IN_2_40
628# define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f)
629# define GLIB_DEPRECATED_ENUMERATOR_IN_2_40
630# define GLIB_DEPRECATED_ENUMERATOR_IN_2_40_FOR(f)
631# define GLIB_DEPRECATED_TYPE_IN_2_40
632# define GLIB_DEPRECATED_TYPE_IN_2_40_FOR(f)
633#endif
634
635#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_40
636# define GLIB_AVAILABLE_IN_2_40 GLIB_UNAVAILABLE(2, 40)
637# define GLIB_AVAILABLE_MACRO_IN_2_40 GLIB_UNAVAILABLE_MACRO(2, 40)
638# define GLIB_AVAILABLE_ENUMERATOR_IN_2_40 GLIB_UNAVAILABLE_ENUMERATOR(2, 40)
639# define GLIB_AVAILABLE_TYPE_IN_2_40 GLIB_UNAVAILABLE_TYPE(2, 40)
640#else
641# define GLIB_AVAILABLE_IN_2_40 _GLIB_EXTERN
642# define GLIB_AVAILABLE_MACRO_IN_2_40
643# define GLIB_AVAILABLE_ENUMERATOR_IN_2_40
644# define GLIB_AVAILABLE_TYPE_IN_2_40
645#endif
646
647#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_42
648# define GLIB_DEPRECATED_IN_2_42 GLIB_DEPRECATED
649# define GLIB_DEPRECATED_IN_2_42_FOR(f) GLIB_DEPRECATED_FOR(f)
650# define GLIB_DEPRECATED_MACRO_IN_2_42 GLIB_DEPRECATED_MACRO
651# define GLIB_DEPRECATED_MACRO_IN_2_42_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
652#else
653# define GLIB_DEPRECATED_IN_2_42 _GLIB_EXTERN
654# define GLIB_DEPRECATED_IN_2_42_FOR(f) _GLIB_EXTERN
655# define GLIB_DEPRECATED_MACRO_IN_2_42
656# define GLIB_DEPRECATED_MACRO_IN_2_42_FOR(f)
657# define GLIB_DEPRECATED_ENUMERATOR_IN_2_42
658# define GLIB_DEPRECATED_ENUMERATOR_IN_2_42_FOR(f)
659# define GLIB_DEPRECATED_TYPE_IN_2_42
660# define GLIB_DEPRECATED_TYPE_IN_2_42_FOR(f)
661#endif
662
663#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_42
664# define GLIB_AVAILABLE_IN_2_42 GLIB_UNAVAILABLE(2, 42)
665# define GLIB_AVAILABLE_MACRO_IN_2_42 GLIB_UNAVAILABLE_MACRO(2, 42)
666# define GLIB_AVAILABLE_ENUMERATOR_IN_2_42 GLIB_UNAVAILABLE_ENUMERATOR(2, 42)
667# define GLIB_AVAILABLE_TYPE_IN_2_42 GLIB_UNAVAILABLE_TYPE(2, 42)
668#else
669# define GLIB_AVAILABLE_IN_2_42 _GLIB_EXTERN
670# define GLIB_AVAILABLE_MACRO_IN_2_42
671# define GLIB_AVAILABLE_ENUMERATOR_IN_2_42
672# define GLIB_AVAILABLE_TYPE_IN_2_42
673#endif
674
675#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_44
676# define GLIB_DEPRECATED_IN_2_44 GLIB_DEPRECATED
677# define GLIB_DEPRECATED_IN_2_44_FOR(f) GLIB_DEPRECATED_FOR(f)
678# define GLIB_DEPRECATED_MACRO_IN_2_44 GLIB_DEPRECATED_MACRO
679# define GLIB_DEPRECATED_MACRO_IN_2_44_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
680# define GLIB_DEPRECATED_ENUMERATOR_IN_2_44 GLIB_DEPRECATED_ENUMERATOR
681# define GLIB_DEPRECATED_ENUMERATOR_IN_2_44_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
682# define GLIB_DEPRECATED_TYPE_IN_2_44 GLIB_DEPRECATED_TYPE
683# define GLIB_DEPRECATED_TYPE_IN_2_44_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
684#else
685# define GLIB_DEPRECATED_IN_2_44 _GLIB_EXTERN
686# define GLIB_DEPRECATED_IN_2_44_FOR(f) _GLIB_EXTERN
687# define GLIB_DEPRECATED_MACRO_IN_2_44
688# define GLIB_DEPRECATED_MACRO_IN_2_44_FOR(f)
689# define GLIB_DEPRECATED_ENUMERATOR_IN_2_44
690# define GLIB_DEPRECATED_ENUMERATOR_IN_2_44_FOR(f)
691# define GLIB_DEPRECATED_TYPE_IN_2_44
692# define GLIB_DEPRECATED_TYPE_IN_2_44_FOR(f)
693#endif
694
695#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_44
696# define GLIB_AVAILABLE_IN_2_44 GLIB_UNAVAILABLE(2, 44)
697# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_44 GLIB_UNAVAILABLE_STATIC_INLINE(2, 44)
698# define GLIB_AVAILABLE_MACRO_IN_2_44 GLIB_UNAVAILABLE_MACRO(2, 44)
699# define GLIB_AVAILABLE_ENUMERATOR_IN_2_44 GLIB_UNAVAILABLE_ENUMERATOR(2, 44)
700# define GLIB_AVAILABLE_TYPE_IN_2_44 GLIB_UNAVAILABLE_TYPE(2, 44)
701#else
702# define GLIB_AVAILABLE_IN_2_44 _GLIB_EXTERN
703# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_44
704# define GLIB_AVAILABLE_MACRO_IN_2_44
705# define GLIB_AVAILABLE_ENUMERATOR_IN_2_44
706# define GLIB_AVAILABLE_TYPE_IN_2_44
707#endif
708
709#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_46
710# define GLIB_DEPRECATED_IN_2_46 GLIB_DEPRECATED
711# define GLIB_DEPRECATED_IN_2_46_FOR(f) GLIB_DEPRECATED_FOR(f)
712# define GLIB_DEPRECATED_MACRO_IN_2_46 GLIB_DEPRECATED_MACRO
713# define GLIB_DEPRECATED_MACRO_IN_2_46_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
714#else
715# define GLIB_DEPRECATED_IN_2_46 _GLIB_EXTERN
716# define GLIB_DEPRECATED_IN_2_46_FOR(f) _GLIB_EXTERN
717# define GLIB_DEPRECATED_MACRO_IN_2_46
718# define GLIB_DEPRECATED_MACRO_IN_2_46_FOR(f)
719# define GLIB_DEPRECATED_ENUMERATOR_IN_2_46
720# define GLIB_DEPRECATED_ENUMERATOR_IN_2_46_FOR(f)
721# define GLIB_DEPRECATED_TYPE_IN_2_46
722# define GLIB_DEPRECATED_TYPE_IN_2_46_FOR(f)
723#endif
724
725#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_46
726# define GLIB_AVAILABLE_IN_2_46 GLIB_UNAVAILABLE(2, 46)
727# define GLIB_AVAILABLE_MACRO_IN_2_46 GLIB_UNAVAILABLE_MACRO(2, 46)
728# define GLIB_AVAILABLE_ENUMERATOR_IN_2_46 GLIB_UNAVAILABLE_ENUMERATOR(2, 46)
729# define GLIB_AVAILABLE_TYPE_IN_2_46 GLIB_UNAVAILABLE_TYPE(2, 46)
730#else
731# define GLIB_AVAILABLE_IN_2_46 _GLIB_EXTERN
732# define GLIB_AVAILABLE_MACRO_IN_2_46
733# define GLIB_AVAILABLE_ENUMERATOR_IN_2_46
734# define GLIB_AVAILABLE_TYPE_IN_2_46
735#endif
736
737#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_48
738# define GLIB_DEPRECATED_IN_2_48 GLIB_DEPRECATED
739# define GLIB_DEPRECATED_IN_2_48_FOR(f) GLIB_DEPRECATED_FOR(f)
740# define GLIB_DEPRECATED_MACRO_IN_2_48 GLIB_DEPRECATED_MACRO
741# define GLIB_DEPRECATED_MACRO_IN_2_48_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
742# define GLIB_DEPRECATED_ENUMERATOR_IN_2_48 GLIB_DEPRECATED_ENUMERATOR
743# define GLIB_DEPRECATED_ENUMERATOR_IN_2_48_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
744# define GLIB_DEPRECATED_TYPE_IN_2_48 GLIB_DEPRECATED_TYPE
745# define GLIB_DEPRECATED_TYPE_IN_2_48_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
746#else
747# define GLIB_DEPRECATED_IN_2_48 _GLIB_EXTERN
748# define GLIB_DEPRECATED_IN_2_48_FOR(f) _GLIB_EXTERN
749# define GLIB_DEPRECATED_MACRO_IN_2_48
750# define GLIB_DEPRECATED_MACRO_IN_2_48_FOR(f)
751# define GLIB_DEPRECATED_ENUMERATOR_IN_2_48
752# define GLIB_DEPRECATED_ENUMERATOR_IN_2_48_FOR(f)
753# define GLIB_DEPRECATED_TYPE_IN_2_48
754# define GLIB_DEPRECATED_TYPE_IN_2_48_FOR(f)
755#endif
756
757#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_48
758# define GLIB_AVAILABLE_IN_2_48 GLIB_UNAVAILABLE(2, 48)
759# define GLIB_AVAILABLE_MACRO_IN_2_48 GLIB_UNAVAILABLE_MACRO(2, 48)
760# define GLIB_AVAILABLE_ENUMERATOR_IN_2_48 GLIB_UNAVAILABLE_ENUMERATOR(2, 48)
761# define GLIB_AVAILABLE_TYPE_IN_2_48 GLIB_UNAVAILABLE_TYPE(2, 48)
762#else
763# define GLIB_AVAILABLE_IN_2_48 _GLIB_EXTERN
764# define GLIB_AVAILABLE_MACRO_IN_2_48
765# define GLIB_AVAILABLE_ENUMERATOR_IN_2_48
766# define GLIB_AVAILABLE_TYPE_IN_2_48
767#endif
768
769#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_50
770# define GLIB_DEPRECATED_IN_2_50 GLIB_DEPRECATED
771# define GLIB_DEPRECATED_IN_2_50_FOR(f) GLIB_DEPRECATED_FOR(f)
772# define GLIB_DEPRECATED_MACRO_IN_2_50 GLIB_DEPRECATED_MACRO
773# define GLIB_DEPRECATED_MACRO_IN_2_50_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
774# define GLIB_DEPRECATED_ENUMERATOR_IN_2_50 GLIB_DEPRECATED_ENUMERATOR
775# define GLIB_DEPRECATED_ENUMERATOR_IN_2_50_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
776# define GLIB_DEPRECATED_TYPE_IN_2_50 GLIB_DEPRECATED_TYPE
777# define GLIB_DEPRECATED_TYPE_IN_2_50_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
778#else
779# define GLIB_DEPRECATED_IN_2_50 _GLIB_EXTERN
780# define GLIB_DEPRECATED_IN_2_50_FOR(f) _GLIB_EXTERN
781# define GLIB_DEPRECATED_MACRO_IN_2_50
782# define GLIB_DEPRECATED_MACRO_IN_2_50_FOR(f)
783# define GLIB_DEPRECATED_ENUMERATOR_IN_2_50
784# define GLIB_DEPRECATED_ENUMERATOR_IN_2_50_FOR(f)
785# define GLIB_DEPRECATED_TYPE_IN_2_50
786# define GLIB_DEPRECATED_TYPE_IN_2_50_FOR(f)
787#endif
788
789#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_50
790# define GLIB_AVAILABLE_IN_2_50 GLIB_UNAVAILABLE(2, 50)
791# define GLIB_AVAILABLE_MACRO_IN_2_50 GLIB_UNAVAILABLE_MACRO(2, 50)
792# define GLIB_AVAILABLE_ENUMERATOR_IN_2_50 GLIB_UNAVAILABLE_ENUMERATOR(2, 50)
793# define GLIB_AVAILABLE_TYPE_IN_2_50 GLIB_UNAVAILABLE_TYPE(2, 50)
794#else
795# define GLIB_AVAILABLE_IN_2_50 _GLIB_EXTERN
796# define GLIB_AVAILABLE_MACRO_IN_2_50
797# define GLIB_AVAILABLE_ENUMERATOR_IN_2_50
798# define GLIB_AVAILABLE_TYPE_IN_2_50
799#endif
800
801#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_52
802# define GLIB_DEPRECATED_IN_2_52 GLIB_DEPRECATED
803# define GLIB_DEPRECATED_IN_2_52_FOR(f) GLIB_DEPRECATED_FOR(f)
804# define GLIB_DEPRECATED_MACRO_IN_2_52 GLIB_DEPRECATED_MACRO
805# define GLIB_DEPRECATED_MACRO_IN_2_52_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
806# define GLIB_DEPRECATED_ENUMERATOR_IN_2_52 GLIB_DEPRECATED_ENUMERATOR
807# define GLIB_DEPRECATED_ENUMERATOR_IN_2_52_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
808# define GLIB_DEPRECATED_TYPE_IN_2_52 GLIB_DEPRECATED_TYPE
809# define GLIB_DEPRECATED_TYPE_IN_2_52_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
810#else
811# define GLIB_DEPRECATED_IN_2_52 _GLIB_EXTERN
812# define GLIB_DEPRECATED_IN_2_52_FOR(f) _GLIB_EXTERN
813# define GLIB_DEPRECATED_MACRO_IN_2_52
814# define GLIB_DEPRECATED_MACRO_IN_2_52_FOR(f)
815# define GLIB_DEPRECATED_ENUMERATOR_IN_2_52
816# define GLIB_DEPRECATED_ENUMERATOR_IN_2_52_FOR(f)
817# define GLIB_DEPRECATED_TYPE_IN_2_52
818# define GLIB_DEPRECATED_TYPE_IN_2_52_FOR(f)
819#endif
820
821#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_52
822# define GLIB_AVAILABLE_IN_2_52 GLIB_UNAVAILABLE(2, 52)
823# define GLIB_AVAILABLE_MACRO_IN_2_52 GLIB_UNAVAILABLE_MACRO(2, 52)
824# define GLIB_AVAILABLE_ENUMERATOR_IN_2_52 GLIB_UNAVAILABLE_ENUMERATOR(2, 52)
825# define GLIB_AVAILABLE_TYPE_IN_2_52 GLIB_UNAVAILABLE_TYPE(2, 52)
826#else
827# define GLIB_AVAILABLE_IN_2_52 _GLIB_EXTERN
828# define GLIB_AVAILABLE_MACRO_IN_2_52
829# define GLIB_AVAILABLE_ENUMERATOR_IN_2_52
830# define GLIB_AVAILABLE_TYPE_IN_2_52
831#endif
832
833#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_54
834# define GLIB_DEPRECATED_IN_2_54 GLIB_DEPRECATED
835# define GLIB_DEPRECATED_IN_2_54_FOR(f) GLIB_DEPRECATED_FOR(f)
836# define GLIB_DEPRECATED_MACRO_IN_2_54 GLIB_DEPRECATED_MACRO
837# define GLIB_DEPRECATED_MACRO_IN_2_54_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
838# define GLIB_DEPRECATED_ENUMERATOR_IN_2_54 GLIB_DEPRECATED_ENUMERATOR
839# define GLIB_DEPRECATED_ENUMERATOR_IN_2_54_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
840# define GLIB_DEPRECATED_TYPE_IN_2_54 GLIB_DEPRECATED_TYPE
841# define GLIB_DEPRECATED_TYPE_IN_2_54_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
842#else
843# define GLIB_DEPRECATED_IN_2_54 _GLIB_EXTERN
844# define GLIB_DEPRECATED_IN_2_54_FOR(f) _GLIB_EXTERN
845# define GLIB_DEPRECATED_MACRO_IN_2_54
846# define GLIB_DEPRECATED_MACRO_IN_2_54_FOR(f)
847# define GLIB_DEPRECATED_ENUMERATOR_IN_2_54
848# define GLIB_DEPRECATED_ENUMERATOR_IN_2_54_FOR(f)
849# define GLIB_DEPRECATED_TYPE_IN_2_54
850# define GLIB_DEPRECATED_TYPE_IN_2_54_FOR(f)
851#endif
852
853#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_54
854# define GLIB_AVAILABLE_IN_2_54 GLIB_UNAVAILABLE(2, 54)
855# define GLIB_AVAILABLE_MACRO_IN_2_54 GLIB_UNAVAILABLE_MACRO(2, 54)
856# define GLIB_AVAILABLE_ENUMERATOR_IN_2_54 GLIB_UNAVAILABLE_ENUMERATOR(2, 54)
857# define GLIB_AVAILABLE_TYPE_IN_2_54 GLIB_UNAVAILABLE_TYPE(2, 54)
858#else
859# define GLIB_AVAILABLE_IN_2_54 _GLIB_EXTERN
860# define GLIB_AVAILABLE_MACRO_IN_2_54
861# define GLIB_AVAILABLE_ENUMERATOR_IN_2_54
862# define GLIB_AVAILABLE_TYPE_IN_2_54
863#endif
864
865#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_56
866# define GLIB_DEPRECATED_IN_2_56 GLIB_DEPRECATED
867# define GLIB_DEPRECATED_IN_2_56_FOR(f) GLIB_DEPRECATED_FOR(f)
868# define GLIB_DEPRECATED_MACRO_IN_2_56 GLIB_DEPRECATED_MACRO
869# define GLIB_DEPRECATED_MACRO_IN_2_56_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
870# define GLIB_DEPRECATED_ENUMERATOR_IN_2_56 GLIB_DEPRECATED_ENUMERATOR
871# define GLIB_DEPRECATED_ENUMERATOR_IN_2_56_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
872# define GLIB_DEPRECATED_TYPE_IN_2_56 GLIB_DEPRECATED_TYPE
873# define GLIB_DEPRECATED_TYPE_IN_2_56_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
874#else
875# define GLIB_DEPRECATED_IN_2_56 _GLIB_EXTERN
876# define GLIB_DEPRECATED_IN_2_56_FOR(f) _GLIB_EXTERN
877# define GLIB_DEPRECATED_MACRO_IN_2_56
878# define GLIB_DEPRECATED_MACRO_IN_2_56_FOR(f)
879# define GLIB_DEPRECATED_ENUMERATOR_IN_2_56
880# define GLIB_DEPRECATED_ENUMERATOR_IN_2_56_FOR(f)
881# define GLIB_DEPRECATED_TYPE_IN_2_56
882# define GLIB_DEPRECATED_TYPE_IN_2_56_FOR(f)
883#endif
884
885#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_56
886# define GLIB_AVAILABLE_IN_2_56 GLIB_UNAVAILABLE(2, 56)
887# define GLIB_AVAILABLE_MACRO_IN_2_56 GLIB_UNAVAILABLE_MACRO(2, 56)
888# define GLIB_AVAILABLE_ENUMERATOR_IN_2_56 GLIB_UNAVAILABLE_ENUMERATOR(2, 56)
889# define GLIB_AVAILABLE_TYPE_IN_2_56 GLIB_UNAVAILABLE_TYPE(2, 56)
890#else
891# define GLIB_AVAILABLE_IN_2_56 _GLIB_EXTERN
892# define GLIB_AVAILABLE_MACRO_IN_2_56
893# define GLIB_AVAILABLE_ENUMERATOR_IN_2_56
894# define GLIB_AVAILABLE_TYPE_IN_2_56
895#endif
896
897#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_58
898# define GLIB_DEPRECATED_IN_2_58 GLIB_DEPRECATED
899# define GLIB_DEPRECATED_IN_2_58_FOR(f) GLIB_DEPRECATED_FOR(f)
900# define GLIB_DEPRECATED_MACRO_IN_2_58 GLIB_DEPRECATED_MACRO
901# define GLIB_DEPRECATED_MACRO_IN_2_58_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
902# define GLIB_DEPRECATED_ENUMERATOR_IN_2_58 GLIB_DEPRECATED_ENUMERATOR
903# define GLIB_DEPRECATED_ENUMERATOR_IN_2_58_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
904# define GLIB_DEPRECATED_TYPE_IN_2_58 GLIB_DEPRECATED_TYPE
905# define GLIB_DEPRECATED_TYPE_IN_2_58_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
906#else
907# define GLIB_DEPRECATED_IN_2_58 _GLIB_EXTERN
908# define GLIB_DEPRECATED_IN_2_58_FOR(f) _GLIB_EXTERN
909# define GLIB_DEPRECATED_MACRO_IN_2_58
910# define GLIB_DEPRECATED_MACRO_IN_2_58_FOR(f)
911# define GLIB_DEPRECATED_ENUMERATOR_IN_2_58
912# define GLIB_DEPRECATED_ENUMERATOR_IN_2_58_FOR(f)
913# define GLIB_DEPRECATED_TYPE_IN_2_58
914# define GLIB_DEPRECATED_TYPE_IN_2_58_FOR(f)
915#endif
916
917#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_58
918# define GLIB_AVAILABLE_IN_2_58 GLIB_UNAVAILABLE(2, 58)
919# define GLIB_AVAILABLE_MACRO_IN_2_58 GLIB_UNAVAILABLE_MACRO(2, 58)
920# define GLIB_AVAILABLE_ENUMERATOR_IN_2_58 GLIB_UNAVAILABLE_ENUMERATOR(2, 58)
921# define GLIB_AVAILABLE_TYPE_IN_2_58 GLIB_UNAVAILABLE_TYPE(2, 58)
922#else
923# define GLIB_AVAILABLE_IN_2_58 _GLIB_EXTERN
924# define GLIB_AVAILABLE_MACRO_IN_2_58
925# define GLIB_AVAILABLE_ENUMERATOR_IN_2_58
926# define GLIB_AVAILABLE_TYPE_IN_2_58
927#endif
928
929#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_60
930# define GLIB_DEPRECATED_IN_2_60 GLIB_DEPRECATED
931# define GLIB_DEPRECATED_IN_2_60_FOR(f) GLIB_DEPRECATED_FOR(f)
932# define GLIB_DEPRECATED_MACRO_IN_2_60 GLIB_DEPRECATED_MACRO
933# define GLIB_DEPRECATED_MACRO_IN_2_60_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
934# define GLIB_DEPRECATED_ENUMERATOR_IN_2_60 GLIB_DEPRECATED_ENUMERATOR
935# define GLIB_DEPRECATED_ENUMERATOR_IN_2_60_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
936# define GLIB_DEPRECATED_TYPE_IN_2_60 GLIB_DEPRECATED_TYPE
937# define GLIB_DEPRECATED_TYPE_IN_2_60_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
938#else
939# define GLIB_DEPRECATED_IN_2_60 _GLIB_EXTERN
940# define GLIB_DEPRECATED_IN_2_60_FOR(f) _GLIB_EXTERN
941# define GLIB_DEPRECATED_MACRO_IN_2_60
942# define GLIB_DEPRECATED_MACRO_IN_2_60_FOR(f)
943# define GLIB_DEPRECATED_ENUMERATOR_IN_2_60
944# define GLIB_DEPRECATED_ENUMERATOR_IN_2_60_FOR(f)
945# define GLIB_DEPRECATED_TYPE_IN_2_60
946# define GLIB_DEPRECATED_TYPE_IN_2_60_FOR(f)
947#endif
948
949#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_60
950# define GLIB_AVAILABLE_IN_2_60 GLIB_UNAVAILABLE(2, 60)
951# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_60 GLIB_UNAVAILABLE_STATIC_INLINE(2, 60)
952# define GLIB_AVAILABLE_MACRO_IN_2_60 GLIB_UNAVAILABLE_MACRO(2, 60)
953# define GLIB_AVAILABLE_ENUMERATOR_IN_2_60 GLIB_UNAVAILABLE_ENUMERATOR(2, 60)
954# define GLIB_AVAILABLE_TYPE_IN_2_60 GLIB_UNAVAILABLE_TYPE(2, 60)
955#else
956# define GLIB_AVAILABLE_IN_2_60 _GLIB_EXTERN
957# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_60
958# define GLIB_AVAILABLE_MACRO_IN_2_60
959# define GLIB_AVAILABLE_ENUMERATOR_IN_2_60
960# define GLIB_AVAILABLE_TYPE_IN_2_60
961#endif
962
963#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_62
964# define GLIB_DEPRECATED_IN_2_62 GLIB_DEPRECATED
965# define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR(f)
966# define GLIB_DEPRECATED_MACRO_IN_2_62 GLIB_DEPRECATED_MACRO
967# define GLIB_DEPRECATED_MACRO_IN_2_62_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
968# define GLIB_DEPRECATED_ENUMERATOR_IN_2_62 GLIB_DEPRECATED_ENUMERATOR
969# define GLIB_DEPRECATED_ENUMERATOR_IN_2_62_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
970# define GLIB_DEPRECATED_TYPE_IN_2_62 GLIB_DEPRECATED_TYPE
971# define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
972#else
973# define GLIB_DEPRECATED_IN_2_62 _GLIB_EXTERN
974# define GLIB_DEPRECATED_IN_2_62_FOR(f) _GLIB_EXTERN
975# define GLIB_DEPRECATED_MACRO_IN_2_62
976# define GLIB_DEPRECATED_MACRO_IN_2_62_FOR(f)
977# define GLIB_DEPRECATED_ENUMERATOR_IN_2_62
978# define GLIB_DEPRECATED_ENUMERATOR_IN_2_62_FOR(f)
979# define GLIB_DEPRECATED_TYPE_IN_2_62
980# define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f)
981#endif
982
983#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_62
984# define GLIB_AVAILABLE_IN_2_62 GLIB_UNAVAILABLE(2, 62)
985# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_62 GLIB_UNAVAILABLE_STATIC_INLINE(2, 62)
986# define GLIB_AVAILABLE_MACRO_IN_2_62 GLIB_UNAVAILABLE_MACRO(2, 62)
987# define GLIB_AVAILABLE_ENUMERATOR_IN_2_62 GLIB_UNAVAILABLE_ENUMERATOR(2, 62)
988# define GLIB_AVAILABLE_TYPE_IN_2_62 GLIB_UNAVAILABLE_TYPE(2, 62)
989#else
990# define GLIB_AVAILABLE_IN_2_62 _GLIB_EXTERN
991# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_62
992# define GLIB_AVAILABLE_MACRO_IN_2_62
993# define GLIB_AVAILABLE_ENUMERATOR_IN_2_62
994# define GLIB_AVAILABLE_TYPE_IN_2_62
995#endif
996
997#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_64
998# define GLIB_DEPRECATED_IN_2_64 GLIB_DEPRECATED
999# define GLIB_DEPRECATED_IN_2_64_FOR(f) GLIB_DEPRECATED_FOR(f)
1000# define GLIB_DEPRECATED_MACRO_IN_2_64 GLIB_DEPRECATED_MACRO
1001# define GLIB_DEPRECATED_MACRO_IN_2_64_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
1002# define GLIB_DEPRECATED_ENUMERATOR_IN_2_64 GLIB_DEPRECATED_ENUMERATOR
1003# define GLIB_DEPRECATED_ENUMERATOR_IN_2_64_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
1004# define GLIB_DEPRECATED_TYPE_IN_2_64 GLIB_DEPRECATED_TYPE
1005# define GLIB_DEPRECATED_TYPE_IN_2_64_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
1006#else
1007# define GLIB_DEPRECATED_IN_2_64 _GLIB_EXTERN
1008# define GLIB_DEPRECATED_IN_2_64_FOR(f) _GLIB_EXTERN
1009# define GLIB_DEPRECATED_MACRO_IN_2_64
1010# define GLIB_DEPRECATED_MACRO_IN_2_64_FOR(f)
1011# define GLIB_DEPRECATED_ENUMERATOR_IN_2_64
1012# define GLIB_DEPRECATED_ENUMERATOR_IN_2_64_FOR(f)
1013# define GLIB_DEPRECATED_TYPE_IN_2_64
1014# define GLIB_DEPRECATED_TYPE_IN_2_64_FOR(f)
1015#endif
1016
1017#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_64
1018# define GLIB_AVAILABLE_IN_2_64 GLIB_UNAVAILABLE(2, 64)
1019# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_64 GLIB_UNAVAILABLE_STATIC_INLINE(2, 64)
1020# define GLIB_AVAILABLE_MACRO_IN_2_64 GLIB_UNAVAILABLE_MACRO(2, 64)
1021# define GLIB_AVAILABLE_ENUMERATOR_IN_2_64 GLIB_UNAVAILABLE_ENUMERATOR(2, 64)
1022# define GLIB_AVAILABLE_TYPE_IN_2_64 GLIB_UNAVAILABLE_TYPE(2, 64)
1023#else
1024# define GLIB_AVAILABLE_IN_2_64 _GLIB_EXTERN
1025# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_64
1026# define GLIB_AVAILABLE_MACRO_IN_2_64
1027# define GLIB_AVAILABLE_ENUMERATOR_IN_2_64
1028# define GLIB_AVAILABLE_TYPE_IN_2_64
1029#endif
1030
1031#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_66
1032# define GLIB_DEPRECATED_IN_2_66 GLIB_DEPRECATED
1033# define GLIB_DEPRECATED_IN_2_66_FOR(f) GLIB_DEPRECATED_FOR(f)
1034# define GLIB_DEPRECATED_MACRO_IN_2_66 GLIB_DEPRECATED_MACRO
1035# define GLIB_DEPRECATED_MACRO_IN_2_66_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
1036# define GLIB_DEPRECATED_ENUMERATOR_IN_2_66 GLIB_DEPRECATED_ENUMERATOR
1037# define GLIB_DEPRECATED_ENUMERATOR_IN_2_66_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
1038# define GLIB_DEPRECATED_TYPE_IN_2_66 GLIB_DEPRECATED_TYPE
1039# define GLIB_DEPRECATED_TYPE_IN_2_66_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
1040#else
1041# define GLIB_DEPRECATED_IN_2_66 _GLIB_EXTERN
1042# define GLIB_DEPRECATED_IN_2_66_FOR(f) _GLIB_EXTERN
1043# define GLIB_DEPRECATED_MACRO_IN_2_66
1044# define GLIB_DEPRECATED_MACRO_IN_2_66_FOR(f)
1045# define GLIB_DEPRECATED_ENUMERATOR_IN_2_66
1046# define GLIB_DEPRECATED_ENUMERATOR_IN_2_66_FOR(f)
1047# define GLIB_DEPRECATED_TYPE_IN_2_66
1048# define GLIB_DEPRECATED_TYPE_IN_2_66_FOR(f)
1049#endif
1050
1051#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_66
1052# define GLIB_AVAILABLE_IN_2_66 GLIB_UNAVAILABLE(2, 66)
1053# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_66 GLIB_UNAVAILABLE_STATIC_INLINE(2, 66)
1054# define GLIB_AVAILABLE_MACRO_IN_2_66 GLIB_UNAVAILABLE_MACRO(2, 66)
1055# define GLIB_AVAILABLE_ENUMERATOR_IN_2_66 GLIB_UNAVAILABLE_ENUMERATOR(2, 66)
1056# define GLIB_AVAILABLE_TYPE_IN_2_66 GLIB_UNAVAILABLE_TYPE(2, 66)
1057#else
1058# define GLIB_AVAILABLE_IN_2_66 _GLIB_EXTERN
1059# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_66
1060# define GLIB_AVAILABLE_MACRO_IN_2_66
1061# define GLIB_AVAILABLE_ENUMERATOR_IN_2_66
1062# define GLIB_AVAILABLE_TYPE_IN_2_66
1063#endif
1064
1065#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_68
1066# define GLIB_DEPRECATED_IN_2_68 GLIB_DEPRECATED
1067# define GLIB_DEPRECATED_IN_2_68_FOR(f) GLIB_DEPRECATED_FOR(f)
1068# define GLIB_DEPRECATED_MACRO_IN_2_68 GLIB_DEPRECATED_MACRO
1069# define GLIB_DEPRECATED_MACRO_IN_2_68_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
1070# define GLIB_DEPRECATED_ENUMERATOR_IN_2_68 GLIB_DEPRECATED_ENUMERATOR
1071# define GLIB_DEPRECATED_ENUMERATOR_IN_2_68_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
1072# define GLIB_DEPRECATED_TYPE_IN_2_68 GLIB_DEPRECATED_TYPE
1073# define GLIB_DEPRECATED_TYPE_IN_2_68_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
1074#else
1075# define GLIB_DEPRECATED_IN_2_68 _GLIB_EXTERN
1076# define GLIB_DEPRECATED_IN_2_68_FOR(f) _GLIB_EXTERN
1077# define GLIB_DEPRECATED_MACRO_IN_2_68
1078# define GLIB_DEPRECATED_MACRO_IN_2_68_FOR(f)
1079# define GLIB_DEPRECATED_ENUMERATOR_IN_2_68
1080# define GLIB_DEPRECATED_ENUMERATOR_IN_2_68_FOR(f)
1081# define GLIB_DEPRECATED_TYPE_IN_2_68
1082# define GLIB_DEPRECATED_TYPE_IN_2_68_FOR(f)
1083#endif
1084
1085#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_68
1086# define GLIB_AVAILABLE_IN_2_68 GLIB_UNAVAILABLE(2, 68)
1087# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_68 GLIB_UNAVAILABLE_STATIC_INLINE(2, 68)
1088# define GLIB_AVAILABLE_MACRO_IN_2_68 GLIB_UNAVAILABLE_MACRO(2, 68)
1089# define GLIB_AVAILABLE_ENUMERATOR_IN_2_68 GLIB_UNAVAILABLE_ENUMERATOR(2, 68)
1090# define GLIB_AVAILABLE_TYPE_IN_2_68 GLIB_UNAVAILABLE_TYPE(2, 68)
1091#else
1092# define GLIB_AVAILABLE_IN_2_68 _GLIB_EXTERN
1093# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_68
1094# define GLIB_AVAILABLE_MACRO_IN_2_68
1095# define GLIB_AVAILABLE_ENUMERATOR_IN_2_68
1096# define GLIB_AVAILABLE_TYPE_IN_2_68
1097#endif
1098
1099#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_70
1100# define GLIB_DEPRECATED_IN_2_70 GLIB_DEPRECATED
1101# define GLIB_DEPRECATED_IN_2_70_FOR(f) GLIB_DEPRECATED_FOR(f)
1102# define GLIB_DEPRECATED_MACRO_IN_2_70 GLIB_DEPRECATED_MACRO
1103# define GLIB_DEPRECATED_MACRO_IN_2_70_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
1104# define GLIB_DEPRECATED_ENUMERATOR_IN_2_70 GLIB_DEPRECATED_ENUMERATOR
1105# define GLIB_DEPRECATED_ENUMERATOR_IN_2_70_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
1106# define GLIB_DEPRECATED_TYPE_IN_2_70 GLIB_DEPRECATED_TYPE
1107# define GLIB_DEPRECATED_TYPE_IN_2_70_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
1108#else
1109# define GLIB_DEPRECATED_IN_2_70 _GLIB_EXTERN
1110# define GLIB_DEPRECATED_IN_2_70_FOR(f) _GLIB_EXTERN
1111# define GLIB_DEPRECATED_MACRO_IN_2_70
1112# define GLIB_DEPRECATED_MACRO_IN_2_70_FOR(f)
1113# define GLIB_DEPRECATED_ENUMERATOR_IN_2_70
1114# define GLIB_DEPRECATED_ENUMERATOR_IN_2_70_FOR(f)
1115# define GLIB_DEPRECATED_TYPE_IN_2_70
1116# define GLIB_DEPRECATED_TYPE_IN_2_70_FOR(f)
1117#endif
1118
1119#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_70
1120# define GLIB_AVAILABLE_IN_2_70 GLIB_UNAVAILABLE(2, 70)
1121# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_70 GLIB_UNAVAILABLE_STATIC_INLINE(2, 70)
1122# define GLIB_AVAILABLE_MACRO_IN_2_70 GLIB_UNAVAILABLE_MACRO(2, 70)
1123# define GLIB_AVAILABLE_ENUMERATOR_IN_2_70 GLIB_UNAVAILABLE_ENUMERATOR(2, 70)
1124# define GLIB_AVAILABLE_TYPE_IN_2_70 GLIB_UNAVAILABLE_TYPE(2, 70)
1125#else
1126# define GLIB_AVAILABLE_IN_2_70 _GLIB_EXTERN
1127# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_70
1128# define GLIB_AVAILABLE_MACRO_IN_2_70
1129# define GLIB_AVAILABLE_ENUMERATOR_IN_2_70
1130# define GLIB_AVAILABLE_TYPE_IN_2_70
1131#endif
1132
1133#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_72
1134# define GLIB_DEPRECATED_IN_2_72 GLIB_DEPRECATED
1135# define GLIB_DEPRECATED_IN_2_72_FOR(f) GLIB_DEPRECATED_FOR(f)
1136# define GLIB_DEPRECATED_MACRO_IN_2_72 GLIB_DEPRECATED_MACRO
1137# define GLIB_DEPRECATED_MACRO_IN_2_72_FOR(f) GLIB_DEPRECATED_MACRO_FOR(f)
1138# define GLIB_DEPRECATED_ENUMERATOR_IN_2_72 GLIB_DEPRECATED_ENUMERATOR
1139# define GLIB_DEPRECATED_ENUMERATOR_IN_2_72_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR(f)
1140# define GLIB_DEPRECATED_TYPE_IN_2_72 GLIB_DEPRECATED_TYPE
1141# define GLIB_DEPRECATED_TYPE_IN_2_72_FOR(f) GLIB_DEPRECATED_TYPE_FOR(f)
1142#else
1143# define GLIB_DEPRECATED_IN_2_72 _GLIB_EXTERN
1144# define GLIB_DEPRECATED_IN_2_72_FOR(f) _GLIB_EXTERN
1145# define GLIB_DEPRECATED_MACRO_IN_2_72
1146# define GLIB_DEPRECATED_MACRO_IN_2_72_FOR(f)
1147# define GLIB_DEPRECATED_ENUMERATOR_IN_2_72
1148# define GLIB_DEPRECATED_ENUMERATOR_IN_2_72_FOR(f)
1149# define GLIB_DEPRECATED_TYPE_IN_2_72
1150# define GLIB_DEPRECATED_TYPE_IN_2_72_FOR(f)
1151#endif
1152
1153#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_72
1154# define GLIB_AVAILABLE_IN_2_72 GLIB_UNAVAILABLE(2, 72)
1155# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_72 GLIB_UNAVAILABLE_STATIC_INLINE(2, 72)
1156# define GLIB_AVAILABLE_MACRO_IN_2_72 GLIB_UNAVAILABLE_MACRO(2, 72)
1157# define GLIB_AVAILABLE_ENUMERATOR_IN_2_72 GLIB_UNAVAILABLE_ENUMERATOR(2, 72)
1158# define GLIB_AVAILABLE_TYPE_IN_2_72 GLIB_UNAVAILABLE_TYPE(2, 72)
1159#else
1160# define GLIB_AVAILABLE_IN_2_72 _GLIB_EXTERN
1161# define GLIB_AVAILABLE_STATIC_INLINE_IN_2_72
1162# define GLIB_AVAILABLE_MACRO_IN_2_72
1163# define GLIB_AVAILABLE_ENUMERATOR_IN_2_72
1164# define GLIB_AVAILABLE_TYPE_IN_2_72
1165#endif
1166
1167#endif /* __G_VERSION_MACROS_H__ */
1168

source code of include/glib-2.0/glib/gversionmacros.h