]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: hash: Remove virHashCreateFull
authorPeter Krempa <pkrempa@redhat.com>
Tue, 20 Oct 2020 16:17:16 +0000 (18:17 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 22 Oct 2020 13:02:46 +0000 (15:02 +0200)
commita2c699856a2c0d5c1bf0a4cef5ef767127a2274f
tree3bc05a43e13a2dbc65d5b01ba7adcfa1f75aeb7b
parent8824fc8474868422ba90c19e348c07efeb8a9437
util: hash: Remove virHashCreateFull

The only place we call it is in virHashNew. Move the code to virHashNew
and remove virHashCreateFull.

Code wishing to use non-strings as hash table keys will be better off
using glib's GHashTable directly.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/util/virhash.c
src/util/virhash.h