[libsoup] soup-version: add defs for 2.68 API



commit a88f883d151268ec89078079ffb240c88c486c08
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Fri May 17 10:21:04 2019 +0300

    soup-version: add defs for 2.68 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 5d2362b8..fc24f3cb 100644
--- a/libsoup/soup-version.h.in
+++ b/libsoup/soup-version.h.in
@@ -67,6 +67,7 @@ G_BEGIN_DECLS
 #define SOUP_VERSION_2_58 (G_ENCODE_VERSION (2, 58))
 #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))
 
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
@@ -389,6 +390,12 @@ G_BEGIN_DECLS
 # define SOUP_AVAILABLE_IN_2_66                 _SOUP_EXTERN
 #endif
 
+#if SOUP_VERSION_MAX_ALLOWED < SOUP_VERSION_2_68
+# define SOUP_AVAILABLE_IN_2_68                 G_UNAVAILABLE(2, 68) _SOUP_EXTERN
+#else
+# define SOUP_AVAILABLE_IN_2_68                 _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]