[vala/0.48] gio-2.0: Fix binding of Resolver.lookup_service*()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] gio-2.0: Fix binding of Resolver.lookup_service*()
- Date: Thu, 19 Nov 2020 12:46:55 +0000 (UTC)
commit 2cc4569bf66863c4be708811d549167204c743fc
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Oct 20 13:38:05 2020 +0200
gio-2.0: Fix binding of Resolver.lookup_service*()
vapi/gio-2.0.vapi | 12 +++++++++---
vapi/metadata/Gio-2.0.metadata | 4 ++--
2 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 1d60a861b..01a411de9 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -2115,9 +2115,15 @@ namespace GLib {
[Version (since = "2.34")]
public virtual async GLib.List<GLib.Variant> lookup_records_async (string rrname,
GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "2.22")]
- public virtual GLib.List<GLib.SrvTarget> lookup_service (string service, string protocol,
string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
- [CCode (finish_vfunc_name = "lookup_service_finish", vfunc_name = "lookup_service_async")]
- public virtual async GLib.List<GLib.SrvTarget> lookup_service_async (string rrname,
GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public GLib.List<GLib.SrvTarget> lookup_service (string service, string protocol, string
domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [Version (since = "2.22")]
+ public async GLib.List<GLib.SrvTarget> lookup_service_async (string service, string protocol,
string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [CCode (vfunc_name = "lookup_service")]
+ [NoWrapper]
+ public virtual GLib.List<GLib.SrvTarget> lookup_service_fn (string rrname, GLib.Cancellable?
cancellable = null) throws GLib.Error;
+ [CCode (finish_name = "g_resolver_lookup_service_finish", vfunc_name =
"lookup_service_async")]
+ [NoWrapper]
+ public virtual async GLib.List<GLib.SrvTarget> lookup_service_fn_async (string rrname,
GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "2.22")]
public void set_default ();
public virtual signal void reload ();
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 7201dc744..90385b2d4 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -193,8 +193,8 @@ PropertyAction
.parameter_type skip
.state_type skip
Resolver
- .lookup_service#method virtual
- .lookup_service_async#virtual_method vfunc_name="lookup_service_async"
finish_vfunc_name="lookup_service_finish"
+ .lookup_service#virtual_method skip=false name="lookup_service_fn" type="GLib.List<GLib.SrvTarget>"
+ .lookup_service_async#virtual_method skip=false name="lookup_service_fn_async"
finish_name="g_resolver_lookup_service_finish"
Settings
.get skip=false sentinel=""
.set skip=false sentinel=""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]