On 25 Jun 2015, at 16:59, Ian Campbell wrote:
>
> On Wed, 2015-06-24 at 16:08 +0100, Ian Jackson wrote:
>> Rob Hoes writes ("[PATCH RFC 2/9] libxl idl: allow implicit enum values"):
>>> Introducing two special enum values:
>>> * ENUM_NEXT: equal to the previous value in the enum plus 1
>>> * ENUM
On Wed, 2015-06-24 at 16:08 +0100, Ian Jackson wrote:
> Rob Hoes writes ("[PATCH RFC 2/9] libxl idl: allow implicit enum values"):
> > Introducing two special enum values:
> > * ENUM_NEXT: equal to the previous value in the enum plus 1
> > * ENUM_PREV: equal to the previous value in the enum minus
Rob Hoes writes ("[PATCH RFC 2/9] libxl idl: allow implicit enum values"):
> Introducing two special enum values:
> * ENUM_NEXT: equal to the previous value in the enum plus 1
> * ENUM_PREV: equal to the previous value in the enum minus 1
>
> This makes it a little easier to maintain enums for whi
Introducing two special enum values:
* ENUM_NEXT: equal to the previous value in the enum plus 1
* ENUM_PREV: equal to the previous value in the enum minus 1
This makes it a little easier to maintain enums for which we do not care too
much about the exact enum values.
Signed-off-by: Rob Hoes
---