[Vala] Iterator for GLib.List?
- From: JM <interflug1 gmx net>
- To: vala-list gnome org
- Cc: vala-list <vala-list gnome org>
- Subject: [Vala] Iterator for GLib.List?
- Date: Sat, 31 Jul 2010 10:28:47 +0200
Hello
GLib.List<T> can be used with foreach(T t in list) in vala. This is
possible even without having an Iterator iterator(). So it looks like
this is not coming from methods with syntax support as mentioned in the
tutorial.
Is there some special code for GLib.List in vala and if so, is there a
possibility to use it for custom code (like for a node like object that
has children chained to each other like in a double-linked list)?
Regards
Jörn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]