[pango/pango2: 28/178] Bump version to 1.90
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/pango2: 28/178] Bump version to 1.90
- Date: Wed, 22 Jun 2022 20:10:11 +0000 (UTC)
commit 58854bed61d500573e34a50ac08e211ffcbd45b3
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 5 07:55:33 2022 -0400
Bump version to 1.90
And clean up all the 1.x version macros.
meson.build | 2 +-
pango/pango-version-macros.h | 634 ++-----------------------------------------
2 files changed, 19 insertions(+), 617 deletions(-)
---
diff --git a/meson.build b/meson.build
index 026617176..133e6f7c7 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
project('pango', 'c', 'cpp',
- version: '1.50.7',
+ version: '1.90.0',
license: 'LGPLv2.1+',
default_options: [
'buildtype=debugoptimized',
diff --git a/pango/pango-version-macros.h b/pango/pango-version-macros.h
index 313ce69fc..775102b22 100644
--- a/pango/pango-version-macros.h
+++ b/pango/pango-version-macros.h
@@ -33,264 +33,20 @@
/* XXX: Every new stable minor release bump should add a macro here */
/**
- * PANGO_VERSION_1_2:
+ * PANGO_VERSION_1_90
*
- * A macro that evaluates to the 1.2 version of Pango, in a format
+ * A macro that evaluates to the 1.90 version of Pango, in a format
* that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_2 (G_ENCODE_VERSION (1, 2))
-
-/**
- * PANGO_VERSION_1_4:
- *
- * A macro that evaluates to the 1.4 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_4 (G_ENCODE_VERSION (1, 4))
-
-/**
- * PANGO_VERSION_1_6:
- *
- * A macro that evaluates to the 1.6 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_6 (G_ENCODE_VERSION (1, 6))
-
-/**
- * PANGO_VERSION_1_8:
- *
- * A macro that evaluates to the 1.8 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
*/
-#define PANGO_VERSION_1_8 (G_ENCODE_VERSION (1, 8))
+#define PANGO_VERSION_1_90 (G_ENCODE_VERSION (1, 90))
/**
- * PANGO_VERSION_1_10:
+ * PANGO_VERSION_2_0
*
- * A macro that evaluates to the 1.10 version of Pango, in a format
+ * A macro that evaluates to the 2.0 version of Pango, in a format
* that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_10 (G_ENCODE_VERSION (1, 10))
-
-/**
- * PANGO_VERSION_1_12:
- *
- * A macro that evaluates to the 1.12 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_12 (G_ENCODE_VERSION (1, 12))
-
-/**
- * PANGO_VERSION_1_14:
- *
- * A macro that evaluates to the 1.14 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_14 (G_ENCODE_VERSION (1, 14))
-
-/**
- * PANGO_VERSION_1_16:
- *
- * A macro that evaluates to the 1.16 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
*/
-#define PANGO_VERSION_1_16 (G_ENCODE_VERSION (1, 16))
-
-/**
- * PANGO_VERSION_1_18:
- *
- * A macro that evaluates to the 1.18 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_18 (G_ENCODE_VERSION (1, 18))
-
-/**
- * PANGO_VERSION_1_20:
- *
- * A macro that evaluates to the 1.20 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_20 (G_ENCODE_VERSION (1, 20))
-
-/**
- * PANGO_VERSION_1_22:
- *
- * A macro that evaluates to the 1.22 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_22 (G_ENCODE_VERSION (1, 22))
-
-/**
- * PANGO_VERSION_1_24:
- *
- * A macro that evaluates to the 1.24 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_24 (G_ENCODE_VERSION (1, 24))
-
-/**
- * PANGO_VERSION_1_26:
- *
- * A macro that evaluates to the 1.26 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_26 (G_ENCODE_VERSION (1, 26))
-
-/**
- * PANGO_VERSION_1_28:
- *
- * A macro that evaluates to the 1.28 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_28 (G_ENCODE_VERSION (1, 28))
-
-/**
- * PANGO_VERSION_1_30:
- *
- * A macro that evaluates to the 1.30 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_30 (G_ENCODE_VERSION (1, 30))
-
-/**
- * PANGO_VERSION_1_32:
- *
- * A macro that evaluates to the 1.32 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_32 (G_ENCODE_VERSION (1, 32))
-
-/**
- * PANGO_VERSION_1_34:
- *
- * A macro that evaluates to the 1.34 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_34 (G_ENCODE_VERSION (1, 34))
-
-/**
- * PANGO_VERSION_1_36:
- *
- * A macro that evaluates to the 1.36 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_36 (G_ENCODE_VERSION (1, 36))
-
-/**
- * PANGO_VERSION_1_38:
- *
- * A macro that evaluates to the 1.38 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_38 (G_ENCODE_VERSION (1, 38))
-
-/**
- * PANGO_VERSION_1_40:
- *
- * A macro that evaluates to the 1.40 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_40 (G_ENCODE_VERSION (1, 40))
-
-/**
- * PANGO_VERSION_1_42:
- *
- * A macro that evaluates to the 1.42 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.42
- */
-#define PANGO_VERSION_1_42 (G_ENCODE_VERSION (1, 42))
-
-/**
- * PANGO_VERSION_1_44:
- *
- * A macro that evaluates to the 1.44 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.44
- */
-#define PANGO_VERSION_1_44 (G_ENCODE_VERSION (1, 44))
-
-/**
- * PANGO_VERSION_1_46:
- *
- * A macro that evaluates to the 1.46 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.46
- */
-#define PANGO_VERSION_1_46 (G_ENCODE_VERSION (1, 46))
-
-/**
- * PANGO_VERSION_1_48:
- *
- * A macro that evaluates to the 1.48 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.48
- */
-#define PANGO_VERSION_1_48 (G_ENCODE_VERSION (1, 48))
-
-/**
- * PANGO_VERSION_1_50:
- *
- * A macro that evaluates to the 1.50 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.50
- */
-#define PANGO_VERSION_1_50 (G_ENCODE_VERSION (1, 50))
-
-/**
- * PANGO_VERSION_1_52:
- *
- * A macro that evaluates to the 1.52 version of Pango, in a format
- * that can be used by the C pre-processor.
- *
- * Since: 1.52
- */
-#define PANGO_VERSION_1_52 (G_ENCODE_VERSION (1, 52))
+#define PANGO_VERSION_2_0 (G_ENCODE_VERSION (2, 0))
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
@@ -314,7 +70,7 @@
* A macro that should be defined by the user prior to including
* the pango.h header.
* The definition should be one of the predefined Pango version
- * macros: %PANGO_VERSION_1_2, %PANGO_VERSION_1_4,...
+ * macros: %PANGO_VERSION_2_0,…
*
* This macro defines the earliest version of Pango that the package is
* required to be able to compile against.
@@ -323,8 +79,6 @@
* functions, then using functions that were deprecated in version
* %PANGO_VERSION_MIN_REQUIRED or earlier will cause warnings (but
* using functions deprecated in later releases will not).
- *
- * Since: 1.42
*/
/* If the package sets PANGO_VERSION_MIN_REQUIRED to some future
* PANGO_VERSION_X_Y value that we don't know about, it will compare as
@@ -343,7 +97,7 @@
* A macro that should be defined by the user prior to including
* the glib.h header.
* The definition should be one of the predefined Pango version
- * macros: %PANGO_VERSION_1_2, %PANGO_VERSION_1_4,...
+ * macros: %PANGO_VERSION_2_0,…
*
* This macro defines the latest version of the Pango API that the
* package is allowed to make use of.
@@ -355,8 +109,6 @@
* Unless you are using PANGO_VERSION_CHECK() or the like to compile
* different code depending on the Pango version, then this should be
* set to the same value as %PANGO_VERSION_MIN_REQUIRED.
- *
- * Since: 1.42
*/
#if !defined (PANGO_VERSION_MAX_ALLOWED) || (PANGO_VERSION_MAX_ALLOWED == 0)
# undef PANGO_VERSION_MAX_ALLOWED
@@ -370,8 +122,8 @@
#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_MIN_REQUIRED
#error "PANGO_VERSION_MAX_ALLOWED must be >= PANGO_VERSION_MIN_REQUIRED"
#endif
-#if PANGO_VERSION_MIN_REQUIRED < PANGO_VERSION_1_2
-#error "PANGO_VERSION_MIN_REQUIRED must be >= PANGO_VERSION_1_2"
+#if PANGO_VERSION_MIN_REQUIRED < PANGO_VERSION_1_90
+#error "PANGO_VERSION_MIN_REQUIRED must be >= PANGO_VERSION_1_90"
#endif
/* These macros are used to mark deprecated functions in Pango headers,
@@ -388,369 +140,19 @@
#endif
/* XXX: Every new stable minor release should add a set of macros here */
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_2
-# define PANGO_DEPRECATED_IN_1_2 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_2_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_2 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_2_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_2
-# define PANGO_AVAILABLE_IN_1_2 PANGO_UNAVAILABLE(1, 2)
-#else
-# define PANGO_AVAILABLE_IN_1_2 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_4
-# define PANGO_DEPRECATED_IN_1_4 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_4_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_4 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_4_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_4
-# define PANGO_AVAILABLE_IN_1_4 PANGO_UNAVAILABLE(1, 4)
-#else
-# define PANGO_AVAILABLE_IN_1_4 _PANGO_EXTERN
-#endif
-
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_6
-# define PANGO_DEPRECATED_IN_1_6 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_6_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_6 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_6_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_6
-# define PANGO_AVAILABLE_IN_1_6 PANGO_UNAVAILABLE(1, 6)
-#else
-# define PANGO_AVAILABLE_IN_1_6 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_8
-# define PANGO_DEPRECATED_IN_1_8 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_8_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_8 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_8_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_8
-# define PANGO_AVAILABLE_IN_1_8 PANGO_UNAVAILABLE(1, 8)
-#else
-# define PANGO_AVAILABLE_IN_1_8 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_10
-# define PANGO_DEPRECATED_IN_1_10 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_10_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_10 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_10_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_10
-# define PANGO_AVAILABLE_IN_1_10 PANGO_UNAVAILABLE(1, 10)
-#else
-# define PANGO_AVAILABLE_IN_1_10 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_12
-# define PANGO_AVAILABLE_IN_1_12 PANGO_UNAVAILABLE(1, 12)
-#else
-# define PANGO_AVAILABLE_IN_1_12 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_12
-# define PANGO_DEPRECATED_IN_1_12 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_12_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_12 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_12_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_14
-# define PANGO_AVAILABLE_IN_1_14 PANGO_UNAVAILABLE(1, 14)
-#else
-# define PANGO_AVAILABLE_IN_1_14 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_14
-# define PANGO_DEPRECATED_IN_1_14 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_14_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_14 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_14_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_16
-# define PANGO_AVAILABLE_IN_1_16 PANGO_UNAVAILABLE(1, 16)
-#else
-# define PANGO_AVAILABLE_IN_1_16 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_16
-# define PANGO_DEPRECATED_IN_1_16 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_16_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_16 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_16_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_18
-# define PANGO_DEPRECATED_IN_1_18 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_18_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_18 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_18_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_18
-# define PANGO_AVAILABLE_IN_1_18 PANGO_UNAVAILABLE(1, 18)
-#else
-# define PANGO_AVAILABLE_IN_1_18 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_20
-# define PANGO_DEPRECATED_IN_1_20 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_20_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_20 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_20_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_20
-# define PANGO_AVAILABLE_IN_1_20 PANGO_UNAVAILABLE(1, 20)
-#else
-# define PANGO_AVAILABLE_IN_1_20 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_22
-# define PANGO_DEPRECATED_IN_1_22 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_22_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_22 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_22_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_22
-# define PANGO_AVAILABLE_IN_1_22 PANGO_UNAVAILABLE(1, 22)
-#else
-# define PANGO_AVAILABLE_IN_1_22 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_24
-# define PANGO_DEPRECATED_IN_1_24 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_24_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_24 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_24_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_24
-# define PANGO_AVAILABLE_IN_1_24 PANGO_UNAVAILABLE(1, 24)
-#else
-# define PANGO_AVAILABLE_IN_1_24 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_26
-# define PANGO_DEPRECATED_IN_1_26 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_26_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_26 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_26_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_26
-# define PANGO_AVAILABLE_IN_1_26 PANGO_UNAVAILABLE(1, 26)
-#else
-# define PANGO_AVAILABLE_IN_1_26 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_28
-# define PANGO_DEPRECATED_IN_1_28 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_28_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_28 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_28_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_28
-# define PANGO_AVAILABLE_IN_1_28 PANGO_UNAVAILABLE(1, 28)
-#else
-# define PANGO_AVAILABLE_IN_1_28 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_30
-# define PANGO_DEPRECATED_IN_1_30 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_30_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_30 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_30_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_30
-# define PANGO_AVAILABLE_IN_1_30 PANGO_UNAVAILABLE(1, 30)
-#else
-# define PANGO_AVAILABLE_IN_1_30 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_32
-# define PANGO_DEPRECATED_IN_1_32 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_32_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_32 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_32_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_32
-# define PANGO_AVAILABLE_IN_1_32 PANGO_UNAVAILABLE(1, 32)
-#else
-# define PANGO_AVAILABLE_IN_1_32 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_34
-# define PANGO_DEPRECATED_IN_1_34 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_34_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_34 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_34_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_34
-# define PANGO_AVAILABLE_IN_1_34 PANGO_UNAVAILABLE(1, 34)
-#else
-# define PANGO_AVAILABLE_IN_1_34 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_36
-# define PANGO_DEPRECATED_IN_1_36 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_36_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_36 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_36_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_36
-# define PANGO_AVAILABLE_IN_1_36 PANGO_UNAVAILABLE(1, 36)
-#else
-# define PANGO_AVAILABLE_IN_1_36 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_38
-# define PANGO_DEPRECATED_IN_1_38 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_38_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_38 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_38_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_38
-# define PANGO_AVAILABLE_IN_1_38 PANGO_UNAVAILABLE(1, 38)
-#else
-# define PANGO_AVAILABLE_IN_1_38 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_40
-# define PANGO_DEPRECATED_IN_1_40 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_40_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_40 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_40_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_40
-# define PANGO_AVAILABLE_IN_1_40 PANGO_UNAVAILABLE(1, 40)
-#else
-# define PANGO_AVAILABLE_IN_1_40 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_42
-# define PANGO_DEPRECATED_IN_1_42 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_42_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_42 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_42_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_42
-# define PANGO_AVAILABLE_IN_1_42 PANGO_UNAVAILABLE(1, 42)
-#else
-# define PANGO_AVAILABLE_IN_1_42 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_44
-# define PANGO_DEPRECATED_IN_1_44 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_44_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_44 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_44_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_44
-# define PANGO_AVAILABLE_IN_1_44 PANGO_UNAVAILABLE(1, 44)
-#else
-# define PANGO_AVAILABLE_IN_1_44 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_46
-# define PANGO_DEPRECATED_IN_1_46 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_46_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_46 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_46_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_46
-# define PANGO_AVAILABLE_IN_1_46 PANGO_UNAVAILABLE(1, 46)
-#else
-# define PANGO_AVAILABLE_IN_1_46 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_48
-# define PANGO_DEPRECATED_IN_1_48 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_48_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_48 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_48_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_48
-# define PANGO_AVAILABLE_IN_1_48 PANGO_UNAVAILABLE(1, 48)
-#else
-# define PANGO_AVAILABLE_IN_1_48 _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_50
-# define PANGO_DEPRECATED_IN_1_50 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_50_FOR(f) PANGO_DEPRECATED_FOR(f)
-#else
-# define PANGO_DEPRECATED_IN_1_50 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_50_FOR(f) _PANGO_EXTERN
-#endif
-
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_50
-# define PANGO_AVAILABLE_IN_1_50 PANGO_UNAVAILABLE(1, 50)
-#else
-# define PANGO_AVAILABLE_IN_1_50 _PANGO_EXTERN
-#endif
-#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_1_52
-# define PANGO_DEPRECATED_IN_1_52 PANGO_DEPRECATED
-# define PANGO_DEPRECATED_IN_1_52_FOR(f) PANGO_DEPRECATED_FOR(f)
+#if PANGO_VERSION_MIN_REQUIRED >= PANGO_VERSION_2_0
+# define PANGO_DEPRECATED_IN_2_0 PANGO_DEPRECATED
+# define PANGO_DEPRECATED_IN_2_0_FOR(f) PANGO_DEPRECATED_FOR(f)
#else
-# define PANGO_DEPRECATED_IN_1_52 _PANGO_EXTERN
-# define PANGO_DEPRECATED_IN_1_52_FOR(f) _PANGO_EXTERN
+# define PANGO_DEPRECATED_IN_2_0 _PANGO_EXTERN
+# define PANGO_DEPRECATED_IN_2_0_FOR(f) _PANGO_EXTERN
#endif
-#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_52
-# define PANGO_AVAILABLE_IN_1_52 PANGO_UNAVAILABLE(1, 52)
+#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_2_0
+# define PANGO_AVAILABLE_IN_2_0 PANGO_UNAVAILABLE(2, 0)
#else
-# define PANGO_AVAILABLE_IN_1_52 _PANGO_EXTERN
+# define PANGO_AVAILABLE_IN_2_0 _PANGO_EXTERN
#endif
#endif /* __PANGO_VERSION_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]