1/* Pango - Internationalized text layout and rendering library
2 * Copyright (C) 1999 Red Hat Software
3 * Copyright (C) 2012 Ryan Lortie, Matthias Clasen and Emmanuele Bassi
4 * Copyright (C) 2016 Chun-wei Fan
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __PANGO_VERSION_H__
21#define __PANGO_VERSION_H__
22
23#include <pango/pango-features.h>
24
25#include <glib.h>
26
27#ifndef _PANGO_EXTERN
28#define _PANGO_EXTERN extern
29#endif
30
31#define PANGO_AVAILABLE_IN_ALL _PANGO_EXTERN
32
33/* XXX: Every new stable minor release bump should add a macro here */
34
35/**
36 * PANGO_VERSION_1_2:
37 *
38 * A macro that evaluates to the 1.2 version of Pango, in a format
39 * that can be used by the C pre-processor.
40 *
41 * Since: 1.42
42 */
43#define PANGO_VERSION_1_2 (G_ENCODE_VERSION (1, 2))
44
45/**
46 * PANGO_VERSION_1_4:
47 *
48 * A macro that evaluates to the 1.4 version of Pango, in a format
49 * that can be used by the C pre-processor.
50 *
51 * Since: 1.42
52 */
53#define PANGO_VERSION_1_4 (G_ENCODE_VERSION (1, 4))
54
55/**
56 * PANGO_VERSION_1_6:
57 *
58 * A macro that evaluates to the 1.6 version of Pango, in a format
59 * that can be used by the C pre-processor.
60 *
61 * Since: 1.42
62 */
63#define PANGO_VERSION_1_6 (G_ENCODE_VERSION (1, 6))
64
65/**
66 * PANGO_VERSION_1_8:
67 *
68 * A macro that evaluates to the 1.8 version of Pango, in a format
69 * that can be used by the C pre-processor.
70 *
71 * Since: 1.42
72 */
73#define PANGO_VERSION_1_8 (G_ENCODE_VERSION (1, 8))
74
75/**
76 * PANGO_VERSION_1_10:
77 *
78 * A macro that evaluates to the 1.10 version of Pango, in a format
79 * that can be used by the C pre-processor.
80 *
81 * Since: 1.42
82 */
83#define PANGO_VERSION_1_10 (G_ENCODE_VERSION (1, 10))
84
85/**
86 * PANGO_VERSION_1_12:
87 *
88 * A macro that evaluates to the 1.12 version of Pango, in a format
89 * that can be used by the C pre-processor.
90 *
91 * Since: 1.42
92 */
93#define PANGO_VERSION_1_12 (G_ENCODE_VERSION (1, 12))
94
95/**
96 * PANGO_VERSION_1_14:
97 *
98 * A macro that evaluates to the 1.14 version of Pango, in a format
99 * that can be used by the C pre-processor.
100 *
101 * Since: 1.42
102 */
103#define PANGO_VERSION_1_14 (G_ENCODE_VERSION (1, 14))
104
105/**
106 * PANGO_VERSION_1_16:
107 *
108 * A macro that evaluates to the 1.16 version of Pango, in a format
109 * that can be used by the C pre-processor.
110 *
111 * Since: 1.42
112 */
113#define PANGO_VERSION_1_16 (G_ENCODE_VERSION (1, 16))
114
115/**
116 * PANGO_VERSION_1_18:
117 *
118 * A macro that evaluates to the 1.18 version of Pango, in a format
119 * that can be used by the C pre-processor.
120 *
121 * Since: 1.42
122 */
123#define PANGO_VERSION_1_18 (G_ENCODE_VERSION (1, 18))
124
125/**
126 * PANGO_VERSION_1_20:
127 *
128 * A macro that evaluates to the 1.20 version of Pango, in a format
129 * that can be used by the C pre-processor.
130 *
131 * Since: 1.42
132 */
133#define PANGO_VERSION_1_20 (G_ENCODE_VERSION (1, 20))
134
135/**
136 * PANGO_VERSION_1_22:
137 *
138 * A macro that evaluates to the 1.22 version of Pango, in a format
139 * that can be used by the C pre-processor.
140 *
141 * Since: 1.42
142 */
143#define PANGO_VERSION_1_22 (G_ENCODE_VERSION (1, 22))
144
145/**
146 * PANGO_VERSION_1_24:
147 *
148 * A macro that evaluates to the 1.24 version of Pango, in a format
149 * that can be used by the C pre-processor.
150 *
151 * Since: 1.42
152 */
153#define PANGO_VERSION_1_24 (G_ENCODE_VERSION (1, 24))
154
155/**
156 * PANGO_VERSION_1_26:
157 *
158 * A macro that evaluates to the 1.26 version of Pango, in a format
159 * that can be used by the C pre-processor.
160 *
161 * Since: 1.42
162 */
163#define PANGO_VERSION_1_26 (G_ENCODE_VERSION (1, 26))
164
165/**
166 * PANGO_VERSION_1_28:
167 *
168 * A macro that evaluates to the 1.28 version of Pango, in a format
169 * that can be used by the C pre-processor.
170 *
171 * Since: 1.42
172 */
173#define PANGO_VERSION_1_28 (G_ENCODE_VERSION (1, 28))
174
175/**
176 * PANGO_VERSION_1_30:
177 *
178 * A macro that evaluates to the 1.30 version of Pango, in a format
179 * that can be used by the C pre-processor.
180 *
181 * Since: 1.42
182 */
183#define PANGO_VERSION_1_30 (G_ENCODE_VERSION (1, 30))
184
185/**
186 * PANGO_VERSION_1_32:
187 *
188 * A macro that evaluates to the 1.32 version of Pango, in a format
189 * that can be used by the C pre-processor.
190 *
191 * Since: 1.42
192 */
193#define PANGO_VERSION_1_32 (G_ENCODE_VERSION (1, 32))
194
195/**
196 * PANGO_VERSION_1_34:
197 *
198 * A macro that evaluates to the 1.34 version of Pango, in a format
199 * that can be used by the C pre-processor.
200 *
201 * Since: 1.42
202 */
203#define PANGO_VERSION_1_34 (G_ENCODE_VERSION (1, 34))
204
205/**
206 * PANGO_VERSION_1_36:
207 *
208 * A macro that evaluates to the 1.36 version of Pango, in a format
209 * that can be used by the C pre-processor.
210 *
211 * Since: 1.42
212 */
213#define PANGO_VERSION_1_36 (G_ENCODE_VERSION (1, 36))
214
215/**
216 * PANGO_VERSION_1_38:
217 *
218 * A macro that evaluates to the 1.38 version of Pango, in a format
219 * that can be used by the C pre-processor.
220 *
221 * Since: 1.42
222 */
223#define PANGO_VERSION_1_38 (G_ENCODE_VERSION (1, 38))
224
225/**
226 * PANGO_VERSION_1_40:
227 *
228 * A macro that evaluates to the 1.40 version of Pango, in a format
229 * that can be used by the C pre-processor.
230 *
231 * Since: 1.42
232 */
233#define PANGO_VERSION_1_40 (G_ENCODE_VERSION (1, 40))
234
235/**
236 * PANGO_VERSION_1_42:
237 *
238 * A macro that evaluates to the 1.42 version of Pango, in a format
239 * that can be used by the C pre-processor.
240 *
241 * Since: 1.42
242 */
243#define PANGO_VERSION_1_42 (G_ENCODE_VERSION (1, 42))
244
245/**
246 * PANGO_VERSION_1_44:
247 *
248 * A macro that evaluates to the 1.44 version of Pango, in a format
249 * that can be used by the C pre-processor.
250 *
251 * Since: 1.44
252 */
253#define PANGO_VERSION_1_44 (G_ENCODE_VERSION (1, 44))
254
255/* evaluates to the current stable version; for development cycles,
256 * this means the next stable target
257 */
258#if (PANGO_VERSION_MINOR % 2)
259#define PANGO_VERSION_CUR_STABLE (G_ENCODE_VERSION (PANGO_VERSION_MAJOR, PANGO_VERSION_MINOR + 1))
260#else
261#define PANGO_VERSION_CUR_STABLE (G_ENCODE_VERSION (PANGO_VERSION_MAJOR, PANGO_VERSION_MINOR))
262#endif
263
264/* evaluates to the previous stable version */
265#if (PANGO_VERSION_MINOR % 2)
266#define PANGO_VERSION_PREV_STABLE (G_ENCODE_VERSION (PANGO_VERSION_MAJOR, PANGO_VERSION_MINOR - 1))
267#else
268#define PANGO_VERSION_PREV_STABLE (G_ENCODE_VERSION (PANGO_VERSION_MAJOR, PANGO_VERSION_MINOR - 2))
269#endif
270
271/**
272 * PANGO_VERSION_MIN_REQUIRED:
273 *
274 * A macro that should be defined by the user prior to including
275 * the pango.h header.
276 * The definition should be one of the predefined Pango version
277 * macros: %PANGO_VERSION_1_2, %PANGO_VERSION_1_4,...
278 *
279 * This macro defines the earliest version of Pango that the package is
280 * required to be able to compile against.
281 *
282 * If the compiler is configured to warn about the use of deprecated
283 * functions, then using functions that were deprecated in version
284 * %PANGO_VERSION_MIN_REQUIRED or earlier will cause warnings (but
285 * using functions deprecated in later releases will not).
286 *
287 * Since: 1.42
288 */
289/* If the package sets PANGO_VERSION_MIN_REQUIRED to some future
290 * PANGO_VERSION_X_Y value that we don't know about, it will compare as
291 * 0 in preprocessor tests.
292 */
293#ifndef PANGO_VERSION_MIN_REQUIRED
294# define PANGO_VERSION_MIN_REQUIRED (PANGO_VERSION_CUR_STABLE)
295#elif PANGO_VERSION_MIN_REQUIRED == 0
296# undef PANGO_VERSION_MIN_REQUIRED
297# define PANGO_VERSION_MIN_REQUIRED (PANGO_VERSION_CUR_STABLE + 2)
298#endif
299
300/**
301 * PANGO_VERSION_MAX_ALLOWED:
302 *
303 * A macro that should be defined by the user prior to including
304 * the glib.h header.
305 * The definition should be one of the predefined Pango version
306 * macros: %PANGO_VERSION_1_2, %PANGO_VERSION_1_4,...
307 *
308 * This macro defines the latest version of the Pango API that the
309 * package is allowed to make use of.
310 *
311 * If the compiler is configured to warn about the use of deprecated
312 * functions, then using functions added after version
313 * %PANGO_VERSION_MAX_ALLOWED will cause warnings.
314 *
315 * Unless you are using PANGO_CHECK_VERSION() or the like to compile
316 * different code depending on the Pango version, then this should be
317 * set to the same value as %PANGO_VERSION_MIN_REQUIRED.
318 *
319 * Since: 1.42
320 */
321#if !defined (PANGO_VERSION_MAX_ALLOWED) || (PANGO_VERSION_MAX_ALLOWED == 0)
322# undef PANGO_VERSION_MAX_ALLOWED
323# define PANGO_VERSION_MAX_ALLOWED (PANGO_VERSION_CUR_STABLE)
324#endif
325
326/* sanity checks */
327#if PANGO_VERSION_MIN_REQUIRED > PANGO_VERSION_CUR_STABLE
328#error "PANGO_VERSION_MIN_REQUIRED must be <= PANGO_VERSION_CUR_STABLE"
329#endif
330#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_MIN_REQUIRED
331#error "PANGO_VERSION_MAX_ALLOWED must be >= PANGO_VERSION_MIN_REQUIRED"
332#endif
333#if PANGO_VERSION_MIN_REQUIRED < PANGO_VERSION_1_2
334#error "PANGO_VERSION_MIN_REQUIRED must be >= PANGO_VERSION_1_2"
335#endif
336
337/* These macros are used to mark deprecated functions in Pango headers,
338 * and thus have to be exposed in installed headers.
339 */
340#ifdef PANGO_DISABLE_DEPRECATION_WARNINGS
341# define PANGO_DEPRECATED _PANGO_EXTERN
342# define PANGO_DEPRECATED_FOR(f) _PANGO_EXTERN
343# define PANGO_UNAVAILABLE(maj,min) _PANGO_EXTERN
344#else
345# define PANGO_DEPRECATED G_DEPRECATED _PANGO_EXTERN
346# define PANGO_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _PANGO_EXTERN
347# define PANGO_UNAVAILABLE(maj,min) G_UNAVAILABLE(maj,min) _PANGO_EXTERN
348#endif
349
350/* XXX: Every new stable minor release should add a set of macros here */
351#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_2
352# define PANGO_DEPRECATED_IN_1_2 PANGO_DEPRECATED
353# define PANGO_DEPRECATED_IN_1_2_FOR(f) PANGO_DEPRECATED_FOR(f)
354#else
355# define PANGO_DEPRECATED_IN_1_2 _PANGO_EXTERN
356# define PANGO_DEPRECATED_IN_1_2_FOR(f) _PANGO_EXTERN
357#endif
358
359#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_2
360# define PANGO_AVAILABLE_IN_1_2 PANGO_UNAVAILABLE(1, 2)
361#else
362# define PANGO_AVAILABLE_IN_1_2 _PANGO_EXTERN
363#endif
364
365#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_4
366# define PANGO_DEPRECATED_IN_1_4 PANGO_DEPRECATED
367# define PANGO_DEPRECATED_IN_1_4_FOR(f) PANGO_DEPRECATED_FOR(f)
368#else
369# define PANGO_DEPRECATED_IN_1_4 _PANGO_EXTERN
370# define PANGO_DEPRECATED_IN_1_4_FOR(f) _PANGO_EXTERN
371#endif
372
373#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_4
374# define PANGO_AVAILABLE_IN_1_4 PANGO_UNAVAILABLE(1, 4)
375#else
376# define PANGO_AVAILABLE_IN_1_4 _PANGO_EXTERN
377#endif
378
379
380#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_6
381# define PANGO_DEPRECATED_IN_1_6 PANGO_DEPRECATED
382# define PANGO_DEPRECATED_IN_1_6_FOR(f) PANGO_DEPRECATED_FOR(f)
383#else
384# define PANGO_DEPRECATED_IN_1_6 _PANGO_EXTERN
385# define PANGO_DEPRECATED_IN_1_6_FOR(f) _PANGO_EXTERN
386#endif
387
388#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_6
389# define PANGO_AVAILABLE_IN_1_6 PANGO_UNAVAILABLE(1, 6)
390#else
391# define PANGO_AVAILABLE_IN_1_6 _PANGO_EXTERN
392#endif
393
394#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_8
395# define PANGO_DEPRECATED_IN_1_8 PANGO_DEPRECATED
396# define PANGO_DEPRECATED_IN_1_8_FOR(f) PANGO_DEPRECATED_FOR(f)
397#else
398# define PANGO_DEPRECATED_IN_1_8 _PANGO_EXTERN
399# define PANGO_DEPRECATED_IN_1_8_FOR(f) _PANGO_EXTERN
400#endif
401
402#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_8
403# define PANGO_AVAILABLE_IN_1_8 PANGO_UNAVAILABLE(1, 8)
404#else
405# define PANGO_AVAILABLE_IN_1_8 _PANGO_EXTERN
406#endif
407
408#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_10
409# define PANGO_DEPRECATED_IN_1_10 PANGO_DEPRECATED
410# define PANGO_DEPRECATED_IN_1_10_FOR(f) PANGO_DEPRECATED_FOR(f)
411#else
412# define PANGO_DEPRECATED_IN_1_10 _PANGO_EXTERN
413# define PANGO_DEPRECATED_IN_1_10_FOR(f) _PANGO_EXTERN
414#endif
415
416#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_10
417# define PANGO_AVAILABLE_IN_1_10 PANGO_UNAVAILABLE(1, 10)
418#else
419# define PANGO_AVAILABLE_IN_1_10 _PANGO_EXTERN
420#endif
421
422#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_12
423# define PANGO_AVAILABLE_IN_1_12 PANGO_UNAVAILABLE(1, 12)
424#else
425# define PANGO_AVAILABLE_IN_1_12 _PANGO_EXTERN
426#endif
427
428#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_12
429# define PANGO_DEPRECATED_IN_1_12 PANGO_DEPRECATED
430# define PANGO_DEPRECATED_IN_1_12_FOR(f) PANGO_DEPRECATED_FOR(f)
431#else
432# define PANGO_DEPRECATED_IN_1_12 _PANGO_EXTERN
433# define PANGO_DEPRECATED_IN_1_12_FOR(f) _PANGO_EXTERN
434#endif
435
436#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_14
437# define PANGO_AVAILABLE_IN_1_14 PANGO_UNAVAILABLE(1, 14)
438#else
439# define PANGO_AVAILABLE_IN_1_14 _PANGO_EXTERN
440#endif
441
442#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_14
443# define PANGO_DEPRECATED_IN_1_14 PANGO_DEPRECATED
444# define PANGO_DEPRECATED_IN_1_14_FOR(f) PANGO_DEPRECATED_FOR(f)
445#else
446# define PANGO_DEPRECATED_IN_1_14 _PANGO_EXTERN
447# define PANGO_DEPRECATED_IN_1_14_FOR(f) _PANGO_EXTERN
448#endif
449
450#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_16
451# define PANGO_AVAILABLE_IN_1_16 PANGO_UNAVAILABLE(1, 16)
452#else
453# define PANGO_AVAILABLE_IN_1_16 _PANGO_EXTERN
454#endif
455
456#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_16
457# define PANGO_DEPRECATED_IN_1_16 PANGO_DEPRECATED
458# define PANGO_DEPRECATED_IN_1_16_FOR(f) PANGO_DEPRECATED_FOR(f)
459#else
460# define PANGO_DEPRECATED_IN_1_16 _PANGO_EXTERN
461# define PANGO_DEPRECATED_IN_1_16_FOR(f) _PANGO_EXTERN
462#endif
463
464#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_18
465# define PANGO_DEPRECATED_IN_1_18 PANGO_DEPRECATED
466# define PANGO_DEPRECATED_IN_1_18_FOR(f) PANGO_DEPRECATED_FOR(f)
467#else
468# define PANGO_DEPRECATED_IN_1_18 _PANGO_EXTERN
469# define PANGO_DEPRECATED_IN_1_18_FOR(f) _PANGO_EXTERN
470#endif
471
472#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_18
473# define PANGO_AVAILABLE_IN_1_18 PANGO_UNAVAILABLE(1, 18)
474#else
475# define PANGO_AVAILABLE_IN_1_18 _PANGO_EXTERN
476#endif
477
478#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_20
479# define PANGO_DEPRECATED_IN_1_20 PANGO_DEPRECATED
480# define PANGO_DEPRECATED_IN_1_20_FOR(f) PANGO_DEPRECATED_FOR(f)
481#else
482# define PANGO_DEPRECATED_IN_1_20 _PANGO_EXTERN
483# define PANGO_DEPRECATED_IN_1_20_FOR(f) _PANGO_EXTERN
484#endif
485
486#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_20
487# define PANGO_AVAILABLE_IN_1_20 PANGO_UNAVAILABLE(1, 20)
488#else
489# define PANGO_AVAILABLE_IN_1_20 _PANGO_EXTERN
490#endif
491
492#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_22
493# define PANGO_DEPRECATED_IN_1_22 PANGO_DEPRECATED
494# define PANGO_DEPRECATED_IN_1_22_FOR(f) PANGO_DEPRECATED_FOR(f)
495#else
496# define PANGO_DEPRECATED_IN_1_22 _PANGO_EXTERN
497# define PANGO_DEPRECATED_IN_1_22_FOR(f) _PANGO_EXTERN
498#endif
499
500#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_22
501# define PANGO_AVAILABLE_IN_1_22 PANGO_UNAVAILABLE(1, 22)
502#else
503# define PANGO_AVAILABLE_IN_1_22 _PANGO_EXTERN
504#endif
505
506#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_24
507# define PANGO_DEPRECATED_IN_1_24 PANGO_DEPRECATED
508# define PANGO_DEPRECATED_IN_1_24_FOR(f) PANGO_DEPRECATED_FOR(f)
509#else
510# define PANGO_DEPRECATED_IN_1_24 _PANGO_EXTERN
511# define PANGO_DEPRECATED_IN_1_24_FOR(f) _PANGO_EXTERN
512#endif
513
514#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_24
515# define PANGO_AVAILABLE_IN_1_24 PANGO_UNAVAILABLE(1, 24)
516#else
517# define PANGO_AVAILABLE_IN_1_24 _PANGO_EXTERN
518#endif
519
520#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_26
521# define PANGO_DEPRECATED_IN_1_26 PANGO_DEPRECATED
522# define PANGO_DEPRECATED_IN_1_26_FOR(f) PANGO_DEPRECATED_FOR(f)
523#else
524# define PANGO_DEPRECATED_IN_1_26 _PANGO_EXTERN
525# define PANGO_DEPRECATED_IN_1_26_FOR(f) _PANGO_EXTERN
526#endif
527
528#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_26
529# define PANGO_AVAILABLE_IN_1_26 PANGO_UNAVAILABLE(1, 26)
530#else
531# define PANGO_AVAILABLE_IN_1_26 _PANGO_EXTERN
532#endif
533
534#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_28
535# define PANGO_DEPRECATED_IN_1_28 PANGO_DEPRECATED
536# define PANGO_DEPRECATED_IN_1_28_FOR(f) PANGO_DEPRECATED_FOR(f)
537#else
538# define PANGO_DEPRECATED_IN_1_28 _PANGO_EXTERN
539# define PANGO_DEPRECATED_IN_1_28_FOR(f) _PANGO_EXTERN
540#endif
541
542#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_28
543# define PANGO_AVAILABLE_IN_1_28 PANGO_UNAVAILABLE(1, 28)
544#else
545# define PANGO_AVAILABLE_IN_1_28 _PANGO_EXTERN
546#endif
547
548#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_30
549# define PANGO_DEPRECATED_IN_1_30 PANGO_DEPRECATED
550# define PANGO_DEPRECATED_IN_1_30_FOR(f) PANGO_DEPRECATED_FOR(f)
551#else
552# define PANGO_DEPRECATED_IN_1_30 _PANGO_EXTERN
553# define PANGO_DEPRECATED_IN_1_30_FOR(f) _PANGO_EXTERN
554#endif
555
556#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_30
557# define PANGO_AVAILABLE_IN_1_30 PANGO_UNAVAILABLE(1, 30)
558#else
559# define PANGO_AVAILABLE_IN_1_30 _PANGO_EXTERN
560#endif
561
562#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_32
563# define PANGO_DEPRECATED_IN_1_32 PANGO_DEPRECATED
564# define PANGO_DEPRECATED_IN_1_32_FOR(f) PANGO_DEPRECATED_FOR(f)
565#else
566# define PANGO_DEPRECATED_IN_1_32 _PANGO_EXTERN
567# define PANGO_DEPRECATED_IN_1_32_FOR(f) _PANGO_EXTERN
568#endif
569
570#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_32
571# define PANGO_AVAILABLE_IN_1_32 PANGO_UNAVAILABLE(1, 32)
572#else
573# define PANGO_AVAILABLE_IN_1_32 _PANGO_EXTERN
574#endif
575
576#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_34
577# define PANGO_DEPRECATED_IN_1_34 PANGO_DEPRECATED
578# define PANGO_DEPRECATED_IN_1_34_FOR(f) PANGO_DEPRECATED_FOR(f)
579#else
580# define PANGO_DEPRECATED_IN_1_34 _PANGO_EXTERN
581# define PANGO_DEPRECATED_IN_1_34_FOR(f) _PANGO_EXTERN
582#endif
583
584#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_34
585# define PANGO_AVAILABLE_IN_1_34 PANGO_UNAVAILABLE(1, 34)
586#else
587# define PANGO_AVAILABLE_IN_1_34 _PANGO_EXTERN
588#endif
589
590#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_36
591# define PANGO_DEPRECATED_IN_1_36 PANGO_DEPRECATED
592# define PANGO_DEPRECATED_IN_1_36_FOR(f) PANGO_DEPRECATED_FOR(f)
593#else
594# define PANGO_DEPRECATED_IN_1_36 _PANGO_EXTERN
595# define PANGO_DEPRECATED_IN_1_36_FOR(f) _PANGO_EXTERN
596#endif
597
598#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_36
599# define PANGO_AVAILABLE_IN_1_36 PANGO_UNAVAILABLE(1, 36)
600#else
601# define PANGO_AVAILABLE_IN_1_36 _PANGO_EXTERN
602#endif
603
604#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_38
605# define PANGO_DEPRECATED_IN_1_38 PANGO_DEPRECATED
606# define PANGO_DEPRECATED_IN_1_38_FOR(f) PANGO_DEPRECATED_FOR(f)
607#else
608# define PANGO_DEPRECATED_IN_1_38 _PANGO_EXTERN
609# define PANGO_DEPRECATED_IN_1_38_FOR(f) _PANGO_EXTERN
610#endif
611
612#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_38
613# define PANGO_AVAILABLE_IN_1_38 PANGO_UNAVAILABLE(1, 38)
614#else
615# define PANGO_AVAILABLE_IN_1_38 _PANGO_EXTERN
616#endif
617
618#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_40
619# define PANGO_DEPRECATED_IN_1_40 PANGO_DEPRECATED
620# define PANGO_DEPRECATED_IN_1_40_FOR(f) PANGO_DEPRECATED_FOR(f)
621#else
622# define PANGO_DEPRECATED_IN_1_40 _PANGO_EXTERN
623# define PANGO_DEPRECATED_IN_1_40_FOR(f) _PANGO_EXTERN
624#endif
625
626#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_40
627# define PANGO_AVAILABLE_IN_1_40 PANGO_UNAVAILABLE(1, 40)
628#else
629# define PANGO_AVAILABLE_IN_1_40 _PANGO_EXTERN
630#endif
631
632#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_42
633# define PANGO_DEPRECATED_IN_1_42 PANGO_DEPRECATED
634# define PANGO_DEPRECATED_IN_1_42_FOR(f) PANGO_DEPRECATED_FOR(f)
635#else
636# define PANGO_DEPRECATED_IN_1_42 _PANGO_EXTERN
637# define PANGO_DEPRECATED_IN_1_42_FOR(f) _PANGO_EXTERN
638#endif
639
640#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_42
641# define PANGO_AVAILABLE_IN_1_42 PANGO_UNAVAILABLE(1, 42)
642#else
643# define PANGO_AVAILABLE_IN_1_42 _PANGO_EXTERN
644#endif
645
646#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_44
647# define PANGO_DEPRECATED_IN_1_44 PANGO_DEPRECATED
648# define PANGO_DEPRECATED_IN_1_44_FOR(f) PANGO_DEPRECATED_FOR(f)
649#else
650# define PANGO_DEPRECATED_IN_1_44 _PANGO_EXTERN
651# define PANGO_DEPRECATED_IN_1_44_FOR(f) _PANGO_EXTERN
652#endif
653
654#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_44
655# define PANGO_AVAILABLE_IN_1_44 PANGO_UNAVAILABLE(1, 44)
656#else
657# define PANGO_AVAILABLE_IN_1_44 _PANGO_EXTERN
658#endif
659
660#endif /* __PANGO_VERSION_H__ */
661