[pango] Add 1.46 version macros



commit 5494e19e9bc50d1ea402671dc24c82e503d8a9cc
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Oct 31 19:16:30 2019 -0400

    Add 1.46 version macros

 pango/pango-version-macros.h | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
---
diff --git a/pango/pango-version-macros.h b/pango/pango-version-macros.h
index 8c61bb77..be248ed0 100644
--- a/pango/pango-version-macros.h
+++ b/pango/pango-version-macros.h
@@ -252,6 +252,16 @@
  */
 #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))
+
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
  */
@@ -657,4 +667,19 @@
 # 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
+
+#endif /* __PANGO_VERSION_H__ */
 #endif /* __PANGO_VERSION_H__ */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]