Re: [Vala] Iterating over enums
- From: "Dr. Michael Lauer" <mickey vanille-media de>
- To: Vala List <vala-list gnome org>
- Subject: Re: [Vala] Iterating over enums
- Date: Tue, 13 Dec 2011 14:26:46 +0100
I like that. Please open a bug^hfeature suggestion on bugzilla,
so we can further discuss there.
I was aware of this post, I was looking for a solution however, which
would not require the manual and therefore error prone maintenance of an
array:
public static Suit[] all() {
return { SPADE, HEART, DIAMOND, CLUB };
Cheers,
:M:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]