]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add simple_generics attribute to GenericArray.find_custom()
authorNahuel Gomez Castro <nahual_gomca@outlook.com.ar>
Mon, 12 Apr 2021 10:32:12 +0000 (12:32 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 12 Apr 2021 10:32:56 +0000 (12:32 +0200)
vapi/glib-2.0.vapi

index 65ba798cc110808ee460f3c0d4a811230ab7a600..0c605b3e54d843d8ec32db8c9d567ac7533f7b84 100644 (file)
@@ -5526,7 +5526,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);