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

Re: [Xen-devel] [PATCH 29 of 32 RFC] libxl: add named enum for timer mode



Ian Campbell writes ("Re: [Xen-devel] [PATCH 29 of 32 RFC] libxl: add named 
enum for timer      mode"):
> I'm happy to take either approach to be honest. I imagine most _init
> functions will turn into just a memset anyway at which point maybe we
> should just ditch them.
> 
> I'd rather either all data types had an init or none is my only real
> feeling on the matter.

I absolutely agree.  (The init function could be autogenerated.)

> > we could decree that all-bits-set means "use default value".
> 
> Do you mean in genral or just this specific field?

In general.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.