summaryrefslogtreecommitdiff
path: root/pango/pango-version-macros.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-10-31 19:16:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-10-31 19:17:04 -0400
commit5494e19e9bc50d1ea402671dc24c82e503d8a9cc (patch)
treec091d7ae9cb9cef3e41643765c76d8816c1a36e1 /pango/pango-version-macros.h
parentdfd13e515051bb77c4032d52d2002599cf545ff0 (diff)
downloadpango-5494e19e9bc50d1ea402671dc24c82e503d8a9cc.tar.gz
Add 1.46 version macros
Diffstat (limited to 'pango/pango-version-macros.h')
-rw-r--r--pango/pango-version-macros.h25
1 files changed, 25 insertions, 0 deletions
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__ */