[gobject-introspection/ebassi/property-annotation: 26/33] Add version macros for 1.70
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/ebassi/property-annotation: 26/33] Add version macros for 1.70
- Date: Fri, 25 Jun 2021 11:10:24 +0000 (UTC)
commit de7c7703e3b3a23af7b4b6095217728efd3448b8
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Jun 17 01:03:13 2021 +0100
Add version macros for 1.70
girepository/giversionmacros.h | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/girepository/giversionmacros.h b/girepository/giversionmacros.h
index a941ee2d..273af725 100644
--- a/girepository/giversionmacros.h
+++ b/girepository/giversionmacros.h
@@ -165,4 +165,10 @@
# define GI_AVAILABLE_IN_1_66 _GI_EXTERN
#endif
+#if defined(GLIB_VERSION_2_70) && GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_70
+# define GI_AVAILABLE_IN_1_70 GLIB_UNAVAILABLE(2, 70)
+#else
+# define GI_AVAILABLE_IN_1_70 _GI_EXTERN
+#endif
+
#endif /* __GIVERSIONMACROS_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]