From: Rico Tzschichholz Date: Tue, 24 Oct 2017 08:50:07 +0000 (+0200) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.39.1~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=558bf7a336464145e17cba506998631de26ba37d;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 60c173466..a9b9b1f1d 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -2445,10 +2445,12 @@ namespace GLib { public bool is_connected (); [Version (since = "2.32")] public bool join_multicast_group (GLib.InetAddress group, bool source_specific, string? iface) throws GLib.Error; - public bool join_multicast_group_ssm (GLib.InetAddress group, GLib.InetAddress source_specific, string iface) throws GLib.Error; + [Version (since = "2.56")] + public bool join_multicast_group_ssm (GLib.InetAddress group, GLib.InetAddress? source_specific, string? iface) throws GLib.Error; [Version (since = "2.32")] public bool leave_multicast_group (GLib.InetAddress group, bool source_specific, string? iface) throws GLib.Error; - public bool leave_multicast_group_ssm (GLib.InetAddress group, GLib.InetAddress source_specific, string iface) throws GLib.Error; + [Version (since = "2.56")] + public bool leave_multicast_group_ssm (GLib.InetAddress group, GLib.InetAddress? source_specific, string? iface) throws GLib.Error; public bool listen () throws GLib.Error; public ssize_t receive ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error; public ssize_t receive_from (out GLib.SocketAddress address, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error; diff --git a/vapi/gobject-introspection-1.0.vapi b/vapi/gobject-introspection-1.0.vapi index 768b004af..a56deb0e0 100644 --- a/vapi/gobject-introspection-1.0.vapi +++ b/vapi/gobject-introspection-1.0.vapi @@ -191,6 +191,7 @@ namespace GI { [CCode (array_length = false, array_null_terminated = true)] public string[] get_loaded_namespaces (); public int get_n_infos (string namespace_); + public static GLib.OptionGroup get_option_group (); public static unowned GLib.SList get_search_path (); public unowned string get_shared_library (string namespace_); public unowned string get_typelib_path (string namespace_);