[pulseaudio-tickets] [Bug 88828] New: Rename pa_hashmap_remove() to pa_hashmap_steal()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 27 09:22:06 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88828

            Bug ID: 88828
           Summary: Rename pa_hashmap_remove() to pa_hashmap_steal()
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Keywords: love
          Severity: normal
          Priority: medium
         Component: core
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: tanuk at iki.fi
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Some functions for removing items from a container use the word "remove", and
some functions use the word "steal". Let's try to be consistent, and only use
"remove" when the function also frees the removed item (if the free callback is
set). So, pa_hashmap_remove() should be renamed to pa_hashmap_steal().

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150127/d42e255c/attachment-0001.html>


More information about the pulseaudio-bugs mailing list