buque f352aaf393 idxset: Add reverse iteration functions, set comparison operations adn set contains() function
Add complementary functions to the existing idxset iterate(),
    steal_first(), first(), next() functions that work in the reverse
    direction: reverse_iterate(), steal_last(), last() and previous().

    Add isdisjoint(), issubset(), issuperset() and equals() functions that
    element-wise compare two idxsets.

    Add set contains() function, This is functionally equivalent to get_by_data(s, p, NULL) == p, but
    with a more obvious name and form because some existing code is instead
    manually iterating through idxsets to check for existence of an item.

    Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
    Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/596>
2022-12-12 15:12:41 +08:00
2019-09-30 11:14:19 -04:00
2022-08-04 17:38:23 +08:00
2020-08-10 21:19:32 +08:00
Description
No description provided
9.4 MiB
Languages
Checksums 100%