From: Rico Tzschichholz Date: Fri, 13 Apr 2018 15:59:04 +0000 (+0200) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.41.90~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1d5c67aaed76f8f322ec3c77cb65dedb348e287;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/libgsf-1.vapi b/vapi/libgsf-1.vapi index 7fc0df7e5..71eb505f5 100644 --- a/vapi/libgsf-1.vapi +++ b/vapi/libgsf-1.vapi @@ -51,7 +51,7 @@ namespace Gsf { public unowned string? get_link (); public unowned string get_name (); public unowned GLib.Value? get_val (); - public void set_link (owned string link); + public void set_link (owned string? link); public void set_val (owned GLib.Value val); public GLib.Value? swap_val (owned GLib.Value val); } @@ -117,9 +117,9 @@ namespace Gsf { public bool copy (Gsf.Output output); public void dump (bool dump_as_hex); [CCode (vfunc_name = "Dup")] - public virtual Gsf.Input dup () throws GLib.Error; + public virtual Gsf.Input? dup () throws GLib.Error; public static GLib.Quark error_id (); - public Gsf.InfileMSVBA find_vba () throws GLib.Error; + public Gsf.InfileMSVBA? find_vba () throws GLib.Error; public unowned GLib.DateTime get_modtime (); [CCode (cname = "gsf_input_mmap_new", has_construct_function = false)] public Input.mmap_new (string filename) throws GLib.Error; @@ -318,9 +318,9 @@ namespace Gsf { protected Output (); [CCode (vfunc_name = "Close")] public virtual bool close (); - public unowned GLib.Error error (); + public unowned GLib.Error? error (); public static GLib.Quark error_id (); - public unowned GLib.DateTime get_modtime (); + public unowned GLib.DateTime? get_modtime (); public bool printf (string format, ...); public bool puts (string line); [CCode (vfunc_name = "Seek")] @@ -545,7 +545,7 @@ namespace Gsf { public void add_int (string? id, int val); public void add_uint (string? id, uint val); public unowned string end_element (); - public unowned Gsf.Output get_output (); + public unowned Gsf.Output? get_output (); public bool get_pretty_print (); public void set_doc_type (string type); public bool set_pretty_print (bool pp); diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi index 1e0e8fd3c..cf9a7d4ab 100644 --- a/vapi/libsoup-2.4.vapi +++ b/vapi/libsoup-2.4.vapi @@ -368,7 +368,7 @@ namespace Soup { [Version (since = "2.32")] public unowned string get_domain (); [Version (since = "2.32")] - public unowned Soup.Date get_expires (); + public unowned Soup.Date? get_expires (); [Version (since = "2.32")] public bool get_http_only (); [Version (since = "2.32")] @@ -1536,7 +1536,8 @@ namespace Soup { INVALID_HOSTNAME, IS_IP_ADDRESS, NOT_ENOUGH_DOMAINS, - NO_BASE_DOMAIN; + NO_BASE_DOMAIN, + NO_PSL_DATA; public static GLib.Quark quark (); } [CCode (cheader_filename = "libsoup/soup.h", instance_pos = 2.9)]