Merge branch '896-variant-type-docs' into 'master'
[glib.git] / glib / gversionmacros.h
blob9d299582875ca009a2d70779aeb615612b602830
1 /* GLIB - Library of useful routines for C programming
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
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.
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.
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/>.
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/.
25 #ifndef __G_VERSION_MACROS_H__
26 #define __G_VERSION_MACROS_H__
28 #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
29 #error "Only <glib.h> can be included directly."
30 #endif
32 /* Version boundaries checks */
34 #define G_ENCODE_VERSION(major,minor) ((major) << 16 | (minor) << 8)
36 /* XXX: Every new stable minor release bump should add a macro here */
38 /**
39 * GLIB_VERSION_2_26:
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.
44 * Since: 2.32
46 #define GLIB_VERSION_2_26 (G_ENCODE_VERSION (2, 26))
48 /**
49 * GLIB_VERSION_2_28:
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.
54 * Since: 2.32
56 #define GLIB_VERSION_2_28 (G_ENCODE_VERSION (2, 28))
58 /**
59 * GLIB_VERSION_2_30:
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.
64 * Since: 2.32
66 #define GLIB_VERSION_2_30 (G_ENCODE_VERSION (2, 30))
68 /**
69 * GLIB_VERSION_2_32:
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.
74 * Since: 2.32
76 #define GLIB_VERSION_2_32 (G_ENCODE_VERSION (2, 32))
78 /**
79 * GLIB_VERSION_2_34:
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.
84 * Since: 2.34
86 #define GLIB_VERSION_2_34 (G_ENCODE_VERSION (2, 34))
88 /**
89 * GLIB_VERSION_2_36:
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.
94 * Since: 2.36
96 #define GLIB_VERSION_2_36 (G_ENCODE_VERSION (2, 36))
98 /**
99 * GLIB_VERSION_2_38:
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.
104 * Since: 2.38
106 #define GLIB_VERSION_2_38 (G_ENCODE_VERSION (2, 38))
109 * GLIB_VERSION_2_40:
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.
114 * Since: 2.40
116 #define GLIB_VERSION_2_40 (G_ENCODE_VERSION (2, 40))
119 * GLIB_VERSION_2_42:
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.
124 * Since: 2.42
126 #define GLIB_VERSION_2_42 (G_ENCODE_VERSION (2, 42))
129 * GLIB_VERSION_2_44:
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.
134 * Since: 2.44
136 #define GLIB_VERSION_2_44 (G_ENCODE_VERSION (2, 44))
139 * GLIB_VERSION_2_46:
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.
144 * Since: 2.46
146 #define GLIB_VERSION_2_46 (G_ENCODE_VERSION (2, 46))
149 * GLIB_VERSION_2_48:
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.
154 * Since: 2.48
156 #define GLIB_VERSION_2_48 (G_ENCODE_VERSION (2, 48))
159 * GLIB_VERSION_2_50:
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.
164 * Since: 2.50
166 #define GLIB_VERSION_2_50 (G_ENCODE_VERSION (2, 50))
169 * GLIB_VERSION_2_52:
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.
174 * Since: 2.52
176 #define GLIB_VERSION_2_52 (G_ENCODE_VERSION (2, 52))
179 * GLIB_VERSION_2_54:
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.
184 * Since: 2.54
186 #define GLIB_VERSION_2_54 (G_ENCODE_VERSION (2, 54))
189 * GLIB_VERSION_2_56:
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.
194 * Since: 2.56
196 #define GLIB_VERSION_2_56 (G_ENCODE_VERSION (2, 56))
199 * GLIB_VERSION_2_58:
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.
204 * Since: 2.58
206 #define GLIB_VERSION_2_58 (G_ENCODE_VERSION (2, 58))
208 /* evaluates to the current stable version; for development cycles,
209 * this means the next stable target
211 #if (GLIB_MINOR_VERSION % 2)
212 #define GLIB_VERSION_CUR_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION + 1))
213 #else
214 #define GLIB_VERSION_CUR_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION))
215 #endif
217 /* evaluates to the previous stable version */
218 #if (GLIB_MINOR_VERSION % 2)
219 #define GLIB_VERSION_PREV_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION - 1))
220 #else
221 #define GLIB_VERSION_PREV_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION - 2))
222 #endif
225 * GLIB_VERSION_MIN_REQUIRED:
227 * A macro that should be defined by the user prior to including
228 * the glib.h header.
229 * The definition should be one of the predefined GLib version
230 * macros: %GLIB_VERSION_2_26, %GLIB_VERSION_2_28,...
232 * This macro defines the earliest version of GLib that the package is
233 * required to be able to compile against.
235 * If the compiler is configured to warn about the use of deprecated
236 * functions, then using functions that were deprecated in version
237 * %GLIB_VERSION_MIN_REQUIRED or earlier will cause warnings (but
238 * using functions deprecated in later releases will not).
240 * Since: 2.32
242 /* If the package sets GLIB_VERSION_MIN_REQUIRED to some future
243 * GLIB_VERSION_X_Y value that we don't know about, it will compare as
244 * 0 in preprocessor tests.
246 #ifndef GLIB_VERSION_MIN_REQUIRED
247 # define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_CUR_STABLE)
248 #elif GLIB_VERSION_MIN_REQUIRED == 0
249 # undef GLIB_VERSION_MIN_REQUIRED
250 # define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_CUR_STABLE + 2)
251 #endif
254 * GLIB_VERSION_MAX_ALLOWED:
256 * A macro that should be defined by the user prior to including
257 * the glib.h header.
258 * The definition should be one of the predefined GLib version
259 * macros: %GLIB_VERSION_2_26, %GLIB_VERSION_2_28,...
261 * This macro defines the latest version of the GLib API that the
262 * package is allowed to make use of.
264 * If the compiler is configured to warn about the use of deprecated
265 * functions, then using functions added after version
266 * %GLIB_VERSION_MAX_ALLOWED will cause warnings.
268 * Unless you are using GLIB_CHECK_VERSION() or the like to compile
269 * different code depending on the GLib version, then this should be
270 * set to the same value as %GLIB_VERSION_MIN_REQUIRED.
272 * Since: 2.32
274 #if !defined (GLIB_VERSION_MAX_ALLOWED) || (GLIB_VERSION_MAX_ALLOWED == 0)
275 # undef GLIB_VERSION_MAX_ALLOWED
276 # define GLIB_VERSION_MAX_ALLOWED (GLIB_VERSION_CUR_STABLE)
277 #endif
279 /* sanity checks */
280 #if GLIB_VERSION_MIN_REQUIRED > GLIB_VERSION_CUR_STABLE
281 #error "GLIB_VERSION_MIN_REQUIRED must be <= GLIB_VERSION_CUR_STABLE"
282 #endif
283 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_MIN_REQUIRED
284 #error "GLIB_VERSION_MAX_ALLOWED must be >= GLIB_VERSION_MIN_REQUIRED"
285 #endif
286 #if GLIB_VERSION_MIN_REQUIRED < GLIB_VERSION_2_26
287 #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
288 #endif
290 /* These macros are used to mark deprecated functions in GLib headers,
291 * and thus have to be exposed in installed headers. But please
292 * do *not* use them in other projects. Instead, use G_DEPRECATED
293 * or define your own wrappers around it.
295 #define GLIB_AVAILABLE_IN_ALL _GLIB_EXTERN
297 /* XXX: Every new stable minor release should add a set of macros here */
299 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_26
300 # define GLIB_DEPRECATED_IN_2_26 GLIB_DEPRECATED
301 # define GLIB_DEPRECATED_IN_2_26_FOR(f) GLIB_DEPRECATED_FOR(f)
302 #else
303 # define GLIB_DEPRECATED_IN_2_26 _GLIB_EXTERN
304 # define GLIB_DEPRECATED_IN_2_26_FOR(f) _GLIB_EXTERN
305 #endif
307 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_26
308 # define GLIB_AVAILABLE_IN_2_26 GLIB_UNAVAILABLE(2, 26)
309 #else
310 # define GLIB_AVAILABLE_IN_2_26 _GLIB_EXTERN
311 #endif
313 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_28
314 # define GLIB_DEPRECATED_IN_2_28 GLIB_DEPRECATED
315 # define GLIB_DEPRECATED_IN_2_28_FOR(f) GLIB_DEPRECATED_FOR(f)
316 #else
317 # define GLIB_DEPRECATED_IN_2_28 _GLIB_EXTERN
318 # define GLIB_DEPRECATED_IN_2_28_FOR(f) _GLIB_EXTERN
319 #endif
321 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_28
322 # define GLIB_AVAILABLE_IN_2_28 GLIB_UNAVAILABLE(2, 28)
323 #else
324 # define GLIB_AVAILABLE_IN_2_28 _GLIB_EXTERN
325 #endif
327 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_30
328 # define GLIB_DEPRECATED_IN_2_30 GLIB_DEPRECATED
329 # define GLIB_DEPRECATED_IN_2_30_FOR(f) GLIB_DEPRECATED_FOR(f)
330 #else
331 # define GLIB_DEPRECATED_IN_2_30 _GLIB_EXTERN
332 # define GLIB_DEPRECATED_IN_2_30_FOR(f) _GLIB_EXTERN
333 #endif
335 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_30
336 # define GLIB_AVAILABLE_IN_2_30 GLIB_UNAVAILABLE(2, 30)
337 #else
338 # define GLIB_AVAILABLE_IN_2_30 _GLIB_EXTERN
339 #endif
341 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_32
342 # define GLIB_DEPRECATED_IN_2_32 GLIB_DEPRECATED
343 # define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR(f)
344 #else
345 # define GLIB_DEPRECATED_IN_2_32 _GLIB_EXTERN
346 # define GLIB_DEPRECATED_IN_2_32_FOR(f) _GLIB_EXTERN
347 #endif
349 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_32
350 # define GLIB_AVAILABLE_IN_2_32 GLIB_UNAVAILABLE(2, 32)
351 #else
352 # define GLIB_AVAILABLE_IN_2_32 _GLIB_EXTERN
353 #endif
355 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_34
356 # define GLIB_DEPRECATED_IN_2_34 GLIB_DEPRECATED
357 # define GLIB_DEPRECATED_IN_2_34_FOR(f) GLIB_DEPRECATED_FOR(f)
358 #else
359 # define GLIB_DEPRECATED_IN_2_34 _GLIB_EXTERN
360 # define GLIB_DEPRECATED_IN_2_34_FOR(f) _GLIB_EXTERN
361 #endif
363 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_34
364 # define GLIB_AVAILABLE_IN_2_34 GLIB_UNAVAILABLE(2, 34)
365 #else
366 # define GLIB_AVAILABLE_IN_2_34 _GLIB_EXTERN
367 #endif
369 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_36
370 # define GLIB_DEPRECATED_IN_2_36 GLIB_DEPRECATED
371 # define GLIB_DEPRECATED_IN_2_36_FOR(f) GLIB_DEPRECATED_FOR(f)
372 #else
373 # define GLIB_DEPRECATED_IN_2_36 _GLIB_EXTERN
374 # define GLIB_DEPRECATED_IN_2_36_FOR(f) _GLIB_EXTERN
375 #endif
377 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_36
378 # define GLIB_AVAILABLE_IN_2_36 GLIB_UNAVAILABLE(2, 36)
379 #else
380 # define GLIB_AVAILABLE_IN_2_36 _GLIB_EXTERN
381 #endif
383 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_38
384 # define GLIB_DEPRECATED_IN_2_38 GLIB_DEPRECATED
385 # define GLIB_DEPRECATED_IN_2_38_FOR(f) GLIB_DEPRECATED_FOR(f)
386 #else
387 # define GLIB_DEPRECATED_IN_2_38 _GLIB_EXTERN
388 # define GLIB_DEPRECATED_IN_2_38_FOR(f) _GLIB_EXTERN
389 #endif
391 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
392 # define GLIB_AVAILABLE_IN_2_38 GLIB_UNAVAILABLE(2, 38)
393 #else
394 # define GLIB_AVAILABLE_IN_2_38 _GLIB_EXTERN
395 #endif
397 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_40
398 # define GLIB_DEPRECATED_IN_2_40 GLIB_DEPRECATED
399 # define GLIB_DEPRECATED_IN_2_40_FOR(f) GLIB_DEPRECATED_FOR(f)
400 #else
401 # define GLIB_DEPRECATED_IN_2_40 _GLIB_EXTERN
402 # define GLIB_DEPRECATED_IN_2_40_FOR(f) _GLIB_EXTERN
403 #endif
405 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_40
406 # define GLIB_AVAILABLE_IN_2_40 GLIB_UNAVAILABLE(2, 40)
407 #else
408 # define GLIB_AVAILABLE_IN_2_40 _GLIB_EXTERN
409 #endif
411 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_42
412 # define GLIB_DEPRECATED_IN_2_42 GLIB_DEPRECATED
413 # define GLIB_DEPRECATED_IN_2_42_FOR(f) GLIB_DEPRECATED_FOR(f)
414 #else
415 # define GLIB_DEPRECATED_IN_2_42 _GLIB_EXTERN
416 # define GLIB_DEPRECATED_IN_2_42_FOR(f) _GLIB_EXTERN
417 #endif
419 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_42
420 # define GLIB_AVAILABLE_IN_2_42 GLIB_UNAVAILABLE(2, 42)
421 #else
422 # define GLIB_AVAILABLE_IN_2_42 _GLIB_EXTERN
423 #endif
425 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_44
426 # define GLIB_DEPRECATED_IN_2_44 GLIB_DEPRECATED
427 # define GLIB_DEPRECATED_IN_2_44_FOR(f) GLIB_DEPRECATED_FOR(f)
428 #else
429 # define GLIB_DEPRECATED_IN_2_44 _GLIB_EXTERN
430 # define GLIB_DEPRECATED_IN_2_44_FOR(f) _GLIB_EXTERN
431 #endif
433 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_44
434 # define GLIB_AVAILABLE_IN_2_44 GLIB_UNAVAILABLE(2, 44)
435 #else
436 # define GLIB_AVAILABLE_IN_2_44 _GLIB_EXTERN
437 #endif
439 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_46
440 # define GLIB_DEPRECATED_IN_2_46 GLIB_DEPRECATED
441 # define GLIB_DEPRECATED_IN_2_46_FOR(f) GLIB_DEPRECATED_FOR(f)
442 #else
443 # define GLIB_DEPRECATED_IN_2_46 _GLIB_EXTERN
444 # define GLIB_DEPRECATED_IN_2_46_FOR(f) _GLIB_EXTERN
445 #endif
447 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_46
448 # define GLIB_AVAILABLE_IN_2_46 GLIB_UNAVAILABLE(2, 46)
449 #else
450 # define GLIB_AVAILABLE_IN_2_46 _GLIB_EXTERN
451 #endif
453 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_48
454 # define GLIB_DEPRECATED_IN_2_48 GLIB_DEPRECATED
455 # define GLIB_DEPRECATED_IN_2_48_FOR(f) GLIB_DEPRECATED_FOR(f)
456 #else
457 # define GLIB_DEPRECATED_IN_2_48 _GLIB_EXTERN
458 # define GLIB_DEPRECATED_IN_2_48_FOR(f) _GLIB_EXTERN
459 #endif
461 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_48
462 # define GLIB_AVAILABLE_IN_2_48 GLIB_UNAVAILABLE(2, 48)
463 #else
464 # define GLIB_AVAILABLE_IN_2_48 _GLIB_EXTERN
465 #endif
467 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_50
468 # define GLIB_DEPRECATED_IN_2_50 GLIB_DEPRECATED
469 # define GLIB_DEPRECATED_IN_2_50_FOR(f) GLIB_DEPRECATED_FOR(f)
470 #else
471 # define GLIB_DEPRECATED_IN_2_50 _GLIB_EXTERN
472 # define GLIB_DEPRECATED_IN_2_50_FOR(f) _GLIB_EXTERN
473 #endif
475 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_50
476 # define GLIB_AVAILABLE_IN_2_50 GLIB_UNAVAILABLE(2, 50)
477 #else
478 # define GLIB_AVAILABLE_IN_2_50 _GLIB_EXTERN
479 #endif
481 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_52
482 # define GLIB_DEPRECATED_IN_2_52 GLIB_DEPRECATED
483 # define GLIB_DEPRECATED_IN_2_52_FOR(f) GLIB_DEPRECATED_FOR(f)
484 #else
485 # define GLIB_DEPRECATED_IN_2_52 _GLIB_EXTERN
486 # define GLIB_DEPRECATED_IN_2_52_FOR(f) _GLIB_EXTERN
487 #endif
489 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_52
490 # define GLIB_AVAILABLE_IN_2_52 GLIB_UNAVAILABLE(2, 52)
491 #else
492 # define GLIB_AVAILABLE_IN_2_52 _GLIB_EXTERN
493 #endif
495 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_54
496 # define GLIB_DEPRECATED_IN_2_54 GLIB_DEPRECATED
497 # define GLIB_DEPRECATED_IN_2_54_FOR(f) GLIB_DEPRECATED_FOR(f)
498 #else
499 # define GLIB_DEPRECATED_IN_2_54 _GLIB_EXTERN
500 # define GLIB_DEPRECATED_IN_2_54_FOR(f) _GLIB_EXTERN
501 #endif
503 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_54
504 # define GLIB_AVAILABLE_IN_2_54 GLIB_UNAVAILABLE(2, 54)
505 #else
506 # define GLIB_AVAILABLE_IN_2_54 _GLIB_EXTERN
507 #endif
509 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_56
510 # define GLIB_DEPRECATED_IN_2_56 GLIB_DEPRECATED
511 # define GLIB_DEPRECATED_IN_2_56_FOR(f) GLIB_DEPRECATED_FOR(f)
512 #else
513 # define GLIB_DEPRECATED_IN_2_56 _GLIB_EXTERN
514 # define GLIB_DEPRECATED_IN_2_56_FOR(f) _GLIB_EXTERN
515 #endif
517 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_56
518 # define GLIB_AVAILABLE_IN_2_56 GLIB_UNAVAILABLE(2, 56)
519 #else
520 # define GLIB_AVAILABLE_IN_2_56 _GLIB_EXTERN
521 #endif
523 #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_58
524 # define GLIB_DEPRECATED_IN_2_58 GLIB_DEPRECATED
525 # define GLIB_DEPRECATED_IN_2_58_FOR(f) GLIB_DEPRECATED_FOR(f)
526 #else
527 # define GLIB_DEPRECATED_IN_2_58 _GLIB_EXTERN
528 # define GLIB_DEPRECATED_IN_2_58_FOR(f) _GLIB_EXTERN
529 #endif
531 #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_58
532 # define GLIB_AVAILABLE_IN_2_58 GLIB_UNAVAILABLE(2, 58)
533 #else
534 # define GLIB_AVAILABLE_IN_2_58 _GLIB_EXTERN
535 #endif
537 #endif /* __G_VERSION_MACROS_H__ */