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

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



Hi,

2011/2/24 Daniel P. Berrange <berrange redhat com>:
> 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


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