Re: [PATCH 1/2] Remove deallocator parameter from hash functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

2011/2/24 Daniel P. Berrange <berrange@xxxxxxxxxx>:
> Since the deallocator is passed into the constructor of
> a hash table it is not desirable to pass it into each
> function again. Remove it from all functions, but provide
> a virHashSteal to allow a item to be removed from a hash
> table without deleteing it.
>

Ah, I was planning to send a very similar patch tonight, I had missed
the need for virHashSteal though so yours is better. The patch looks
good to me.

Christophe

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]