[Vala] [PATCH] enum: foreach capability



Hi,

Please consider applying the attached patch. It adds support for
using foreach with enums like this (and closes #624691):

foreach (Enum e in Enum.all_values) {
    stdout.printf ("%s\n", e.to_string ());
}

-- Sebastian

Attachment: enum-foreach.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature



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