[vala] vapi: Update gobject-introspection-1.0 and libsoup-2.4



commit 6da360b2fddbf8a945e9e3977720e564a687b816
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Sep 17 10:19:43 2016 +0200

    vapi: Update gobject-introspection-1.0 and libsoup-2.4
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760491
    https://bugzilla.gnome.org/show_bug.cgi?id=732070

 vapi/gobject-introspection-1.0.vapi |    4 ++--
 vapi/libsoup-2.4.vapi               |   24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gobject-introspection-1.0.vapi b/vapi/gobject-introspection-1.0.vapi
index 7c54b46..5d5f48a 100644
--- a/vapi/gobject-introspection-1.0.vapi
+++ b/vapi/gobject-introspection-1.0.vapi
@@ -40,7 +40,7 @@ namespace GI {
                [CCode (cname = "g_base_info_is_deprecated")]
                public bool is_deprecated ();
                [CCode (cname = "g_base_info_iterate_attributes")]
-               public bool iterate_attributes (GI.AttributeIter iterator, out unowned string name, out 
unowned string value);
+               public bool iterate_attributes (ref GI.AttributeIter iterator, out unowned string name, out 
unowned string value);
        }
        [CCode (cheader_filename = "girepository.h")]
        public class CallableInfo : GI.BaseInfo {
@@ -57,7 +57,7 @@ namespace GI {
                public static bool invoke (GI.CallableInfo info, void* function, GI.Argument in_args, int 
n_in_args, GI.Argument out_args, int n_out_args, GI.Argument return_value, bool is_method, bool @throws) 
throws GLib.Error;
                [Version (since = "1.34")]
                public static bool is_method (GI.CallableInfo info);
-               public static bool iterate_return_attributes (GI.CallableInfo info, GI.AttributeIter 
iterator, out unowned string name, out unowned string value);
+               public static bool iterate_return_attributes (GI.CallableInfo info, ref GI.AttributeIter 
iterator, out unowned string name, out unowned string value);
                public static void load_arg (GI.CallableInfo info, int n, out unowned GI.ArgInfo arg);
                public static void load_return_type (GI.CallableInfo info, out unowned GI.TypeInfo type);
                public static bool may_return_null (GI.CallableInfo info);
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index 4207e53..f6c3c0f 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -1680,6 +1680,9 @@ namespace Soup {
        [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_LOGGER_MAX_BODY_SIZE")]
        [Version (since = "2.56")]
        public const string LOGGER_MAX_BODY_SIZE;
+       [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MAJOR_VERSION")]
+       [Version (since = "2.42")]
+       public const int MAJOR_VERSION;
        [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_BODY_H")]
        public const int MESSAGE_BODY_H;
        [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MESSAGE_FIRST_PARTY")]
@@ -1728,6 +1731,12 @@ namespace Soup {
        public const string MESSAGE_URI;
        [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_METHOD_H")]
        public const int METHOD_H;
+       [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MICRO_VERSION")]
+       [Version (since = "2.42")]
+       public const int MICRO_VERSION;
+       [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MINOR_VERSION")]
+       [Version (since = "2.42")]
+       public const int MINOR_VERSION;
        [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MISC_H")]
        public const int MISC_H;
        [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_MULTIPART_H")]
@@ -1884,6 +1893,9 @@ namespace Soup {
        public const int URI_H;
        [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_VALUE_UTILS_H")]
        public const int VALUE_UTILS_H;
+       [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_VERSION_MIN_REQUIRED")]
+       [Version (since = "2.42")]
+       public const int VERSION_MIN_REQUIRED;
        [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_XMLRPC_H")]
        public const int XMLRPC_H;
        [CCode (cheader_filename = "libsoup/soup.h", cname = "SOUP_XMLRPC_OLD_H")]
@@ -1898,6 +1910,9 @@ namespace Soup {
        [CCode (cheader_filename = "libsoup/soup.h")]
        public static unowned GLib.TimeoutSource add_timeout (GLib.MainContext? async_context, uint interval, 
GLib.SourceFunc function);
        [CCode (cheader_filename = "libsoup/soup.h")]
+       [Version (since = "2.42")]
+       public static bool check_version (uint major, uint minor, uint micro);
+       [CCode (cheader_filename = "libsoup/soup.h")]
        [Version (since = "2.24")]
        public static GLib.SList<Soup.Cookie> cookies_from_request (Soup.Message msg);
        [CCode (cheader_filename = "libsoup/soup.h")]
@@ -1943,6 +1958,15 @@ namespace Soup {
        [Version (deprecated_since = "vala-0.12", replacement = "Form.request_new_from_multipart")]
        public static Soup.Message form_request_new_from_multipart (string uri, Soup.Multipart multipart);
        [CCode (cheader_filename = "libsoup/soup.h")]
+       [Version (since = "2.42")]
+       public static uint get_major_version ();
+       [CCode (cheader_filename = "libsoup/soup.h")]
+       [Version (since = "2.42")]
+       public static uint get_micro_version ();
+       [CCode (cheader_filename = "libsoup/soup.h")]
+       [Version (since = "2.42")]
+       public static uint get_minor_version ();
+       [CCode (cheader_filename = "libsoup/soup.h")]
        public static bool header_contains (string header, string token);
        [CCode (cheader_filename = "libsoup/soup.h")]
        public static void header_free_param_list (GLib.HashTable<string,string> param_list);


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