[PATCH 12/15] util: hash: Remove virHashCreateFull

Pavel Hrdina phrdina at redhat.com
Thu Oct 22 11:51:23 UTC 2020


On Thu, Oct 22, 2020 at 11:35:03AM +0200, Peter Krempa wrote:
> 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 at redhat.com>
> ---
>  src/util/virhash.c | 53 +++++++++-------------------------------------
>  src/util/virhash.h |  7 ------
>  2 files changed, 10 insertions(+), 50 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201022/fa7ea44d/attachment-0001.sig>


More information about the libvir-list mailing list