]> git.ipfire.org Git - thirdparty/systemd.git/commit
introduce hashmap_ensure_replace()
authorMatteo Croce <teknoraver@meta.com>
Fri, 28 Jun 2024 14:16:50 +0000 (16:16 +0200)
committerMatteo Croce <teknoraver@meta.com>
Fri, 28 Jun 2024 16:55:31 +0000 (18:55 +0200)
commitafb1fe36b835633228a6bdd0bfd09dafdc9afa65
tree06f15f52b4baa79ce7e15d358c8abb003c712082
parent127e600a6cb761bf39b515567eac1ee3b2393a7c
introduce hashmap_ensure_replace()

Similar to hashmap_ensure_put(), but replace existing items in the map,
as hashmap_replace().
src/basic/hashmap.c
src/basic/hashmap.h
src/test/test-hashmap-plain.c