Re: [Vala] No foreach through HashMap<string, string> ?



Hi Al,

Gesendet: Montag, 07. September 2015 um 19:33 Uhr
Von: "Al Thomas"
An: Vala-list <vala-list gnome org>
[...]
foreach(Gee.Map.Entry<string, string> bar in foo){}
would be


foreach(var bar in foo.entries){}

Ok, this is embarrassing. I even checked against working examples of my own and instead of noting the member 
".entries" I started suspecting all kinds of different stuff. Guess I got codeblind. Glad there's still 
someone who woke me up.

Thanks again and sorry for this.

gilzad


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