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

[Xen-devel] [PATCH 0 of 4] [V2] libxl: Add enumeration type to IDL



As part of this I namespace some enum values, firstly within the
LIBXL_ namespace (which is clearly a good idea) but secondly to
namespace the values to within their respective typename, which is
less clearly of benefit. It makes the IDL for enumerations somewhat
cleaner but I'm not totally wedded to it -- opinions welcome.

Changes since first version:

  - Use typedef enum FOO { } FOO idiom which allows existing users of
    "enum FOO xxx;" to continue working.

  - Add libxl_compat.h which defines the old names in an attempt to
    retain API (but not ABI) compatibility. By default all previous
    APIs will be exposed. Not sure if it makes more sense to require
    users to specify which they want.

_______________________________________________
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®.