[libsoup/wip/tingping/same-site: 3/4] soup-version: Add defs for 2.70 API



commit 9fdd1ff3adabe0971b4b7c1f1459650ec5a8b8fb
Author: Patrick Griffis <pgriffis igalia com>
Date:   Tue Nov 12 16:37:33 2019 -0800

    soup-version: Add defs for 2.70 API

 libsoup/soup-version.h.in | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/libsoup/soup-version.h.in b/libsoup/soup-version.h.in
index fc24f3cb..2f4c588b 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -68,6 +68,7 @@ G_BEGIN_DECLS
 #define SOUP_VERSION_2_62 (G_ENCODE_VERSION (2, 62))
 #define SOUP_VERSION_2_66 (G_ENCODE_VERSION (2, 66))
 #define SOUP_VERSION_2_68 (G_ENCODE_VERSION (2, 68))
+#define SOUP_VERSION_2_70 (G_ENCODE_VERSION (2, 70))
 
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
@@ -396,6 +397,12 @@ G_BEGIN_DECLS
 # define SOUP_AVAILABLE_IN_2_68                 _SOUP_EXTERN
 #endif
 
+#if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_70
+# define SOUP_AVAILABLE_IN_2_70                 G_UNAVAILABLE(2, 70) _SOUP_EXTERN
+#else
+# define SOUP_AVAILABLE_IN_2_70                 _SOUP_EXTERN
+#endif
+
 SOUP_AVAILABLE_IN_2_42
 guint    soup_get_major_version (void);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]