[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
- From: Christophe Fergeau <cfergeau gmail com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH 1/2] Remove deallocator parameter from hash functions
- Date: Thu, 24 Feb 2011 15:19:35 +0100
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]