[vala/staging] glib-2.0: fix SearchFunc generic argument order
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] glib-2.0: fix SearchFunc generic argument order
- Date: Sun, 7 Sep 2014 19:16:01 +0000 (UTC)
commit 465ab0702bbf6d50a480f098ecf6b7f7d15d464c
Author: Evan Nemerson <evan nemerson com>
Date: Sun Sep 7 12:14:53 2014 -0700
glib-2.0: fix SearchFunc generic argument order
vapi/glib-2.0.vapi | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index eb5ce06..2851dcb 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3948,7 +3948,7 @@ namespace GLib {
public unowned List<G> find (G data);
public unowned List<G> find_custom (G data, CompareFunc<G> func);
[CCode (cname = "g_list_find_custom", simple_generics = true)]
- public unowned List<G> search<T> (T data, SearchFunc<T,G> func);
+ public unowned List<G> search<T> (T data, SearchFunc<G,T> func);
public int position (List<G> llink);
public int index (G data);
@@ -4005,7 +4005,7 @@ namespace GLib {
public unowned SList<G> find (G data);
public unowned SList<G> find_custom (G data, CompareFunc<G> func);
[CCode (cname = "g_slist_find_custom", simple_generics = true)]
- public unowned SList<G> search<T> (T data, SearchFunc<T,G> func);
+ public unowned SList<G> search<T> (T data, SearchFunc<G,T> func);
public int position (SList<G> llink);
public int index (G data);
@@ -4044,7 +4044,7 @@ namespace GLib {
public unowned List<G> find (G data);
public unowned List<G> find_custom (G data, CompareFunc<G> func);
[CCode (cname = "g_queue_find_custom", simple_generics = true)]
- public unowned List<G> search<T> (T data, SearchFunc<T,G> func);
+ public unowned List<G> search<T> (T data, SearchFunc<G,T> func);
public void sort (CompareDataFunc<G> compare_func);
public void push_head (owned G data);
public void push_tail (owned G data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]