[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 {
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);
[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")]
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")]
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")]
[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")]
[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);