Bug 88828 - Rename pa_hashmap_remove() to pa_hashmap_steal()
Summary: Rename pa_hashmap_remove() to pa_hashmap_steal()
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords: love
Depends on:
Blocks:
 
Reported: 2015-01-27 17:22 UTC by Tanu Kaskinen
Modified: 2018-07-30 10:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Tanu Kaskinen 2015-01-27 17:22:06 UTC
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().
Comment 1 GitLab Migration User 2018-07-30 10:20:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/355.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.