[pango/simple-fontmap: 11/31] Add version macros for 1.52
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/simple-fontmap: 11/31] Add version macros for 1.52
- Date: Sun, 26 Dec 2021 18:03:15 +0000 (UTC)
commit b0fcaa7896eb663e4e73b02f0d23d1ed0269527b
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Dec 26 00:34:35 2021 -0500
Add version macros for 1.52
pango/pango-version-macros.h | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
---
diff --git a/pango/pango-version-macros.h b/pango/pango-version-macros.h
index 84130ca3..b4f78e6d 100644
--- a/pango/pango-version-macros.h
+++ b/pango/pango-version-macros.h
@@ -282,6 +282,16 @@
*/
#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))
+
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
*/
@@ -729,4 +739,18 @@
# 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)
+#else
+# define PANGO_DEPRECATED_IN_1_52 _PANGO_EXTERN
+# define PANGO_DEPRECATED_IN_1_52_FOR(f) _PANGO_EXTERN
+#endif
+
+#if PANGO_VERSION_MAX_ALLOWED < PANGO_VERSION_1_52
+# define PANGO_AVAILABLE_IN_1_52 PANGO_UNAVAILABLE(1, 52)
+#else
+# define PANGO_AVAILABLE_IN_1_52 _PANGO_EXTERN
+#endif
+
#endif /* __PANGO_VERSION_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]