Re: [WebIDL] enum

Marcin Hanclik:
> To ease the process of comprehension of the interfaces, we could have
> e.g.
>   [EnumFor=networkState]
>   const unsigned short NETWORK_EMPTY = 0;
>   [EnumFor=networkState]
>   const unsigned short NETWORK_IDLE = 1;
> Alternatively WebIDL could have the "enum" keyword with some specific
> syntax. The realization of this functionality does not, however,
> matter as much as the need to have it specified.

As this is not something we need right now, I am deferring this to a
future version of the spec.  I filed for that.

Cameron McCormack ≝

Received on Sunday, 29 May 2011 22:36:30 UTC