diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-09-17 10:19:43 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2016-09-17 10:19:43 +0200 |
commit | 6da360b2fddbf8a945e9e3977720e564a687b816 (patch) | |
tree | a60dd5b8cc277f494468689027d91e56991999f8 | |
parent | 0431459492f94a9840f29abb143f7e29834e2d54 (diff) | |
download | vala-6da360b2fddbf8a945e9e3977720e564a687b816.tar.gz |
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
-rw-r--r-- | vapi/gobject-introspection-1.0.vapi | 4 | ||||
-rw-r--r-- | 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 7c54b4604..5d5f48a30 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 4207e53e0..f6c3c0f6a 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); |