[pango/deprecate-bidi: 1/2] Add version macros for 1.44
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/deprecate-bidi: 1/2] Add version macros for 1.44
- Date: Mon, 19 Nov 2018 21:01:04 +0000 (UTC)
commit 2b7988d4a4fa0479b2fae7703d873c7fcf6d73e6
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 19 15:59:32 2018 -0500
Add version macros for 1.44
pango/pango-version-macros.h | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
---
diff --git a/pango/pango-version-macros.h b/pango/pango-version-macros.h
index 5d66ab8c..f79eccc7 100644
--- a/pango/pango-version-macros.h
+++ b/pango/pango-version-macros.h
@@ -235,13 +235,23 @@
/**
* PANGO_VERSION_1_42:
*
- * A macro that evaluates to the 2.38 version of Pango, in a format
+ * 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))
+
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
*/
@@ -633,4 +643,18 @@
# 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
+
#endif /* __PANGO_VERSION_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]