From: Rico Tzschichholz Date: Sun, 30 Nov 2014 20:01:22 +0000 (+0100) Subject: bindings: Update GIR-based bindings X-Git-Tag: 0.27.1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2927115673517dc9742e5509bc85c0f6202eb66;p=thirdparty%2Fvala.git bindings: Update GIR-based bindings --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index cd4c8d94f..73e2ff533 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -1546,6 +1546,8 @@ namespace GLib { public unowned string get_hostname (); public uint16 get_port (); public unowned string get_scheme (); + [CCode (has_construct_function = false, type = "GSocketConnectable*")] + public NetworkAddress.loopback (uint16 port); public static GLib.SocketConnectable parse (string host_and_port, uint16 default_port) throws GLib.Error; public static GLib.SocketConnectable parse_uri (string uri, uint16 default_port) throws GLib.Error; public string hostname { get; construct; }