summaryrefslogtreecommitdiff
path: root/pango/pango-version-macros.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-31 20:39:20 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-03-31 20:39:20 +0000
commit1fedc11aa03d95e4e365f01796ecceca8b0acd0e (patch)
treeef449695d79e349dd05de8e6330dc4d291f5816f /pango/pango-version-macros.h
parent379f38e0054e72b003f1d81a48b83fef7ffb5312 (diff)
parent3aab7d85577d1aff46d7c7f131622cb73e9fe66a (diff)
downloadpango-1fedc11aa03d95e4e365f01796ecceca8b0acd0e.tar.gz
Merge branch 'fix-deadlocks' into 'master'
Fix deadlocks See merge request GNOME/pango!310
Diffstat (limited to 'pango/pango-version-macros.h')
-rw-r--r--pango/pango-version-macros.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/pango/pango-version-macros.h b/pango/pango-version-macros.h
index 4008579c..84130ca3 100644
--- a/pango/pango-version-macros.h
+++ b/pango/pango-version-macros.h
@@ -272,6 +272,16 @@
*/
#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))
+
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
*/
@@ -705,4 +715,18 @@
# 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
+
#endif /* __PANGO_VERSION_H__ */