[Vala] flags



I discovered a keyword 'flags' in Vala which I'd need for my bindings. I did a short test like this:

public flags MyFlags {
 FOO,
 BAR
}

MyFlags x = MyFlags.FOO & MyFlags.BAR;

Vala doesn't find the type name MyFlags. Are flags supposed to be supported yet?

Dominique




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