pancake wrote:
> I was also thinking on implementing a enumflags keyword that acts like
> enum, but shift bits instead of increasing the value. so you can do:
>
> enumflag Mode {
> READ
> WRITE
> }
>
> MyOpen (Mode.READ | Mode.WRITE);
That's what
[Flags]
enum MyEnum {
// ...
}
should do. I have just tested it, but it doesn't.
Best regards,
Frederik
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list
