Skip to content

Conversation

@yuwata
Copy link
Member

@yuwata yuwata commented Apr 12, 2025

Now destructor is always set in hash_ops when necessary. Hence, hashmap_free_with_destructor() and friends are not necessary anymore. Let's kill them.

@yuwata yuwata changed the title tree-wide: drop hashmap_free_with_destructor() and friends hashmap: kill hashmap_free_with_destructor() and friends Apr 18, 2025
@yuwata
Copy link
Member Author

yuwata commented Apr 18, 2025

Continuation of #36107.

Copy link
Collaborator

@DaanDeMeyer DaanDeMeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for cleaning up the hashmap and set APIs! I never could figure out which one I was supposed to use, this will make it much clearer!

@yuwata yuwata merged commit 2a6ca54 into systemd:main Apr 18, 2025
39 of 47 checks passed
@github-actions github-actions bot removed the please-review PR is ready for (re-)review by a maintainer label Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants