[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH 1/2]: Convert internal drivers to old style struct initializers
- From: Chris Lalancette <clalance redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: Libvirt <libvir-list redhat com>
- Subject: Re: [libvirt] [PATCH 1/2]: Convert internal drivers to old style struct initializers
- Date: Tue, 31 Mar 2009 17:44:20 +0200
Daniel P. Berrange wrote:
> On Tue, Mar 31, 2009 at 11:40:32AM +0200, Daniel Veillard wrote:
>> On Mon, Mar 30, 2009 at 02:10:05PM +0200, Chris Lalancette wrote:
>>> This patch converts the internal drivers to use the old-style struct
>>> initializers, which kind of gives us a self-documenting TODO list for each of
>>> the drivers. It also fixes up some bad comments in the internal driver list.
>>> It does not touch the storage or network driver initializers.
>> Okay I agree that the ancient form is preferable, to me it allows
>> very easilly to spot missing features in the driver table (the
>> associated entry is NULL).
>
> Yes, that's the precise reason I have had this on my todo list. I really
> like being able to spot incomplete driver methods easily, and think that
> outweighs the other benefits of C99 style in this scenario.
Thanks, committed.
--
Chris Lalancette
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]