Replying to myself :)

On 12/11/2011 10:32 PM, Antono Vasiljev wrote:

foreach (var e in hash.entries) {
// THIS IS PSEUDOCODE
if (e.value.type == typeof(int)) {
counter += e.value;
}
}

if (e.value.holds(typeof(string)))

http://www.valadoc.org/gobject-2.0/GLib.Value.html

_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to