]> 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:37:18 +0000 (12:37 +0200)
vapi/glib-2.0.vapi

index 95993cedf58fd9fd7d4cfd5149510b2cd75e52c1..eeb5120e34fce96d4206632ad7cd8377e5636484 100644 (file)
@@ -5419,7 +5419,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);