[vala/0.48] glib-2.0: Add simple_generics attribute to GenericArray.find_custom()



commit eb3764378335f155212ac99b4b242580a6d99b5c
Author: Nahuel Gomez Castro <nahual_gomca outlook com ar>
Date:   Mon Apr 12 12:32:12 2021 +0200

    glib-2.0: Add simple_generics attribute to GenericArray.find_custom()

 vapi/glib-2.0.vapi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 71df44b9d..f389d2916 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -5263,7 +5263,7 @@ namespace GLib {
                [Version (since = "2.54")]
                public bool find (G needle, out uint index = null);
                [Version (since = "2.54")]
-               [CCode (cname = "g_ptr_array_find_with_equal_func")]
+               [CCode (cname = "g_ptr_array_find_with_equal_func", simple_generics = true)]
                public bool find_custom<T> (T needle, GLib.ArraySearchFunc<G,T>? equal_func, out uint index = 
null);
                [Version (since = "2.54")]
                public bool find_with_equal_func (G needle, GLib.EqualFunc<G>? equal_func, out uint index = 
null);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]