]> git.ipfire.org Git - thirdparty/vala.git/commit
glib-2.0: Add GenericArray.find_custom() as variant of find_with_equal_func()
authorCorentin Noël <corentin@elementary.io>
Tue, 3 Nov 2020 16:22:48 +0000 (17:22 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 3 Jan 2021 12:11:01 +0000 (13:11 +0100)
commit7ac3788fe4a690230a6ba66780aca4d1dc4eea77
treeea4263f87e97fe732fc2f4da4b0e41bc2e9fa7d8
parent4a758bdbabf79ed753785ec278cb1a68d16a352a
glib-2.0: Add GenericArray.find_custom() as variant of find_with_equal_func()

This allows the needle to be a different type as the actual element type.
The implementation of ArraySearchFunc<G,T> is more customizable this way.
vapi/glib-2.0.vapi