[PATCH 14/15] util: virhash: Remove key handling callbacks

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


On Thu, Oct 22, 2020 at 11:35:05AM +0200, Peter Krempa wrote:
> Since we use virHashTable for string-keyed values only, we can remove
> all the callbacks which allowed universal keys.
> 
> Code which wishes to use non-string keys should use glib's GHashTable.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/util/virhash.c | 68 +++++++---------------------------------------
>  src/util/virhash.h | 54 ------------------------------------
>  2 files changed, 10 insertions(+), 112 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/83b235ed/attachment-0001.sig>


More information about the libvir-list mailing list